2021-02-28 11:06 PM
Good afternoon, I'm trying to use STM32F746ZGTx LQFTP144 for a railway scoreboard.(Commuter train schedule) I have a problem. I ran a BSD project on the Nucleo-144 STM32F746 board from the STM32746G_DISCOVERY examples. I commented out everything except the LCD. Display_Demo Description() Using the oscilloscope, I found that the following outputs of the controller are active.
PD9
PG12 LCD_B1
PG15
PG0
PD0
PD1
PH0 OSC
PF2
PH1 OSC
PE4 LCD_B0
PA14 SW
PE14 LCD_CLK
PF13
PD10 LCD_B3
PD15
PE7
PE8
PF4
PF5
PD8
This list does not match the description of stm32f745ie. pdf and CubeMX. I hope you can help me figure out which controller pins are actually used to control the LCD. Sincerely, Alexander.
Solved! Go to Solution.
2021-03-01 05:09 AM
The stm32f7xx_hal_msp.c file is not inside the STM32F7xx_HAL_Driver folder, this is a file that you have to edit depending of your project.
look example here :
C:\Users\$USER\STM32Cube_FW_F7_V1.16.1\Projects\STM32746G-Discovery\Examples\LTDC\LTDC_Display_1Layer\Src
It can also be generated by the STM32CubeMX, if you generate init code with it.
2021-03-01 01:28 AM
Hello,
What does not match, precisely ?
The main.c file doesn't show any pin configuration.
2021-03-01 01:54 AM
2021-03-01 02:06 AM
"This list does not match the description of stm32f745ie. pdf and CubeMX"
What pin exactly does not match your expection ?
2021-03-01 02:29 AM
2021-03-01 02:49 AM
2021-03-01 03:17 AM
The LTDC examples you are mentionning, are for the discovery board that have a BGA216 package and which have obviously more pin than a LQFP 144 package.
You probably have to adapt the stm32f7xx_hal_msp.c to remap the LTDC pins definition to match the LFQP144 pinout description, if this is possible.
2021-03-01 04:04 AM
2021-03-01 05:09 AM
The stm32f7xx_hal_msp.c file is not inside the STM32F7xx_HAL_Driver folder, this is a file that you have to edit depending of your project.
look example here :
C:\Users\$USER\STM32Cube_FW_F7_V1.16.1\Projects\STM32746G-Discovery\Examples\LTDC\LTDC_Display_1Layer\Src
It can also be generated by the STM32CubeMX, if you generate init code with it.
2021-03-02 12:35 AM