Spark Logic

HX8357B TFT LCD controller pinout

The HX8357B drives a 320 × 480 TFT. The CFAF320480C4-035T module exposes selectable host interfaces and six separate LED backlight returns.

CFAF320480C4-035T · FPC-50

50 contacts Current package

Himax Technologies·

CFAF320480C4-035T · FPC-50 pinout

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 · Link to this pin

Wire the Crystalfontz module for 3-wire SPI

  • +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
  • 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

Connection guide

All 50 pins

PinSignalDirectionFunction
1GND Supply returnSupply return Connect to host ground.
2VLOGIC I/O Supply inputSupply input Digital interface supply.
3VLOGIC I/O Supply inputSupply input Digital interface supply.
4VANALOG Supply inputSupply input Analog supply.
5VANALOG Supply inputSupply input Analog supply.
6IM0 InputInput Tie high for 3- or 4-wire SPI.
7IM1 InputInput Tie low for 3-wire SPI or high for 4-wire SPI.
8IM2 InputInput Tie high for 3- or 4-wire SPI.
9RST InputInput 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.
10VSYNC InputInput Vertical synchronization. Tie high when unused.
11HSYNC InputInput Horizontal synchronization. Tie high when unused.
12PCLK InputInput Pixel clock in RGB mode. Ground when unused.
13DE InputInput Data enable in RGB mode. Ground when unused.
14DB17 BidirectionalBidirectional Parallel data bit. Tie to GND (VSSD) when unused.
15DB16 BidirectionalBidirectional Parallel data bit. Tie to GND (VSSD) when unused.
16DB15 BidirectionalBidirectional Parallel data bit. Tie to GND (VSSD) when unused.
17DB14 BidirectionalBidirectional Parallel data bit. Tie to GND (VSSD) when unused.
18DB13 BidirectionalBidirectional Parallel data bit. Tie to GND (VSSD) when unused.
19DB12 BidirectionalBidirectional Parallel data bit. Tie to GND (VSSD) when unused.
20DB11 BidirectionalBidirectional Parallel data bit. Tie to GND (VSSD) when unused.
21DB10 BidirectionalBidirectional Parallel data bit. Tie to GND (VSSD) when unused.
22DB9 BidirectionalBidirectional Parallel data bit. Tie to GND (VSSD) when unused.
23DB8 BidirectionalBidirectional Parallel data bit. Tie to GND (VSSD) when unused.
24DB7 BidirectionalBidirectional Parallel data bit. Tie to GND (VSSD) when unused.
25DB6 BidirectionalBidirectional Parallel data bit. Tie to GND (VSSD) when unused.
26DB5 BidirectionalBidirectional Parallel data bit. Tie to GND (VSSD) when unused.
27DB4 BidirectionalBidirectional Parallel data bit. Tie to GND (VSSD) when unused.
28DB3 BidirectionalBidirectional Parallel data bit. Tie to GND (VSSD) when unused.
29DB2 BidirectionalBidirectional Parallel data bit. Tie to GND (VSSD) when unused.
30DB1 BidirectionalBidirectional Parallel data bit. Tie to GND (VSSD) when unused.
31DB0 BidirectionalBidirectional Parallel data bit. Tie to GND (VSSD) when unused.
32GND Supply returnSupply return Connect to host ground.
33MISO OutputOutput Serial data return. Leave open in the 3-wire fixture and whenever unused.
34MOSI InputInput Serial write data. In 3-wire mode each byte starts with a D/C bit. Tie to GND (VSSD) when unused.
35RD InputInput Parallel read strobe. Tie to VLOGIC I/O when unused.
36WR_SCK InputInput Serial clock in SPI mode or write strobe in parallel mode. Tie to VLOGIC I/O when unused.
37DC InputInput In 4-wire SPI, drive low for commands and high for data. Tie to VLOGIC I/O in 3-wire SPI or when unused.
38CS InputInput Active-low controller select.
39NC NoneNone Reserved contact. Leave open.
40NC NoneNone Reserved contact. Leave open.
41NC NoneNone Reserved contact. Leave open.
42NC NoneNone Reserved contact. Leave open.
43A1 Supply inputSupply input Common anode for the module backlight.
44LEDK1 LED cathodeLED cathode Use a separate current-limited return for this backlight branch.
45LEDK2 LED cathodeLED cathode Use a separate current-limited return for this backlight branch.
46LEDK3 LED cathodeLED cathode Use a separate current-limited return for this backlight branch.
47LEDK4 LED cathodeLED cathode Use a separate current-limited return for this backlight branch.
48LEDK5 LED cathodeLED cathode Use a separate current-limited return for this backlight branch.
49LEDK6 LED cathodeLED cathode Use a separate current-limited return for this backlight branch.
50GND Supply returnSupply return Connect to host ground.

Signal assignments

3-wire SPI

IM2:IM0 = 101. Writes use nine bits per frame. Send D/C first, then the byte MSB first. Tie the separate DC pin high.

Electrical limits

ParameterLimitConditions and source
Shared analog and interface rail3.3 V fixture3.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, §§ 5–6, 8 and 10.
Panel pixels320 × 480320 × 480 Portrait coordinates. Crystalfontz CFAF320480C4-035T datasheet, 2017-09-07, §§ 5–6, 8 and 10.
Backlight120 mA typical total120 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, §§ 5–6, 8 and 10.

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.