![]() |
Forum Index : Microcontroller and PC projects : ILI9341 Manual?
![]() ![]() |
|||||
Author | Message | ||||
VK2AHB Regular Member ![]() Joined: 28/07/2022 Location: AustraliaPosts: 51 |
Hi Jim, I am using the non_VGA firmware, PicoMiteV5.07.04.uf2 So when I did 1. OPTION SDCARD GP13, GP10, GP11, GP12 ** This is instruction on the VGA board From the manual, they are CS, CLK, MOSI, MISO So then I tried 2. OPTION SYSTEM SPI GP10, GP11, GP12 and got Pin 14 (GP10) is in use. Tried it the other way after RESET 3. OPTION SYSTEM SPI GP10, GP11, GP12 for CLK, MOSI, MISO then 4. OPTION SDCARD GP13 for CS 5. OPTION LCDPANEL ST7735, L, 24, 25, GP11 for DC, RST, CS (Except my display doesn't have DC. Message: Pin 15 is reserved on startup. >>>OPTION LCDPANEL ILI9341, orientation, DCpin, RESETpin, CSpin I'm using the ST7735, the ILI9341 is parallel according to someone and NG here. 6. OPTION LCDPANEL ST7735, L, 22, 21, 24 with MOSI pin GP11 (15) connected to SDA on the LCD, 21 on CS, 22 on *RS* and 24 on RST. GUI TEST LCDPANEL did nothing. > option list OPTION SYSTEM SPI GP10,GP11,GP12 OPTION LCDPANEL ST7735, LANDSCAPE,GP17,GP18,GP16 OPTION SDCARD GP13 Paul |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10315 |
Probably because RST and CS are the wrong way round - I assume you have also connected the SPI clock? RS==DC Edited 2022-09-05 17:25 by matherp |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
You were trying to use pin 15(GP11) for SYSTEM SPI and Lcdpanel CS. VK7JH MMedit |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
It took me a while to find it but RS stands for "Register Select" DC is the usual designation and simpler to remember - Data/Control LCD: GND : Power Ground VCC : 5V power input CS : Chipselect for LCD, SDA : LCD Data for SPI, connect to MOSI pin SCL : SCLK ,connect to SPI clock pin RS/DC : Command/Data Selection RES : LCD controller reset, active low SDcard: CS (SD-CS) : Chipselect for TF Card, SCLK (SD-Clock): SPI Clock MOSI (SD-DI) : SPI Master out Slave in MISO (SD-DO) : SPI Master in Slave out VK7JH MMedit |
||||
VK2AHB Regular Member ![]() Joined: 28/07/2022 Location: AustraliaPosts: 51 |
Ah!, it was the SPI CLK that was missing! THe other pins were OK, maybe I wrote them down here incorrectly. I now have masses of circles! ![]() Many thanks. It's not at all obvious for us Newbies what needs to go where. Is there a way of changing the LCDPANEL orientation option without resetting everything? Thanks again. Paul ![]() |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
The first thing to do is OPTION LIST and make a copy for future reference. OPTION LCDPANEL DISABLE then re-enter your display with the required orientation VK7JH MMedit |
||||
stanleyella![]() Guru ![]() Joined: 25/06/2022 Location: United KingdomPosts: 2567 |
Happy days you have got it working :) I do not know what you have got working though. There is an expression, "I have lost the thread". The hello world st7735, does it have anything to do with ili9341? "Hi Jim, I am using the non_VGA firmware, PicoMiteV5.07.04.uf2" I am to. ili9341 no problems, touch ,sd, graphics all seem fine. Is it the same but no touch screen? Edited 2022-09-06 03:30 by stanleyella |
||||
VK2AHB Regular Member ![]() Joined: 28/07/2022 Location: AustraliaPosts: 51 |
Hi, The thread strayed from the ILI9341 to the ST7735, the problems were the same in getting a display to work. I got the SSD1306I2C working OK, then it was the ST7735 that was the challenge. Finally got there. The two LCDs (photos above somewhere) that I have supposedly run as ILI9341 on the Arduino but I was told they won't work on the pico because they re parallel wiring? It's up the thread somewhere. Next job is to get the RTC, DS18B20 and DHT22 fired up and displaying. Paul |
||||
stanleyella![]() Guru ![]() Joined: 25/06/2022 Location: United KingdomPosts: 2567 |
ili9341 does work on arduino uno and nano 328p fine. It is the programming language and the driver support. I have seen the ili9341 data sheet and the list of "EQ" that needs setting up. You can see it in arduino c+ include lib and other systems as include glcd type. It is beyond me so credit to mmbasic for the driver. I think "parallel wiring" is sharing spi like touch clk, mosi, miso with the display and sd card mosi, miso, clk. |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
The ILI9341 modules are available in Parallel or SPI interface. Your modules as per the photos are parallel. Only the SPI versions are supported on the picomite. Jim VK7JH MMedit |
||||
stanleyella![]() Guru ![]() Joined: 25/06/2022 Location: United KingdomPosts: 2567 |
I understand parallel now. On 8 bit a whole port just for data. |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2642 |
There are MMBasic drivers for parallel LCDs on 'Mites that have enough pins to make it worthwhile. Eg. the ARMMite F4 is an affordable one which has a 'truck load' of pins. Assuming you can still get the modules. |
||||
stanleyella![]() Guru ![]() Joined: 25/06/2022 Location: United KingdomPosts: 2567 |
Eg. the ARMMite F4 is an affordable one which has a 'truck load' of pins. Assuming you can still get the modules. Would using a port expander defeat the speed increase from using a parallel port? |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7938 |
I suspect so - and you'd probably still have to write a driver. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |