You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mynewt.apache.org by will sanfilippo <wi...@runtime.io> on 2016/10/24 16:54:43 UTC

Hal i2c API (and nordic platforms).

Hello all:

The modifications have been made to the i2c API and I believe most of the platforms have been modified. I modified and committed (to develop) the modifications to the i2c code for the nordic chipsets and I tested it with an i2c eeprom I have. While the “protocol” that they describe to do sequential reads doesnt have mutliple address/start conditions in it, the device worked just like you said it would Kevin: it ignored the multiple start condition so I think it is all good to go!

If you get a chance to hook up some i2c sensors let me know how it goes. I had to modify the nordic SDK and I generally dont like doing that (modifying third party SDKs). I have to say, I dont understand why their read API and write API were different. Makes me think I am missing something…