Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 05:37 27 Jun 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Support for ILI9341 8 bit ARM H7

Author Message
HardingJohn

Regular Member

Joined: 28/07/2017
Location: Australia
Posts: 78
Posted: 10:34am 18 Jan 2019
Copy link to clipboard 
Print this post

Would it be possible to add the LCDpanel ILI9341 320 x 200 in 8 bit mode. The current micromite ARM H7 firmware supports 16 bit, but not 8 bit, I believe??

thanks John
Just know enough to get me in trouble, but not quite enough to get me out.
 
HardingJohn

Regular Member

Joined: 28/07/2017
Location: Australia
Posts: 78
Posted: 10:37am 18 Jan 2019
Copy link to clipboard 
Print this post

That should read 320 x 240, oops. You know which one I mean anyway.

John
Just know enough to get me in trouble, but not quite enough to get me out.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10170
Posted: 01:59pm 18 Jan 2019
Copy link to clipboard 
Print this post

  Quote  Would it be possible to add the LCDpanel ILI9341 320 x 200 in 8 bit mode. The current micromite ARM H7 firmware supports 16 bit, but not 8 bit, I believe??


I could but if you are thinking you could use one of the Arduino format display PCBs to plug into the Nucleo header then that wouldn't work as I use a completely different pinout. Also, I allocate all 16 pins on the port even if you are using an 8-bit driver (e.g.SSD1963) so it wouldn't free up any pins.Edited by matherp 2019-01-20
 
HardingJohn

Regular Member

Joined: 28/07/2017
Location: Australia
Posts: 78
Posted: 11:51pm 18 Jan 2019
Copy link to clipboard 
Print this post

It would be good as I would like to free up the spi used for the display, sdcard, touch, which you have named spi5. You might also have to give spi5 access from the micromite firmware.

I use the STM32H743ZIT6 chip directly, not the Nucleo board.
Just know enough to get me in trouble, but not quite enough to get me out.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10170
Posted: 08:46am 19 Jan 2019
Copy link to clipboard 
Print this post

  Quote  It would be good as I would like to free up the spi used for the display, sdcard, touch, which you have named spi5.


SPI5 has nothing to do with the 8/16 bit issue. SPI5 pins are only allocated when you enable touch, sdcard, or an SPI display. I can't make SPI5 available from the firmware as there aren't enough command and functions slots available (another command and another function).
 
HardingJohn

Regular Member

Joined: 28/07/2017
Location: Australia
Posts: 78
Posted: 02:31pm 19 Jan 2019
Copy link to clipboard 
Print this post

Adding the 8 bit option must be too difficult or too time consuming for you. Sorry for taking up your time.

Keep up the good work. It is greatly appreciated.
Just know enough to get me in trouble, but not quite enough to get me out.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10170
Posted: 03:23pm 19 Jan 2019
Copy link to clipboard 
Print this post

  Quote  Adding the 8 bit option must be too difficult or too time consuming for you.


No, its trivial other than testing but I'm trying to understand what you are trying to achieve. It doesn't free up any H7 pins, it doesn't impact SPI5, it just runs slower. The only ILI9341 displays in 8-bit mode I'm aware of are in Arduino format, are incompatible with the Nucleo Arduino header and don't have a touch controller so it just seems like make-work unless you can explain differently
 
HardingJohn

Regular Member

Joined: 28/07/2017
Location: Australia
Posts: 78
Posted: 02:51am 20 Jan 2019
Copy link to clipboard 
Print this post

I was also hoping to use the ILIL9341 arduino format panels as they have a handy push button, and since I don't require touch, they make a cheap viable option. It would have been nice to free up another spi port, but since that is not possible, I can still share a port between a few peripherals.

Are you saying that 8 bit will run slower than spi for the panel?

thanks again for your valuable time.
Just know enough to get me in trouble, but not quite enough to get me out.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10170
Posted: 03:59pm 20 Jan 2019
Copy link to clipboard 
Print this post

OK then

2019-01-21_015216_Armmite1.3.zip

2019-01-21_015833_Armmite_H7_Manual.pdf

OPTION LCDPANEL ILI9341_8, orientation


Selects 8-bit bus operation of the ILI9341 display. Pin usage is exactly as per the SSD1963. Pins SSD1963_DB8 to SSD1963_D15 are allocated but not used. Uses a memory resident framebuffer to improve performance.




 
HardingJohn

Regular Member

Joined: 28/07/2017
Location: Australia
Posts: 78
Posted: 12:37pm 21 Jan 2019
Copy link to clipboard 
Print this post

Thanks Peter,
Greatly appreciated. Will let you know should any bugs appear.

Keep up the great work.
Just know enough to get me in trouble, but not quite enough to get me out.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10170
Posted: 01:49pm 21 Jan 2019
Copy link to clipboard 
Print this post

  Quote  Will let you know should any bugs appear.


Shouldn't be bugs in the driver as just a clone of others

HOWEVER, my display (pictured above) is set up very differently from the SPI versions. The display is inverted (black = white) and the memory readout is different. Both of these are simple initialisation changes but it is not impossible there are multiple variants of the display out there. Just had this issue with ST7735S displays and had to parameterise the driver (CSUB version) - less easy with in-built versions
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025