Spark Logic

HX8357B TFT LCD controller connection guide

HX8357B TFT LCD controller (CFAF320480C4-035T · FPC-50) connection guide. Wire the Crystalfontz module for 3-wire SPI. Wire the Crystalfontz module for 4-wire SPI.

CFAF320480C4-035T · FPC-50

50 contacts Current package

Himax Technologies·

Connection scenarios

Wire the Crystalfontz module for 4-wire SPI

Set IM2:IM0 to 111 and drive DC from the host. Leave MISO open for write-only operation or connect it to the host input for reads. Connect all supply and ground contacts and use six current-limited sinks on the common-anode backlight.

  • +3.3 V
    • Host 3.3 V
  • Ground
    • Host ground
    • Backlight driver ground
  • Reset
    • →
    • Host reset
  • Chip select
    • →
    • Host CS
  • Clock
    • →
    • Host SCK
  • Host data
    • →
    • Host MOSI
  • Command / data
    • →
    • Host D/C
  • Backlight anode
    • Backlight supply output
  • Backlight branch 1
    • Constant-current sink 1 · 20 mA typical
  • Backlight branch 2
    • Constant-current sink 2 · 20 mA typical
  • Backlight branch 3
    • Constant-current sink 3 · 20 mA typical
  • Backlight branch 4
    • Constant-current sink 4 · 20 mA typical
  • Backlight branch 5
    • Constant-current sink 5 · 20 mA typical
  • Backlight branch 6
    • Constant-current sink 6 · 20 mA typical

Bench checks

  • After power is applied, hold RST low for at least 10 µs, then drive it high to VLOGIC I/O. Wait at least 5 ms before sending commands and at least 120 ms before sending Sleep Out, measured from the rising edge. After a reset from Sleep Out, allow 120 ms for reset completion.
  • Verify eight clocks per byte with CS low and DC low for commands or high for parameters and pixel data.
  • Use the initialization for the HX8357-B version of this module and send a filled test window.

Crystalfontz CFAF320480C4-035T datasheet, 2017-09-07, §§ 5–6, 8 and 10. Himax HX8357-B Preliminary V01, § 4.2 (serial framing) and § 8.3.4, p. 187 (reset input timing).

CFAF320480C4-035T · FPC-50 wiring map

External wiring example · Wire the Crystalfontz module for 4-wire SPI

Highlighted contacts are used in this circuit. Select a contact to highlight its wiring nets.

Front view with the flex below the display, as shown on page 5. Contact 1 is on the right and the exposed pads face the front. Pitch: 0.5 mm.
Selected pin details

1 · GND

Supply return · Ground

Connect to host ground.

Crystalfontz CFAF320480C4-035T datasheet, 2017-09-07, §§ 5–6, 8 and 10.

Electrical limits · Pin in the reference

Models and documents

This map applies to the Crystalfontz non-touch FPC-50 module fitted with the HX8357-B. The touch-panel version has different assignments on contacts 39–42.

CFAF320480C4-035T
3.5-inch 320 × 480 display module without touch panel.