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

interrupt based i2c with softdevice

Hello,

I am using SDK 9.0 and softdevice 8.0 and testing on Evaluation board. I referred the i2c example driver suggested by Torbjorn in this link

I wrote a simple driver for eeprom and succeeded without the softdevice. But when I integrate with the softdevice, data is neither writing nor reading from eeprom. I am not getting i2c interrupts.

Can anyone help me procedure for i2c driver with softdevice?

Update: It is working when I commented the sd_nvic_SetPriority(SPI0_TWI0_IRQn, 1); and enabled using NVIC. I am using template application workspace and integrated i2c driver. But now BT is not advertising. The voltage on the board is 3.3V. Can anyone help me regarding drivers with BT stack?

Regards, Sowmya

Parents Reply Children
No Data
Related