I2C stopped working after STM32F411CEU6 is reset
Hi, I've been working with my STM32F411CEU6. I connect my STM with BNO055 IMU sensor that use I2C as its communication protocol. Every time I press the reset button, the program should've start from the beginning, but in my case, that doesn't seem to work all the time. Sometime when I press the reset button, the IMU reading successfully started from the beginning (I can say that because I can see the reading result from the serial monitor). But in most cases, when I press the reset button, the program doesn't restart and the program stopped working instead. Whenever the program stopped working, I have to unplug and re-plug the USB (to my laptop) first in order to make the program able to work again.
Before using STM32F411CEU6, I use STM32 Nucleo 32 L432KC as my MCU, and this problem never happens, the program ALWAYS successfully start from the beginning.
Is this problem has to do with my hardware or is the problem located on my program? Thank you
