Hi there,
I am having an issue with my last project in which the I2C seems to hang the very first time that them Microcontroller is powered up. However once the CPU is reset, the issue disappears.
The microcontroller is F28069 and I have 2 devices connected to the I2C bus, which seem to work fine after the second boot.
In the actual configuration, the code is in the flash but then I copy it to the RAM to for fast execution.
I tried to load the symbols using the debugger, but as the CPU restarts once you load them, once I run the code with the symbols loaded the code executes properly, so I am not able to duplicate the problem.
I though of displaying some sort of debug information using the serial port to figure out where exactly is hanging, but as only happens the first time is powered up, I am not able to establish a successful communicative (the COM port does not even exist because the board is switched off)
Any ideas of what could be the cause? Is there a way I could debug it to figure out what the issue is?
Thanks a lot for your help
regards,
Javier