Connect TFT display JD-T18003-T01 to XMOS XK-1A

New to XMOS and XCore? Get started here.
Post Reply
User avatar
feniksa
Member++
Posts: 22
Joined: Tue Apr 03, 2012 1:12 pm

Connect TFT display JD-T18003-T01 to XMOS XK-1A

Post by feniksa »

I am trying to connect to my Xmos XK-1A board color display . It looks that this board is simple SPI... but I am not sure

Image Image

Here it is link to datasheet for this board: JD-T18003-T01

But i got stuck with circuit. What pins and how I should connect this display to XK-1A ?

I am really got stuck :-(


User avatar
Bianco
XCore Expert
Posts: 754
Joined: Thu Dec 10, 2009 6:56 pm
Contact:

Post by Bianco »

Looks like there are two SPI interfaces, one for the SD card, and another for the TFT.
The SPI interface for TFT has 4 lines (MOSI, SCK, CS, A0)

You will have to connect A0, RESET, SDA, SCK, CS (the non-SD one) to 1-bit ports on the XK-1A.
Connect LED+ to 3.3V and LED- to ground.

Then you can communicate with the display using 8-bit SPI and before every transfer you set A0 to 0 when you send a command and to 1 when you send data. (See the example code, where A0 is named RS (same as D/CX))
User avatar
feniksa
Member++
Posts: 22
Joined: Tue Apr 03, 2012 1:12 pm

Post by feniksa »

Bianco thanks, I will try to connect as you said.
User avatar
feniksa
Member++
Posts: 22
Joined: Tue Apr 03, 2012 1:12 pm

Post by feniksa »

Also, VCC is 5v with disconnected JP1 ?!? Just don't want to burn TFT :-)
User avatar
Bianco
XCore Expert
Posts: 754
Joined: Thu Dec 10, 2009 6:56 pm
Contact:

Post by Bianco »

Yup you can use 5V when JP1 is open. It will use the regulator to generate 3.3V.
When JP1 is closed, the input and output of the regulator is shorted and you can only use 3.3V.
User avatar
feniksa
Member++
Posts: 22
Joined: Tue Apr 03, 2012 1:12 pm

Post by feniksa »

Bianco Thanks :-)
Post Reply