![]() |
Forum Index : Microcontroller and PC projects : Support for ILI9341 8 bit ARM H7
Author | Message | ||||
HardingJohn![]() Regular Member ![]() Joined: 28/07/2017 Location: AustraliaPosts: 78 |
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: AustraliaPosts: 78 |
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 KingdomPosts: 10170 |
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. |
||||
HardingJohn![]() Regular Member ![]() Joined: 28/07/2017 Location: AustraliaPosts: 78 |
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 KingdomPosts: 10170 |
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: AustraliaPosts: 78 |
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 KingdomPosts: 10170 |
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: AustraliaPosts: 78 |
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 KingdomPosts: 10170 |
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: AustraliaPosts: 78 |
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 KingdomPosts: 10170 |
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 |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |