4.3.2 Interface Selector
maXTouch Xplained Pro features a 3-way DIP-switch that is used for configuring the display interface mode. Setting the switch positions to ON, will result in a high level (1) for the IMx line. See the table below for interface mode settings.
| IM2 | IM1 | IM0 | Interface | Pins in use |
|---|---|---|---|---|
| 0 | 0 | 0 | 18-bit parallel bus | DB[17:0], CS, D/C, WE, RE |
| 0 | 0 | 1 | 9-bit parallel bus | DB[8:0], CS, D/C, WE, RE |
| 0 | 1 | 0 | 16-bit parallel bus | DB[15:0], CS, D/C, WE, RE |
| 0 | 1 | 1 | 8-bit parallel bus | DB[7:0], CS, D/C, WE, RE |
| 1 | 0 | 1 | 18-bit RGB parallel mode(1) | DB[17:0], HSYNC, VSYNC, PCLK, DE, MOSI, MISO, SCLK, CS |
| 1 | 0 | 1 | 3-wire/9-bit SPI mode(1) | MOSI, MISO, SCLK, CS |
| 1 | 1 | 1 | 4-wire/8-bit SPI mode | MOSI, MISO, SCLK, CS, D/C |
Note:
- The setting for RGB parallel mode and 3-wire SPI is the same. To be able to use the RGB mode, the internal configuration registers needs to be set correctly using 3-wire SPI.
