4-wire serial
IM2:IM0 = 111 (DBI Type C Option 3). Send eight bits per write with D/C on RS.
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.
Frame marker output. Leave open when unused.
| 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 | Tie high for 3- or 4-wire serial. |
| 9 | IM1 Input | Input | Tie low for 3-wire serial or high for 4-wire serial. |
| 10 | IM2 Input | Input | Tie high for 3- or 4-wire serial. |
| 11 | IOVCC Supply input | Supply input | Digital interface supply. Apply IOVCC and VCC before hardware reset. |
| 12 | VCC Supply input | Supply input | Analog panel supply. Apply VCC and IOVCC before hardware reset. |
| 13 | SDI Bidirectional | Bidirectional | Serial write data and bidirectional data in 3-wire mode. Tie to GND when unused per § 2.1. |
| 14 | SDO Output | Output | Serial data output. Tianma § 2.1 specifies GND when unused. Confirm read wiring for this revision before issuing read commands. |
| 15 | DB17 Bidirectional | Bidirectional | Parallel data bit. Tie to GND when unused. |
| 16 | DB16 Bidirectional | Bidirectional | Parallel data bit. Tie to GND when unused. |
| 17 | DB15 Bidirectional | Bidirectional | Parallel data bit. Tie to GND when unused. |
| 18 | DB14 Bidirectional | Bidirectional | Parallel data bit. Tie to GND when unused. |
| 19 | DB13 Bidirectional | Bidirectional | Parallel data bit. Tie to GND when unused. |
| 20 | DB12 Bidirectional | Bidirectional | Parallel data bit. Tie to GND when unused. |
| 21 | DB11 Bidirectional | Bidirectional | Parallel data bit. Tie to GND when unused. |
| 22 | DB10 Bidirectional | Bidirectional | Parallel data bit. Tie to GND when unused. |
| 23 | DB9 Bidirectional | Bidirectional | Parallel data bit. Tie to GND when unused. |
| 24 | DB8 Bidirectional | Bidirectional | Parallel data bit. Tie to GND when unused. |
| 25 | DB7 Bidirectional | Bidirectional | Parallel data bit. Tie to GND when unused. |
| 26 | DB6 Bidirectional | Bidirectional | Parallel data bit. Tie to GND when unused. |
| 27 | DB5 Bidirectional | Bidirectional | Parallel data bit. Tie to GND when unused. |
| 28 | DB4 Bidirectional | Bidirectional | Parallel data bit. Tie to GND when unused. |
| 29 | DB3 Bidirectional | Bidirectional | Parallel data bit. Tie to GND when unused. |
| 30 | DB2 Bidirectional | Bidirectional | Parallel data bit. Tie to GND when unused. |
| 31 | DB1 Bidirectional | Bidirectional | Parallel data bit. Tie to GND when unused. |
| 32 | DB0 Bidirectional | Bidirectional | Parallel data bit. Tie to GND when unused. |
| 33 | /RESET Input | Input | Hold /RESET low for at least 10 µs. After release, wait at least 5 ms if reset began in SLPIN, or at least 120 ms if it began in SLPOUT. |
| 34 | RD Input | Input | Parallel read strobe. Tie to IOVCC when unused. |
| 35 | /WR/SCL Input | Input | Parallel write strobe or serial clock. Tie to IOVCC when unused. |
| 36 | RS Input | Input | Low for commands and high for data in 4-wire serial. In 3-wire serial, D/C is sent in-band. |
| 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 backlight anode. Enable the backlight after Display ON per § 5.5.1. |
| 45 | LCM_ID Output | Output | Module identification output listed as 1.8 V. |
IM2:IM0 = 111 (DBI Type C Option 3). Send eight bits per write with D/C on RS.
IM2:IM0 = 101 (DBI Type C Option 1). Send D/C first, followed by eight data bits. Figure 5.2.4 shows readback on SDI after the dummy clock.
See § 5.3 for RGB timing. Ground these inputs when unused per § 2.1.
IM2:IM0 = 000 for 18-bit, 001 for 9-bit, 010 for 16-bit and 011 for 8-bit. Commands and parameters use DB7:DB0. GRAM uses the low 18, 9, 16 or 8 data bits for the selected mode.
| 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.1, 4.3, 5.2–5.5.1 and 8. 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.1, 4.3, 5.2–5.5.1 and 8. 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.1, 4.3, 5.2–5.5.1 and 8. 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.