This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Does anybody has TWI for SDK7 ?

Does anybody has TWI for SDK7 and SD110?

I have problem with twi. Only HardFault appears.

I tried twi_sw_master and twi_hw_master

I would like communicate with senzor bme280 and I don't have lot of memory for bigger SDK

  • So, I solved it myself...I had to use twi_sw_master instead twi_hw_master and I had to change pinout of I2C.

    Somebody on this forum told me that all pins of nrf51822 are general purpouse and I can have I2C, where I want (any pins).

    I found out, that this is not probably true...I have set I2C to pin 1 and 2 and it didn't work, but when I change pins to 7 and 30, it will work.

Related