Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
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 and P1 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: while(!(I2CHW_bReadMasterStatus()&I2CHW_WR_COMPLETE));
I also tried the option: while(I2CHW_bReadI2CStatus()&I2CHW_ISR_ACTIVE);, again with no success.