Search the Community
Showing results for tags 'msp430g@553'.
Hi, I have built an embedded product on a custom pcb that uses an MSP430G2553 communicating with a MMA8451 accellerometer via I2C, and flashing LEDs when certain acceleration events cause interrupts. The system works reasonably well but I want to add some post-interrupt code to verify the direction and intensity of the acceleration to avoid false positives. I can read the value in the relevant TRANSIENT_SRC register (0x1E) on the MMA8451 but the system hangs returning from the ISR. I placed a breakpoint in the closing curly bracket of the ISR, and when I stepped past this breakpoin