2024-01-13 04:40 AM
Hi
I have seen problems with stm32h7 cube uart bug.
The Sources for uarts are pll2q but when debugging :
It says pclk1 and pclk2 are configured.
And even with these values baud rate will not be what I set. I have to divide it by 2 (clock divider is 1).
I searched in registers and i see RCC_D2CCIP2R is not initialized(its zero).
This register is the clock selection for UART. When i manually set proper value for it the baud rate wont be ok yet. So i think even pll2q is not configured properly too.
2024-01-13 05:18 AM
Hi,
I use uart4 + 7 on H743 , setup with Cube /IDE ;
no problems - here , version MX 6.9.1. ;
What is your version ? and which uart at speed .. ?
2024-01-13 05:28 AM
Hi
mx 6.10.0
115200 to 460800
2024-01-13 05:40 AM
So you set uartx ? to 115k , ok.
What speed is it then ? and how you test this ?
2024-01-13 07:15 AM
You have some error messages in the first picture at the bottom. Perhaps the IOC was edited in such a way to be incompatible. Attach your IOC file.