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

TWIS operation on 20 Khz frequency?

Hello everyone, 

The I2C spec minimum is about 100kHz however the device I am communicating with is using a clock of 20kHz. And there is no way to speed up this device. As per documents TWIS the minimum clock frequency is 100 Khz,

But i have to communicate with 20 Khz master. So is there any way by which i can enable NRF52832 TWIS to communicate with 20 Kz clock. I have heard something  about stretching technique. So, There are situations where an I2C slave is not able to co-operate with the clock speed given by the master and needs to slow down a little. How can i implement this? It would be great help if anyone can guide me.

Thanks & Regards,

Pradeep

Parents
  • I once bit-banged I2C on a nRF52832, it might be your only option. In my case I just did it for debugging since the nRF52832 violated the timing specs for the accelerometer, it turned out (after x-ray scanning) that the accelerometer that I was trying to communicate with was just an empty capsule without any silicon in it, I had been scammed! Not very strange that it didn't work :D 

Reply
  • I once bit-banged I2C on a nRF52832, it might be your only option. In my case I just did it for debugging since the nRF52832 violated the timing specs for the accelerometer, it turned out (after x-ray scanning) that the accelerometer that I was trying to communicate with was just an empty capsule without any silicon in it, I had been scammed! Not very strange that it didn't work :D 

Children
No Data
Related