# RTC-Driver ? connect wiem

**URL:** <https://forums.digi.com/t/rtc-driver-connect-wiem/3430>\
**Category:** NET+OS\
**Tags:** rtc, hardware\
**Created:** [November 1, 2007, 8:30am UTC](https://forums.digi.com/t/rtc-driver-connect-wiem/3430 "2007-11-01T08:30:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mentzer](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@mentzer](https://forums.digi.com/u/mentzer)\
**Post date:** [November 1, 2007, 8:30am UTC](https://forums.digi.com/t/rtc-driver-connect-wiem/3430/1 "2007-11-01T08:30:27Z")

</div>

Hi, I would like to install the RTC-Driver (BSP\_INCLUDE\_RTC\_DRIVER == TRUE in BSP.h). If I make this, my application does not work anymore. Is that not possible with the ConnectEM (7520) ? Thanks.  
Marcus

---

<div class="post-metadata">

**Author:** ![rdeabill](https://avatars.discourse-cdn.com/v4/letter/r/91b2a8/32.png) [@rdeabill](https://forums.digi.com/u/rdeabill)\
**Post date:** [November 20, 2007, 10:28am UTC](https://forums.digi.com/t/rtc-driver-connect-wiem/3430/2 "2007-11-20T10:28:21Z")

</div>

Hi Marcus,

From what I can see the BSP\_INCLUDE\_RTC\_DRIVER == TRUE effectively links the RTC to the C time functions.

With the ConnectEM there is not a hardware RTC on board and the rtc.c file that will get included in the BSP does not have the definitions for any functions.

I believe that you first need to get your hardware RTC and then write all of the access functions for it, so that they match the NaRtcxxxxFunc\_t function prototypes.

Once you have all of the functions defined then you need to set them up in naRtcDeviceTable in rtc.c and then you can set the flag equal to true, and the ‘C’ time functions should work.

If you do not have a hardware RTC you can use naTimeFunctionInstall() to set up a software timer to get the ‘C’ time functions working.

Roy
