Other Parts Discussed in Thread: CC1352P, BP-BASSENSORSMKII
Hi,
I'm using a LaunchXL-CC1352P-2 board to talk to an HMC5883L (3 axis digital compass)
and noticed an odd behavior with the i2c interface.
1. The initial read/write operation always returns bus busy
2. All reads/write to/from the registers succeed after the initial failure but the reads are garbage.
I hooked up the HMC5883L to an arduino and wrote quick code to see if
I can get data and that works so the compass works correctly.
I then decided to use the example app from ti i2ctmp116_CC1352P_2_LAUNCHXL
to see if I can read from the board temperature, below is the result from the output terminal.
Starting the i2ctmp116 example
I2C Initialized!
I2C Bus fault.
I2C Bus fault.
I2C Bus fault.
I2C Bus fault.
I2C Bus fault.
I2C Bus fault.
I2C Bus fault.
So basically the default example that comes with the board doesn't work either.
Question:
Is there something I need to do on the board (jumpers etc) to enable the I2C lines.
Thanks