Display SPI
The host sends the clock and display data. The separate D/C line distinguishes command or register index from data.
The HX8357C drives a 320 × 480 TFT. The Tianma TM035PDH03 brings mode straps, MCU and RGB signals, and the backlight out on a 45-contact flex cable.
Parallel data bit 17.
| Pin | Signal | Direction | Function |
|---|---|---|---|
| 1 | FLM Output | Output | Frame marker output. Leave open when unused. |
| 2 | GND Supply return | Supply return | Connect to host ground. |
| 3 | ENABLE Input | Input | RGB data enable. Ground when unused. |
| 4 | DOTCLK Input | Input | RGB pixel clock. Ground when unused. |
| 5 | VSYNC Input | Input | RGB frame sync. Ground when unused. |
| 6 | GND Supply return | Supply return | Connect to host ground. |
| 7 | HSYNC Input | Input | RGB line sync. Ground when unused. |
| 8 | IM0 Input | Input | Host interface strap. Tie high for DBI Type C Option 3. |
| 9 | IM1 Input | Input | Host interface strap. Tie high for DBI Type C Option 3. |
| 10 | IM2 Input | Input | Host interface strap. Tie high for DBI Type C Option 3. |
| 11 | IOVCC Supply input | Supply input | Digital interface supply. |
| 12 | VCC Supply input | Supply input | Analog panel supply. |
| 13 | SDI Bidirectional | Bidirectional | Serial host data. The data direction depends on the selected serial mode. |
| 14 | SDO Output | Output | Serial data output. Connect only to a host input when using this line. |
| 15 | DB17 Bidirectional | Bidirectional | Parallel data bit 17. |
| 16 | DB16 Bidirectional | Bidirectional | Parallel data bit 16. |
| 17 | DB15 Bidirectional | Bidirectional | Parallel data bit 15. |
| 18 | DB14 Bidirectional | Bidirectional | Parallel data bit 14. |
| 19 | DB13 Bidirectional | Bidirectional | Parallel data bit 13. |
| 20 | DB12 Bidirectional | Bidirectional | Parallel data bit 12. |
| 21 | DB11 Bidirectional | Bidirectional | Parallel data bit 11. |
| 22 | DB10 Bidirectional | Bidirectional | Parallel data bit 10. |
| 23 | DB9 Bidirectional | Bidirectional | Parallel data bit 9. |
| 24 | DB8 Bidirectional | Bidirectional | Parallel data bit 8. |
| 25 | DB7 Bidirectional | Bidirectional | Parallel data bit 7. |
| 26 | DB6 Bidirectional | Bidirectional | Parallel data bit 6. |
| 27 | DB5 Bidirectional | Bidirectional | Parallel data bit 5. |
| 28 | DB4 Bidirectional | Bidirectional | Parallel data bit 4. |
| 29 | DB3 Bidirectional | Bidirectional | Parallel data bit 3. |
| 30 | DB2 Bidirectional | Bidirectional | Parallel data bit 2. |
| 31 | DB1 Bidirectional | Bidirectional | Parallel data bit 1. |
| 32 | DB0 Bidirectional | Bidirectional | Parallel data bit 0. |
| 33 | /RESET Input | Input | Active-low hardware reset. |
| 34 | RD Input | Input | Parallel read strobe. Tie to IOVCC when unused. |
| 35 | /WR/SCL Input | Input | Parallel write strobe or serial clock. |
| 36 | RS Input | Input | Data and command selection. |
| 37 | /CS Input | Input | Active-low panel select. |
| 38 | LEDK6 LED cathode | LED cathode | Use a separate current-limited return for this backlight branch. |
| 39 | LEDK5 LED cathode | LED cathode | Use a separate current-limited return for this backlight branch. |
| 40 | LEDK4 LED cathode | LED cathode | Use a separate current-limited return for this backlight branch. |
| 41 | LEDK3 LED cathode | LED cathode | Use a separate current-limited return for this backlight branch. |
| 42 | LEDK2 LED cathode | LED cathode | Use a separate current-limited return for this backlight branch. |
| 43 | LEDK1 LED cathode | LED cathode | Use a separate current-limited return for this backlight branch. |
| 44 | LEDA Supply input | Supply input | Common anode for the module backlight. |
| 45 | LCM_ID Output | Output | Module identification output listed as 1.8 V. |
The host sends the clock and display data. The separate D/C line distinguishes command or register index from data.
The datasheet defines separate 8-, 9-, 16-, and 18-bit modes. Match the data-bit assignments to the mode strap and write type.
| Parameter | Limit | Conditions and source |
|---|---|---|
| Analog VCC2.5–3.3 V | 2.5–3.3 V | 2.8 V typical. Tianma TM035PDH03 V1.0, §§ 2, 4 and 5. Manufacturer PDF hosted by Datasheet4U. |
| Logic IOVCC1.65–3.3 V | 1.65–3.3 V | 2.8 V typical. The example uses 3.3 V logic and power. Tianma TM035PDH03 V1.0, §§ 2, 4 and 5. Manufacturer PDF hosted by Datasheet4U. |
| Backlight6 × 20 mA typical | 6 × 20 mA typical | 3.2 V typical per LED branch. Drive through independent current sinks. Tianma TM035PDH03 V1.0, §§ 2, 4 and 5. Manufacturer PDF hosted by Datasheet4U. |
This map applies to the Tianma TM035PDH03 and its 0.3 mm pitch FPC. The module datasheet specifies the controller interface timing and strap settings.