I used nrf52840 board with SDK 17_1_0
I used segger embedded studio IDE
i want to Implement two VL53L5CX TOF sensor with nrf52840 so i used two TWI,
but when i init two TWI then only one TWI is work which one second initialization,
like
#define TWI_INSTANCE_ID 0
#define TWI_INSTANCE_ID1 1
/* TWI instance. */
nrf_drv_twi_t m_twi = NRF_DRV_TWI_INSTANCE(TWI_INSTANCE_ID);
nrf_drv_twi_t m_twi1 = NRF_DRV_TWI_INSTANCE(TWI_INSTANCE_ID1);
IW_IIC_Init(&m_twi);
IW_IIC_Init1(&m_twi1);
then IW_IIC_Init1 work,
when i init like
IW_IIC_Init1(&m_twi1);
IW_IIC_Init(&m_twi);
then IW_IIC_Init work both are not work ony one TWI is work,
how both TWI is work?