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?.
PRODUCT ID: 1601 for General SPI interface
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- kumaresant
- Posts: 16
- Joined: Thu Sep 18, 2014 11:18 am
- Franklin97355
- Posts: 23940
- Joined: Mon Apr 21, 2008 2:33 pm
Re: PRODUCT ID: 1601 for General SPI interface
and there is also this option but you would have to create your own interface.Uses the hardware SPI pins (SCK, MOSI, MISO, CE0, CE1) as well as GPIO #25 and #24.
- kumaresant
- Posts: 16
- Joined: Thu Sep 18, 2014 11:18 am
Re: PRODUCT ID: 1601 for General SPI interface
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?.
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?.
- Franklin97355
- Posts: 23940
- Joined: Mon Apr 21, 2008 2:33 pm
Re: PRODUCT ID: 1601 for General SPI interface
Here is the Datasheet page 11 covers the pins.
- kumaresant
- Posts: 16
- Joined: Thu Sep 18, 2014 11:18 am
Re: PRODUCT ID: 1601 for General SPI interface
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.
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.
- Franklin97355
- Posts: 23940
- Joined: Mon Apr 21, 2008 2:33 pm
- kumaresant
- Posts: 16
- Joined: Thu Sep 18, 2014 11:18 am
Re: PRODUCT ID: 1601 for General SPI interface
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.
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 (17 KiB) Viewed 1135 times
- Franklin97355
- Posts: 23940
- Joined: Mon Apr 21, 2008 2:33 pm
Re: PRODUCT ID: 1601 for General SPI interface
It is an Eagle file. If Altium has an import feature that might work or you can download a free version of Eagle here.
- kumaresant
- Posts: 16
- Joined: Thu Sep 18, 2014 11:18 am
Re: PRODUCT ID: 1601 for General SPI interface
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.
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.
- Franklin97355
- Posts: 23940
- Joined: Mon Apr 21, 2008 2:33 pm
Re: PRODUCT ID: 1601 for General SPI interface
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.
- kumaresant
- Posts: 16
- Joined: Thu Sep 18, 2014 11:18 am
Re: PRODUCT ID: 1601 for General SPI interface
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...
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...
- kumaresant
- Posts: 16
- Joined: Thu Sep 18, 2014 11:18 am
Re: PRODUCT ID: 1601 for General SPI interface
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.
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.
- adafruit2
- Posts: 22200
- Joined: Fri Mar 11, 2005 7:36 pm
Re: PRODUCT ID: 1601 for General SPI interface
1. Nokumaresant 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.
2. Yes
3. We have not tested it with 30cm cable
Please be positive and constructive with your questions and comments.