Associate II
September 30, 2021
Solved
STM32L4R5ZI gets stuck after initializing I2C
- September 30, 2021
- 9 replies
- 2606 views
Hello and Thank you
I'm starting with I2C on STM32L4R5ZI and I can't get it to work.
I'm generating a very simple project for the Nucleo board in CubeIDE.
I have only initialize the parameters in CubeIDE, and when I try to run it the red LED ligths up and the programm doesn't execute.
I've been messing with it and it doesn't execute code after the initialization of the I2C peripheral ("MX_I2C1_Init();").
I have tried changing the clock that the peripheral is using but that doesn't seem to work.
Looks like the CubeIDE initialization is not working, but I can't find why.
Thank you so much
Daniel
