I am using the TWI manager to schedule transactions with a number of sensors, over two seprate twi instances, and then sending that data over Ant.
The twi manager scheduling is done on timer which fires every 10ms, We are sending data over Ant at 80Hz.
The problem is that at this rate of data acquisition I am getting a large drop-out rate, of around 10%, i.e. my receiver only receives 90% of the transmitted packets. If I remove the twi scheduling then this goes down to less than 2% drop-out rate.
Therefore I think the twi manager is somehow interfering with the ant events. I have tried different settings of the .intterupt_priority property of the nrf_drv_twi_config_t object I am using but without any change in dropout rate.
Can anyone tell me how to avoid interference between the twi manager and ant?
Is there another way that I should be going about this?