How to modify the timing at TWIM write/read sequence?

Hi 

Below is from nrf9160 data sheet TWIM  section.

Using this sequence to a sensor device, we found sometimes the data read was incorrect. The sensor vendor said the root cause was the delay time

below was too short for their device to respond. Currently, it is 100us. How to enhance the time over 260us? Thanks

Parents
  • Hi,

    It seems like the sensor id doing some clocke stretching, so this time (before the snesor answers) is dictatedby the sensor, and not the nRF. If it needs a longer pause before answering, why does it not just stretch the clock longer? If this is the problem, then it seems like the sensor is behaving strangely.

    Can you try to work around it by using a lower I2C frequency?

Reply
  • Hi,

    It seems like the sensor id doing some clocke stretching, so this time (before the snesor answers) is dictatedby the sensor, and not the nRF. If it needs a longer pause before answering, why does it not just stretch the clock longer? If this is the problem, then it seems like the sensor is behaving strangely.

    Can you try to work around it by using a lower I2C frequency?

Children
Related