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
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
Hi Sudharsan,
Were you able to set I2C Master frequency lower then 50k? If yes, could you please guide or share the sample code? I am specifically looking on how to set the FREQUENCY register value from application.
TIA.
Hi Sudharsan,
Were you able to set I2C Master frequency lower then 50k? If yes, could you please guide or share the sample code? I am specifically looking on how to set the FREQUENCY register value from application.
TIA.
Hi Harshal,
Check the replies from Jorgen...You have to change the Register value
To change the Reg. value, you have to go to nrf52840_bitfields.h (I hope that you are using Latest SDK version and I am referring to nrf52840...Check for your part number)
Thanks
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.