AnsweredAssumed Answered

I2C2_IRQHandler requires IO access to work?

Question asked by Ben noack on Aug 13, 2017

I am writing a I2C2_IRQHandler and cannot get it to work without accessing the FIO banks. I can see it work perfectly in the oscilloscope when I include any FIO access. Even if the gpio access does nothing at all but read a register and do nothing with the result - that seems to be enough to make it happy. As soon as I remove it all I get is a start transmission and then NOTHING. Its like the SI bit isn't getting cleared anymore.

 

My code can be found at blueboard/i2c.c at master · benjaminjnoack/blueboard · GitHub 

Outcomes