Once in a while STM32F446 is unable to drive pin PA0 high or low
I'm working with the STM32F446-microcontroller and once in a while after power-up the microcontroller is unable to drive pin PA0 high or low and I also suspect that it can't drive PA8, configured as an I2C-clock, either when this problem occurs. There is no issue with input sensing on PA0, i.e. reading GPIOx->IDR always returns the correct result. Also, I'm able to communicate with a custom-made PC-application via CAN-bus and I can upgrade firmware on the microcontroller using a custom-made bootloader, but it won't get PA0 out of the non-controllable state. A software reset doesn't help either, the only solution is to disconnect power for about 5-6 seconds and then things work fine again. Can anybody think of anything I can do to solve this? Are there any registers I can play with to try get PA0 controllable again?
