I have just uplifted my project to use the latest MCUxpresso SDK version (2.13 for i.MXRT1060). I was previously using SDK 2.08
It seems that now, quite frequently, when sending debug output via semihosting, the I2C driver will get hung up in the I2C ISR service routines. This did not happen in the previous version I was using, but there are quite a few differences between the SDK versions, so I'm not sure where to start looking for the cause.
Has anyone seen this issue?
thanks
I have also been facing the same issue here. Control gets stuck in I2C handler when i try to print messages to the console. Were you able to find out the reason or have you been able to resolve the issue
Thanks
Eugin
keep in mind that using semihosting is *very* intrusive. If you are doing this during an I2C transfer, I'm not surprised that I2C won't work as expected.
And depending on how you do it, you will easily have a stack overflow too (so add plenty of stack space to your application).
If you really want to use semihosting, I recommend to do use it the 'direct' way, see https://mcuoneclipse.com/2023/03/09/using-semihosting-the-direct-way/
I hope this helps,
Erich
I have not seen that (currently not using RT, but other devices). It might be related to the debug probe you are using?