Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 4 months ago.
SPI bus not communicating...
Hi, I was using HDA280-3S1(ILI9341) for mbedLPC1768.Communication was via SPI. The LCD was working fine as per the set of code given as reference in your website.Due to unavailability of the LCD, I have purchased a different LCD (ER-TFT028-4)with the same ILI9341 controller inside.The reference code is given in this link http://www.buydisplay.com/download/democode/ER-TFT028-4_4-Wire_SPI_DemoCode.txt This code is written for 89LV51.What change do I have to make while compiling the code for Mbed LPC1768...? Do I have to add pull ups for the SPI lines in LPC1768.? If so what value of resistor have to be connected to mosi & miso lines?Please advice.
1 Answer
10 years, 4 months ago.
SPI does not require pull ups, and if it has the same controller you can use the same library. Do make sure it is in SPI mode, those controllers generally can operate in different modes.
Can I make a new Library..? With the same commands in the program as attached in the link I am not getting output...https://mbed.org/users/dreschpe/code/TFT_Test_ILI9341/
posted by 19 Aug 2014You can make a new library, but it is unlikely that is going to make a difference.
posted by 19 Aug 2014If you go through the code http://www.buydisplay.com/download/democode/ER-TFT028-4_4-Wire_SPI_DemoCode.txt , you can find that the SPI communication has happened through GPIO pins of 89LV52.So how to convert that logic to MOSI MISO SCLK( SPI pins).
posted by 19 Aug 2014