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

Remap peripheral pins (Zephyr OS)

For the nRF52811 there is only one TWI peripheral and if there are multiple buses required it is necessary to remap the SCL and SDA pins to the peripheral. In the nRF5 SDK this was easy - simply call the initialization function with the correct pin mappings before each transaction.

Can this be accomplished in Zephyr OS? Normally the pin mapping is done through the DTS file, but the 52811 only has one TWI peripheral so I don't know of a way to do this.

Related