1 Reply Latest reply on Apr 9, 2015 6:08 AM by DaKn_263916

    I2C headaches

      Hi all,


      I would like to ask for a bit of help to soft out my troubles with my ancient old arch enemy - the I2C bus :)


      My setup is this: a 29566 device acting as a master, and using the P1[5] and P1[7] lines. I managed to successfully run a I2Cm module and verify the communication. However I need 400k speed and trying to use the I2CHW module instead. Just repeating the example code for a single master device and it always hangs on this line:


      I also tried the option:
      while(I2CHW_bReadI2CStatus()&I2CHW_ISR_ACTIVE);, again with no success.


      Don't know what to try next...