Thanks, your reply help me a lot. My problem is twi read and write with improper return error code. 1.I should return error code directly without if conditional statement 2.modify while(rslt != 0) to while(rslt == 0) I can get magnet data through nrf52832 accessing bmx160 with twi interface.
... View more