PRODUCT ID: 1601 for General SPI interface

Our weekly LIVE video chat. Every Wednesday at 8pm ET!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
kumaresant
 
Posts: 16
Joined: Thu Sep 18, 2014 11:18 am

PRODUCT ID: 1601 for General SPI interface

Post by kumaresant »

Hi,

I would like to use PiTFT - Assembled 320x240 2.8" TFT+Touchscreen for Raspberry Pi module for general SPI interface. I have a controller board with TI's processor having SPI interface and also the driver in Linux.

Is it possible to use the LCD module alone or Do we need use with Raspberry Pi only?.

User avatar
Franklin97355
 
Posts: 23938
Joined: Mon Apr 21, 2008 2:33 pm

Re: PRODUCT ID: 1601 for General SPI interface

Post by Franklin97355 »

Uses the hardware SPI pins (SCK, MOSI, MISO, CE0, CE1) as well as GPIO #25 and #24.
and there is also this option but you would have to create your own interface.

User avatar
kumaresant
 
Posts: 16
Joined: Thu Sep 18, 2014 11:18 am

Re: PRODUCT ID: 1601 for General SPI interface

Post by kumaresant »

Hi,

Thanks for clarification.

I have chosen 2.2" tft LCD,

https://www.adafruit.com/product/1480

The SPI interface require SLK, CS, MOSI, MISO and these can be connected to my controller for SPI communication (no issues). There is a pin for D/CX.

Please let me know what is the purpose of D/CX pin and any GPIO from Microcontroller can be connected?.

User avatar
Franklin97355
 
Posts: 23938
Joined: Mon Apr 21, 2008 2:33 pm

Re: PRODUCT ID: 1601 for General SPI interface

Post by Franklin97355 »

Here is the Datasheet page 11 covers the pins.

User avatar
kumaresant
 
Posts: 16
Joined: Thu Sep 18, 2014 11:18 am

Re: PRODUCT ID: 1601 for General SPI interface

Post by kumaresant »

Hi,

Thanks for the clarification.

I would like to fit the 2.2" LCD module in an enclosure.

Please provide the mechanical drawing with corner hole sizes and dimension.

Thanks.

User avatar
Franklin97355
 
Posts: 23938
Joined: Mon Apr 21, 2008 2:33 pm

Re: PRODUCT ID: 1601 for General SPI interface

Post by Franklin97355 »


User avatar
kumaresant
 
Posts: 16
Joined: Thu Sep 18, 2014 11:18 am

Re: PRODUCT ID: 1601 for General SPI interface

Post by kumaresant »

Hi,

I am not able to open the .brd file and .sch files but the .PNG file opens.

Please upload/provide the pdf/PNG files for schematics and board files (with measurements).

I tried opening the .brd files in Allegro and i got the error as shown in the attachment and .sch is not opening in Altium viewer.
Attachments
Allegro_error.jpg
Allegro_error.jpg (17 KiB) Viewed 1134 times

User avatar
Franklin97355
 
Posts: 23938
Joined: Mon Apr 21, 2008 2:33 pm

Re: PRODUCT ID: 1601 for General SPI interface

Post by Franklin97355 »

It is an Eagle file. If Altium has an import feature that might work or you can download a free version of Eagle here.

User avatar
kumaresant
 
Posts: 16
Joined: Thu Sep 18, 2014 11:18 am

Re: PRODUCT ID: 1601 for General SPI interface

Post by kumaresant »

HI,

I have downloaded the eagle and tried to open the .sch and .brd files, but i am getting following errors.

I tried import option also but getting same error.

But I am able to open the example project files like Adruino uno. Pls help to open the files.

Loading C:/Users/kumaresant/Desktop/tEMP/Adafruit-2.2-SPI-TFT-v0.2.brd ...

Error:

line 6, column 25: This is not an EAGLE file.


Loading C:/Users/kumaresant/Desktop/tEMP/Adafruit_2.2_SPI_240x320.sch ...

Error:

line 6, column 25: This is not an EAGLE file.

User avatar
Franklin97355
 
Posts: 23938
Joined: Mon Apr 21, 2008 2:33 pm

Re: PRODUCT ID: 1601 for General SPI interface

Post by Franklin97355 »

Not sure why it is not working for you. have you downloaded the zip file and unzipped it? I have been able to download from that link and open the file with Eagle 7 recently downloaded from the link I sent you. Try removing the zip and the unzipped files and trying again.

User avatar
kumaresant
 
Posts: 16
Joined: Thu Sep 18, 2014 11:18 am

Re: PRODUCT ID: 1601 for General SPI interface

Post by kumaresant »

Hi,

I am able to open the files now.

Previously i have downloaded the direct files and got error. Now i have downloaded the zip file.

Thank you...

User avatar
kumaresant
 
Posts: 16
Joined: Thu Sep 18, 2014 11:18 am

Re: PRODUCT ID: 1601 for General SPI interface

Post by kumaresant »

Hi,

I got the Adafruit display 2.2" tft LCD (1480) which i ordered. I will try to connect with AM3359 processor's SPI interface.

Queries:

1. Can the 2.2" tft LCD (1480) support to display the image (JPEG) without driving D/C pin but with SPI (SCLK, MOSI, MISO and CS) interface only?. If so, can I get the sample code for displaying the image with SPI signals.

2. If D/C required, Can i use a GPIO to connect it?.

3. As I am fitting it in enclosure, it requires 30 CM (1 feet) length cable from Processor board to LCD module. Please let me know whether you have tested with 30 CM cable?. I hope it works.

User avatar
adafruit2
 
Posts: 22187
Joined: Fri Mar 11, 2005 7:36 pm

Re: PRODUCT ID: 1601 for General SPI interface

Post by adafruit2 »

kumaresant wrote:Hi,

I got the Adafruit display 2.2" tft LCD (1480) which i ordered. I will try to connect with AM3359 processor's SPI interface.

Queries:

1. Can the 2.2" tft LCD (1480) support to display the image (JPEG) without driving D/C pin but with SPI (SCLK, MOSI, MISO and CS) interface only?. If so, can I get the sample code for displaying the image with SPI signals.

2. If D/C required, Can i use a GPIO to connect it?.

3. As I am fitting it in enclosure, it requires 30 CM (1 feet) length cable from Processor board to LCD module. Please let me know whether you have tested with 30 CM cable?. I hope it works.
1. No
2. Yes
3. We have not tested it with 30cm cable

Locked
Please be positive and constructive with your questions and comments.

Return to “Ask an Engineer! VIDEO CHAT (closed)”