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

RTC M41T62 with nrf52832

hello,
i am trying to implement external RTC in my application. i am using the SDK 14.2.0 and softdevice s132 .n also for external RTC using the M41T62 with nrf52832DK. so i am  new to this so how i can start the implementation. i have the RTC driver so how can i this use in my application.which example code use for this.

Parents
  • Hi,

    The M41T62 sensor uses TWI serial interface. A starting point would then be to look at the twi_sensor example in the SDK. The twi_scanner example could also be useful. Then try to integrate the RTC driver you have with the twi_sensor example.

    Note that the nRF52832 have a RTC(real time counter) peripheral, that could be used to implement a type of real-time clock. If you should use the M41T62(real-time clock) or the on-chip RTC(real time counter) will depend on the timekeeping requirements you have for your application. There is a small example on how to use the nRF52 RTC(real time counter) to keep track of time here.

Reply
  • Hi,

    The M41T62 sensor uses TWI serial interface. A starting point would then be to look at the twi_sensor example in the SDK. The twi_scanner example could also be useful. Then try to integrate the RTC driver you have with the twi_sensor example.

    Note that the nRF52832 have a RTC(real time counter) peripheral, that could be used to implement a type of real-time clock. If you should use the M41T62(real-time clock) or the on-chip RTC(real time counter) will depend on the timekeeping requirements you have for your application. There is a small example on how to use the nRF52 RTC(real time counter) to keep track of time here.

Children
No Data
Related