Hi everyone Why the generated code is not stable?
I am using STM32cubeIDE and STM32f103ret6 chip on my board
The schematic I used is here: https://github.com/mcauser/BLUE_BUTTON_F103RET6/blob/master/docs/STM32F103RET6_schematics.pdf
I have two problems the NRST after some time _between 5 minutes to 4 hours_ gradually keep dropping its voltage until the MCU resets (I had to remove the pull-up 10k Resistor and connected it directly to to vcc to temporary solve this) it happens from time to time, so any idea why this is happening..? I have test 3 different boards.
The other problem is the I2c is not working at all, it worked once after I modified the generated code by calling the clock enable before the gpio enable in the generated init function it worked for some time and then without changing any thing stopped(the bus is 4.7k pulled up, my slave device is working properly I have tested it later ).
There is no power issues.
Thanks for your time