I2C timeout not working correctly
I have tried enabling the timeout function in the I2C controller by setting a value in TIMEOUTA and setting TIMOUTEN. I can see the bus working normally on a scope, then when I connect with the debugger ( no reset, no upload ), the halt causes the timeout to occur and the timeout bit is set in the ISR, however, instead of releasing SDA and SCL, SDA remains held low jamming up the bus until I set PE=0 to disable the I2C controller.