Switching between i2c and spi on the same pins while in runtime

Hello, 

is it possible to switch between i2c and spi in the same pins in runtime? 

I'm trying to evaluate a sensor where it can communicate over spi or i2c on the same connector, is it possible to switch between the protocols while using the same pins? 

From what I've read in the documentation it looks like we can make a dynamic board configuration or manipulate the pincontrol files, or maybe using an overlay, how do I do this properly? 

I'm using nrf SDK v2.2.0 and nordic 52840. 

Parents Reply Children
No Data
Related