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

How to differentiate between two slave devices connected over same TWI bus.

Hello,

I am using nRF52832 DK PCA10040 v1.2.4, SDK_15.3.0, S132 SoftDevice and Segger for flashing the image. I am using ‘ble_app_blinky’.

Currently with one device connected over TWI is working fine. But I am going to have one more device on same TWI bus.

So how to differentiate two devices on same TWI bus. I know about TWI, but trying to understand with respect to call back functions as it will be only one for each TWI bus.

Are there any events with slave address or do I need to set a flag to differentiate at application level ?

Thanks & Regards

Vishnu Beema

Parents Reply Children
No Data
Related