Search the Community
Showing results for tags 'usi'.
I've written a tiny library that implements I2C master functionality on MSP430 devices that only have the USI module (for example, MSP430G2412 or MSP430G2452). It's small, simple, works well for me, and might help others in their projects. Blog post at http://jan.rychter.com/enblog/msp430-i2c-usi-library-released Github repo at https://github.com/jwr/msp430_usi_i2c Have fun!
So finally coded up my lm4970 project. And using a interrupt on switch p1.3, and tried to get LPM. Well, it didn't work. If I remove LPM, it works, but with a huge issue where it keeps looping, but still works. So the only problem is my main code, not the usi/i2c/lm4970 code. What I expect it to do: Initialize everything (Works)Go Into While LoopSwitch on State Variable Run given Case, Break out of Switch Enable Interrupts and Go to Sleep ( LPM4 + GIE )Sleep until Interrupt Interrupt Disables GIE and LPM4, Increases State Variable Exit Interrupt, reach end of While Loop, back to Switch S