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

Driver for MCP7940 RTC with nRF52840 or nRF53832

Hi,

I am trying to interface MCP7940 RTC with nRF52840 DK. Initially, I am using a twi_scanner example from the SDK v16.0. Using the same example it is expected that I should get Device address but the output is NO Device found. I have checked all the hardware connections and pin configurations and tested the same with Arduino.  It is working fine and giving the device address as 0x6F. Please tell me how to interface the same with nRF52840.

Thanks,

  • Hi,

    • Could you verify with a logical analyzer or scope that SCL is correct and that SDA lines outputs the data to the slave?
    • What is sent back from the Slave?
    • How have you connected the nRF to the Slave, do you use any pullups?
    I have checked all the hardware connections and pin configurations and tested the same with Arduino. 

     You mean that the scanner example worked when you used the Arduino as a slave?

    regards

    Jared

Related