Difference between revisions of "ETRA SOM/ETRA Evaluation Kit/Interfaces and Connectors/RTC"

From DAVE Developer's Wiki
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
! colspan="4" style="width:100%; text-align:left" ; border-bottom:solid 2px #ededed" |History
 
! colspan="4" style="width:100%; text-align:left" ; border-bottom:solid 2px #ededed" |History
 
|-  
 
|-  
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white" |Version
 
 
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white" |Issue Date
 
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white" |Issue Date
 
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white" |Notes
 
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white" |Notes
 
|-
 
|-
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |1.0.0
+
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |2021/01/14
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |Dec 2020
 
 
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |First Release
 
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |First Release
 
|-
 
|-
Line 22: Line 20:
  
 
Both RTC can retain time and custom data over blackouts using a backup power source as:
 
Both RTC can retain time and custom data over blackouts using a backup power source as:
* the lithium rechargeable battery (BT1) that is mounted on the carrier board.
+
* the lithium rechargeable battery (BT1) ''optionally'' mounted on the carrier board
 
* an external battery connected to J3 (alternate mounting option to the battery)
 
* an external battery connected to J3 (alternate mounting option to the battery)
  
[[File:{{{nome-som}}-EVB-RTC-connector.png|thumb|center|500px|RTC connector]]
+
[[File:ETRA-EVK-BT1-battery-connector.png|thumb|center|300px|BT1 or connector battery options]]
  
 
===Signals ===
 
===Signals ===
Line 42: Line 40:
 
| VBAT
 
| VBAT
 
|  
 
|  
| can be configured for recharge
+
| can be configured for battery connection
 
|-
 
|-
 
| 2
 
| 2

Latest revision as of 16:13, 6 September 2023

History
Issue Date Notes
2021/01/14 First Release


RTC device[edit | edit source]

Description[edit | edit source]

There are two RTC devices on the Evaluation Kit, one is provided by the STM32MP1 SoC, the other is a Maxim DS3232M I2C device.

Both RTC can retain time and custom data over blackouts using a backup power source as:

  • the lithium rechargeable battery (BT1) optionally mounted on the carrier board
  • an external battery connected to J3 (alternate mounting option to the battery)
BT1 or connector battery options

Signals[edit | edit source]

The following table describes the interface signals for J3:

Pin# SOM Pin# Pin name Pin function Pin Notes
1 J18.14 VBAT can be configured for battery connection
2 - DGND Ground

Device mapping[edit | edit source]

RTC is mapped to /dev/rtc0 device in Linux.

Device usage[edit | edit source]

The peripheral can be accessed through the date and hwclock linux commands.