[Question] How to configure cubeMX for touchgfx and supplemental touchscreen MB1315A on a STM32L4R9I-EVAL?
- May 28, 2021
- 3 replies
- 1935 views
Hi,
I'm absolutely failing to deploy a successful touchGFX UI on the MB1315A . I can get a touchgfx example deployed on the onboard 390x390 LCD. However, in order to deploy to alternative screens, the documentation says to go through CubeMX.
And so I went through cube MX. I setup the touchGFX generator, freeRTOS, and LTDC, and all other HW components, but it still fails.
I was following this documentation to try and deploy the touchGFX application.
- https://support.touchgfx.com/docs/4.15/development/touchgfx-hal-development/touchgfx-generator
- https://support.touchgfx.com/docs/4.15/development/touchgfx-hal-development/scenarios/scenarios-ltdc-parallel-rgb
However, the touchGFX generator throws an error/warning surrounding the parameter settings of the LTCD.
- Documentation states nothing about what to se the synchronization settings to. Only the layer settings -> start/stop values.
- So I filled in the synchro settings: https://github.com/STMicroelectronics/STM32CubeL4/tree/master/Projects/STM32L4R9I-EVAL/Examples/LTDC/LTDC_Display_1Layer
- Current error states: Width/height values must equal LTDC Window width/height/
I have additional questions surrounding the configuration of the LTDC. Based on the documentation for setting up the MB1315A, I can't find a setting about the MFX_GPIO_11/12.
- I don't know what to set these values to CubeMX!
- PA_11/12 currently set to GPIO_EXTI11/12
- https://www.st.com/resource/en/user_manual/dm00407907-evaluation-board-with-stm32l4r9ai-mcu-stmicroelectronics.pdf
- See page 45 for LTCD. See page 43 for MFX mapping
I also have no idea what to set the RCC, SYS, TSC, and I2C2 values to. I have attached my current .ioc file so one may examine, laugh, and help =)
Overall, I need a successful .ioc file which can deploy on STM32L4R9I-EVAL and the supplemental touchscreen MB1315A.
Needs
- FreeRTOS
- TouchGFX
If there is an example application that meets all of these needs, I would be extremely grateful.
Much appreciated
