Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

RTC and Netduino+2


  • Please log in to reply
2 replies to this topic

#1 apokryphus

apokryphus

    Member

  • Members
  • PipPip
  • 12 posts

Posted 13 August 2013 - 08:21 AM

Hello everybody,

 

i would like to know, if it is possible - just like on the stm32f4 dicovery - to use the internal RTC with the Internal RC-Oszillator?

 

In would like to do this in c/c++ because it besomes very easy now to write and flash c-code to the netduino since visualgdb is supporting the STM32F4 familiy.... For flashing i use the stlink V2 ....

 

 

Thank you very much.



#2 nakchak

nakchak

    Advanced Member

  • Members
  • PipPipPip
  • 404 posts
  • LocationBristol, UK

Posted 13 August 2013 - 10:06 AM

AFAIK the RTC is already being used by the NETMF runtime, so you cant access it for managed projects, that said there is nothing stopping you writing your own firmware and not using NETMF on the netduino hardware.

 

Nak.



#3 Valkyrie-MT

Valkyrie-MT

    Advanced Member

  • Members
  • PipPipPip
  • 315 posts
  • LocationIndiana, USA

Posted 13 August 2013 - 05:09 PM

Hello everybody,

 

i would like to know, if it is possible - just like on the stm32f4 dicovery - to use the internal RTC with the Internal RC-Oszillator?

 

In would like to do this in c/c++ because it besomes very easy now to write and flash c-code to the netduino since visualgdb is supporting the STM32F4 familiy.... For flashing i use the stlink V2 ....

 

 

Thank you very much.

 

The RTC requires an external 32.768 KHz oscillator with some capacitors and a battery.  It would also require changes to the Netduino firmware to set and read the time value.  But this is only needed to keep time while powered off.  If you want to use the internal oscillator for the RTC, I believe you can specify certain register values for that, but it would not be very accurate and it won't survive a power cycle.  






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.