AnsweredAssumed Answered

STM32F103RC I2C Nightmare - Help!

Question asked by leach.clark on Feb 11, 2016
Latest reply on Feb 11, 2016 by leach.clark
I have been trying for way too long to get this peripheral to behave the way I want it to.  I'm trying to implement a driver that makes use of interrupts and DMA so as not to block.  While much about this device is baffling, my most recent debugging episode led to this remarkably baffling situation:

With a breakpoint set at the entry to the ISR, after setting the START bit, the first thing I do is read SR1.  I can see from the "registers" window in my debugger that ADDR is set.  However, after reading the register to a local variable, this variable reads 0x00000080.

As if this peripheral isn't flaky enough, I need more mysteries of this nature like I need another hole in my head.

Can anyone explain this?  Please!??!