lpc1113/302 I2C not working after BOD active

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

lpc1113/302 I2C not working after BOD active

524 Views
chrisconover
Contributor I

After entering BOD interrupt handler, I2C doesn't work.  No activity on SDA,SCL.  I2C and syscon registers haven't changed.  Is BOd mode doing some kind of power down mode?

Labels (1)
0 Kudos
1 Reply

428 Views
chrisconover
Contributor I

Found the problem.  The I2C routines use an interrupt and if the priority isn't higher than the BOD interrupt, it isn't serviced. The controller does support nested interrupts but the priority of the nested interrupt must be higher. By default priorities are all set the same so the "nested" won't be serviced.

0 Kudos