2025-06-02 5:37 AM
The code for USART6 is not generated by STM32CubeMX tool for STM32F207ZGT6 MCU. I am trying to generate the baremetal code.
I have created a default IOC file for this MCU, and configured USART6 as Ascychronous mode. After this I wanted to configure the clock for the USART, but the clock configuration is not visible for USART6.
I tried generating the code after this, this step was successful. However, I don't find any code related to USART eg., initialization, RX/TX functions.
I have tried configuring the USART6 for Synchronous mode, this also doesn't generated the USART code.
I have aswell tried the other USART/UART interfaces for Asynchronous and other modes, the result is the same. Clock configuration not visible, and the related code is not generated.
Can you please let me know if any additional configuration to be done in addition.
2025-06-02 6:07 AM
Please include the IOC file you are having issues with. Ensure your software is up to date.
2025-06-02 6:38 AM
Hello,
Check if what you are looking for is generated in stm32f2xx_hal_msp.c
Otherwise attach your ioc file so we can check.