How to configure I2C frequency 50k or lesser ?

Hi All,

I am using nrf52840 custom board. SDK version 17.0.2

What value do I need to set in nrf52840_bitfields.h for I2C frequency to get <= 50 k ??

(Line number 13990 to 13996)

Looking ahead for your response.

Regards

Sudharsan

Parents Reply Children
  • Hi Sudharsan,

    Thanks for the reply. I think I didn't make myself clear.

    I am using latest SDK 1.8.0 and I changed the register (TWIM_FREQUENCY_FREQUENCY_K100) value in nrf52_bitfields.h and it worked for me.

    But this change is outside my application i.e. if I migrate to latest SDK later on then I'll need to do change in that SDK as well. So, I was just wondering if there is a way to change this register from my application itself?

    Thanks.

Related