Hi all:
I used code from Github to read 9 axis data with TWI. But the example in TWI floder doesn't work.
Does somebody have the same issue?
Chip: nRF51422
Board: PCA10028
Firmware: S130_nRF51_2.0.1
I have checked the TWI pin define, SDA SCL voltage, and the code in mpu_init(). I found a lot of problems in that code. Does somebody have the same issue? Please make a response or even share the ideas with me.
update: I've checked that my module already has 10K pull-up for SDL and SDA. I have found the root cause, I should make SDO (ADO) to low for address 0x68 and SDO (ADO) to high for address 0x69. I still don't know what's the purpose of this design?