I would like to know if any of you have made or got any working code snippets to get started with the ILI9320 connected to a STM32F103? I just finished my project using a Nokia 6610 display with the Epson controller, but as I've got this 2.4'' ILI9320 controlled QTFT display, I want to experiment with that too :) Best Regards Thomas Jespersen
Much depends on how/where your 2.4'' TFT originated. On STM eval kits there are 2 possible pcbs - which hold/connect the TFT. (one for serial SPI, other for 16 bit parallel)
Should you have the TFT supplied by ST - you can ''re-configure'' it to either SPI or parallel input! (can't recall if you can select between 8/16 bits) This is done by re-populating a few smt Rs on the flex pcb exiting the TFT. Tell us the vendor of your 2.4'' - or post spec and we may be able to help further.
You are right... The code for both of them includes some ILI9320 code, but the STM3210B-EVAL is not parrallel interfacing with the LCD, which the ILI9320 does!
But the STM3210E-EVAL is the right one, just one slightly change... My ILI9320 display is running 8-bit, not 16-bit as the display on the STM3210E-EVAL is doing! Is it possible to change this is the code? And where? :D
Thank you - appears there are just 10 more of that 2.4 TFT - thus ''application review/support'' is hard to justify.
Suggest that you acquire ST's B or E eval board - these have been exhaustively designed to purpose - imho they will save you days/weeks of effort and enable you to properly focus on your application...
I'm trying to display images on the LCD screen (ILI9329) using an STM32F103ZET6, the problem that I couldn't display colored pictures, I used the ''LCD_WriteBMP function'' for that and I tried with monochrome pictures and it worked well using the ''LCD_DrawMonoBMP function'' which is provided for displaying monochrome BMPs.(these functions are from the demo's in the STonline) Actually, I convert the images into an hex code using a software called the Hex Workshop then I put the image as a const like this for example: const unsigned char IMAGE[] :{ 0x00, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, }; an then in the call of the function : LCD_WriteBMP((u32) IMAGE); // if it's a colored picture //
LCD_DrawMonoBMP((u32) IMAGE); // if it's a monochrome picture //
the monochrome picture displayed corretly but the colored one is not clear.
Please if there is any idea to help me I would be very gratefull.
I'm trying to display images on the LCD screen (ILI9329) using an STM32F103ZET6, the problem that I couldn't display colored pictures, I used the ''LCD_WriteBMP function'' for that and I tried with monochrome pictures and it worked well using the ''LCD_DrawMonoBMP function'' which is provided for displaying monochrome BMPs.(these functions are from the demo's in the STonline) Actually, I convert the images into an hex code using a software called the Hex Workshop then I put the image as a const like this for example: const unsigned char IMAGE[] :{ 0x00, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, }; an then in the call of the function : LCD_WriteBMP((u32) IMAGE); // if it's a colored picture //
LCD_DrawMonoBMP((u32) IMAGE); // if it's a monochrome picture //
the monochrome picture displayed corretly but the colored one is not clear.
Please if there is any idea to help me I would be very gratefull.