Display SPI
The host sends the clock and display data. The separate D/C line distinguishes command or register index from data.
The HX8357B drives a 320 × 480 TFT. The CFAF320480C4-035T module exposes selectable host interfaces and six separate LED backlight returns.
Host serial data input.
| Pin | Signal | Direction | Function |
|---|---|---|---|
| 1 | GND Supply return | Supply return | Connect to host ground. |
| 2 | VLOGIC I/O Supply input | Supply input | Digital interface supply. |
| 3 | VLOGIC I/O Supply input | Supply input | Digital interface supply. |
| 4 | VANALOG Supply input | Supply input | Analog supply. |
| 5 | VANALOG Supply input | Supply input | Analog supply. |
| 6 | IM0 Input | Input | Interface mode strap. Tie high for 4-wire SPI. |
| 7 | IM1 Input | Input | Interface mode strap. Tie high for 4-wire SPI. |
| 8 | IM2 Input | Input | Interface mode strap. Tie high for 4-wire SPI. |
| 9 | RST Input | Input | Active-low reset after power-up. |
| 10 | VSYNC Input | Input | Vertical synchronization. Tie high when unused. |
| 11 | HSYNC Input | Input | Horizontal synchronization. Tie high when unused. |
| 12 | PCLK Input | Input | Pixel clock in RGB mode. Ground when unused. |
| 13 | DE Input | Input | Data enable in RGB mode. Ground when unused. |
| 14 | DB17 Bidirectional | Bidirectional | Parallel data bit 17. |
| 15 | DB16 Bidirectional | Bidirectional | Parallel data bit 16. |
| 16 | DB15 Bidirectional | Bidirectional | Parallel data bit 15. |
| 17 | DB14 Bidirectional | Bidirectional | Parallel data bit 14. |
| 18 | DB13 Bidirectional | Bidirectional | Parallel data bit 13. |
| 19 | DB12 Bidirectional | Bidirectional | Parallel data bit 12. |
| 20 | DB11 Bidirectional | Bidirectional | Parallel data bit 11. |
| 21 | DB10 Bidirectional | Bidirectional | Parallel data bit 10. |
| 22 | DB9 Bidirectional | Bidirectional | Parallel data bit 9. |
| 23 | DB8 Bidirectional | Bidirectional | Parallel data bit 8. |
| 24 | DB7 Bidirectional | Bidirectional | Parallel data bit 7. |
| 25 | DB6 Bidirectional | Bidirectional | Parallel data bit 6. |
| 26 | DB5 Bidirectional | Bidirectional | Parallel data bit 5. |
| 27 | DB4 Bidirectional | Bidirectional | Parallel data bit 4. |
| 28 | DB3 Bidirectional | Bidirectional | Parallel data bit 3. |
| 29 | DB2 Bidirectional | Bidirectional | Parallel data bit 2. |
| 30 | DB1 Bidirectional | Bidirectional | Parallel data bit 1. |
| 31 | DB0 Bidirectional | Bidirectional | Parallel data bit 0. |
| 32 | GND Supply return | Supply return | Connect to host ground. |
| 33 | MISO Output | Output | Serial data return. Leave open for a write-only host. |
| 34 | MOSI Input | Input | Host serial data input. |
| 35 | RD Input | Input | Parallel read strobe. Tie to VLOGIC I/O in the serial fixture. |
| 36 | WR_SCK Input | Input | Serial clock in SPI mode or write strobe in parallel mode. |
| 37 | DC Input | Input | Low for a command and high for data. |
| 38 | CS Input | Input | Active-low controller select. |
| 39 | NC None | None | Reserved contact. Leave open. |
| 40 | NC None | None | Reserved contact. Leave open. |
| 41 | NC None | None | Reserved contact. Leave open. |
| 42 | NC None | None | Reserved contact. Leave open. |
| 43 | A1 Supply input | Supply input | Common anode for the module backlight. |
| 44 | LEDK1 LED cathode | LED cathode | Use a separate current-limited return for this backlight branch. |
| 45 | LEDK2 LED cathode | LED cathode | Use a separate current-limited return for this backlight branch. |
| 46 | LEDK3 LED cathode | LED cathode | Use a separate current-limited return for this backlight branch. |
| 47 | LEDK4 LED cathode | LED cathode | Use a separate current-limited return for this backlight branch. |
| 48 | LEDK5 LED cathode | LED cathode | Use a separate current-limited return for this backlight branch. |
| 49 | LEDK6 LED cathode | LED cathode | Use a separate current-limited return for this backlight branch. |
| 50 | GND Supply return | Supply return | Connect to host ground. |
The host sends the clock and display data. The separate D/C line distinguishes command or register index from data.
RGB video timing and data-bus width depend on the mode straps and initialization.
| Parameter | Limit | Conditions and source |
|---|---|---|
| Shared analog and interface rail3.3 V fixture | 3.3 V fixture | The reference design uses a single regulated 3.3 V rail for the four power contacts. Crystalfontz CFAF320480C4-035T datasheet, 2017-09-07, §§ 6, 8 and 10. |
| Panel pixels320 × 480 | 320 × 480 | Portrait coordinates. Crystalfontz CFAF320480C4-035T datasheet, 2017-09-07, §§ 6, 8 and 10. |
| Backlight120 mA typical total | 120 mA typical total | Six individual returns, 3.2 V typical forward voltage. Use independent current limiting per branch. Crystalfontz CFAF320480C4-035T datasheet, 2017-09-07, §§ 6, 8 and 10. |
This map applies to the Crystalfontz non-touch FPC-50 module with HX8357B or a documented compatible controller. The touch-panel version has different assignments on contacts 39–42.