Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by waterlogged

  1. Zeke, I don't have the book, but I'll see if I can grab a copy. Unfortunately, no logic analyzer either. I have stepped through the code a couple of times. It goes into this call: i2c_send_sequence(MAG3110_INIT_SEQ1,3,&stat,LPM0_bits); And the switch case in usi_i2c.cpp goes through the first case and the second case ( I2C_START ) and freezes immediately after. If I pause while its frozen, it comes out at the call to go into the LPM0 call in main.
  2. BlueHash, thanks for the bump. I'm always reluctant to do it myself... Roadrunner, yep. I've tried a couple of values of pull-up resistor, and have left 4.7k resistors in. I have the circuit working using a parallax propeller board. In the time since I've posted, I also tried creating my own i2c code, and the chip hangs in the same place; right when I tell it to start transferring and start waiting for the interrupt saying it is finished. Any ideas for tests or fixes would be extremely appreciated.
  3. Hey all, I've been staring at this for a while and for the life of me I can't figure it out. I've been trying to adapt the library here: http://jan.rychter.com/enblog/msp430-i2c-usi-library-released for the F2003, which should be rather straightforward, as most of the register names and functions are similar. However, I'm able to get it to build and compile, but when the code gets around to the first send command, it goes into low power mode and never actually sends it. The pins are set, the LPM0 bits are correct, the interrupt vector name is correct, and a number of other things seem to go a
  • Create New...