2024-08-16 02:02 AM
Hi
I have problems with the I2C frequency when I'm generating code with CubeMX 6.12.0 for the STM32U5A9. The timing register from the I2C3 is generated wrong, which leads to a frequency around 350kHz instead of selected 400kHz in FastMode operation.
The tool generates 0x0010061A and regarding the datasheet example (see printscreens) it should generate something like 0x10320309.
Can you fix that in the next version?
Thanks in advance
nobody
2024-08-16 06:05 AM
Can you attach your IOC?
Note that I2C timings are never going to be exact.
2024-08-19 01:53 AM - edited 2024-08-19 01:54 AM