Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

NRF_TWI_MNGR use in zephyr

Hello,

I am using nrf52840 MCU.

I am developing a product which have 2 I2C and 2 SPI interfaces. All the interfaces are on different pins.

I developed this thing with the bare-metal FW. In the baremetal SPI using instances 1 and 2. And I2C 0 instance used for both I2C, for that I2C uses the NRF_TWI_MNGR to handle 2 different interfaces on the same I2C instance 0.

I want to port this application to the Zephyr platform. How can I use NRF_TWI_MNGR  in Zephyr? I know that I have instance 3 is still empty, but I want to make it reserved for future scope.

Thanks,
Dinkar

Related