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

Two different I2C channel definition on nRF52840's GPIO

Hi,

I want to define two different channel for I2C and interface two slave devices. nRF52840 will always be master in this case. As mentioned in the Product Spec. of nRF52840 using PSEL.SCL and PSEL.SDA I2C ports can be defined. 

But in case, of two different GPIO ports, can those be defined at same time in these registers? Or in my firmware I will have to keep re-writing the GPIO port values in these registers when ever the respective slave device has to be accessed?

-Thanks

Parents Reply Children
No Data
Related