2018-10-03 10:44 AM
Hello,
I am trying to set up CUBEMX so that it can support LCD display for the STM32F469i-Discovery board.
Unfortunately I had no luck in making the correct configurations to enable the LCD display or find an example project for the STM32 ac6 or maybe a .ioc file with LCD setings.
Is there anyone familiar with LCD on
STM32F469i?
What are the correct configurations?
Thank you!
2018-10-04 02:08 AM
Hello @rkhri ,
I recommend you to have a look at the examples provided in the STM32CubeF4 firmware package which can be a starting point to learn about programming and configure your application on SW4STM32 IDE:
STM32Cube_FW_F4_V1.21.0\Drivers\BSP\STM32469I-Discovery\stm32469i_discovery_lcd.c
STM32Cube_FW_F4_V1.21.0\Projects\STM32469I-Discovery\Applications\Display\LCD_Paint
STM32Cube_FW_F4_V1.21.0\Projects\STM32469I-Discovery\Applications\STemWin
You can find more details about LCD configuration provided in the AN4323 application note, section “How to use STemWin Library step by step�?.
I invite you to follow this FAQ : Create a basic Graphical Application using CubeMX
Hope this helps you.
Kind Regards,
Imen.
2018-10-04 03:45 PM
thank's i too hope this
2018-10-04 04:03 PM
but i programming in keil uvision
2018-10-04 04:06 PM
can it be possible to give a finished project in MXCube under stm32f469? And if not difficult in keil with drawing just a line and a given background color!
2018-10-04 04:07 PM
Please)))))
2018-10-12 12:26 AM
Hello @rkhri,
You can get inspired from the examples available under STM32CubeF4 firmware package with Keil IDE: STM32Cube_FW_F4_V1.21.0\Projects\STM32469I-Discovery\Applications\STemWin\STemWin_fonts\MDK-ARM
Best Regards,
Imen.
2018-10-15 09:40 AM
Hi! this examples used GUI and BSP libraries. it's very hard code. For me very interesting standart examples code whith only standart HAL libraries. And this is examples without CubeMX examples!!!
2018-10-15 12:48 PM
While it might be nice to see CubeMX extrude a monolithic lump of code I somehow don't expect to see it happen.
There are a lot of inter-related things that must be set up properly for the whole to work, the BSP and component level abstractions make sense for ST, and CubeMX at some point might spit out some stitched together boiler-plate code in a similar fashion.
If you really need it to be just HAL code, and I think the BSP code uses HAL, you're going to have to cherry pick through the various components and stitch together a minimal monolithic source file. I think the interactions and interplay here are quite complex (CLOCKS, SDRAM, LTDC, DSI, etc), and it would cost a lot to provide it in that form.
Perhaps start with simpler projects that don't use the GUI, clone one of those and strip out the parts you don't need.
Perhaps the DMA2D or DSI examples
STM32Cube_FW_F4_V1.21.0\Projects\STM32469I-Discovery\Examples\LCD_DSI
STM32Cube_FW_F4_V1.21.0\Projects\STM32469I-Discovery\Applications\Display\LCD_DSI_ImagesSlider
STM32Cube_FW_F4_V1.21.0\Projects\STM32469I-Discovery\Applications\Display\LCD_Paint
2018-10-16 12:06 PM
Thanks. you can, I'll be unbearable. Can someone give me an elementary example. the finished project in Keil which will include 1 pixel on this Board and the project in CubeMX from which the project was obtained in keil.