cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 SMBus I2C problems

Posted on June 17, 2011 at 12:18

The original post was too long to process during our migration. Please click on the attachment to read the original post.
2 REPLIES 2
Posted on June 17, 2011 at 13:07

Dunno, I sure would want to initialize the NVIC before enabling peripheral interrupts.

Rather than totally shot-gunning the interrupt handlers in this fashion, you might want to consider what interrupt state is not being cleared, causing it to endlessly be stuck in an IRQ state, and blocking foreground execution.

If you break execution in the blocked state you should be able to narrow down which IRQ is active, then look at the IT registers to see which bits are active.

You might also want an instrumented fault handler, rather than an infinite loop.

Use NVIC_PriorityGroupConfig() once, it's a singular setting.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on June 17, 2011 at 13:41

Thank you!!