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

From DAVE Developer's Wiki
Jump to: navigation, search
(Created page with "{{subst:EVB_Interfaces_and_Connectors | nome-som=ETRA | nome-peripheral = Watchdog}}")
 
Line 1: Line 1:
<section begin=History/>
+
<section begin="History" />
 
{| style="border-collapse:collapse; "
 
{| style="border-collapse:collapse; "
!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" |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"|X.Y.Z
+
| 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"|Month Year
+
| 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" |Mar 2021
|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"|TBD
+
| 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"|[TBD_link X.Y.Z]
 
|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"|Month Year
 
|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"|TBD
 
|-
 
|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"|...
 
|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"|...
 
|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"|...
 
 
|-
 
|-
 
|}
 
|}
<section end=History/>
+
<section end="History" />
<section begin=Body/>
+
<section begin="Body" />
 
 
==Watchdog interface ==
 
  
''TBD: sostituire le sezioni con le informazioni sull'uso della periferica e del suo connettore''
+
==Watchdog device ==
''Nell'esempio di seguito c'è la descrizione dell'interfaccia UART/console''
 
  
 
=== Description  ===
 
=== Description  ===
  
The Watchdog interface available on the Evaluation Kit at the connector ''TBD:Jxxx''.
+
The Watchdog device available on the Evaluation Kit is provided by the Maxim MAX6373.  
 
 
''Jxx'' is a ''TBD:connector-type'' header connector for the RS232 two-wires UART3 port, used for debug purposes (bootloader and operating system serial console).
 
  
 +
The Watchdog is a device that has to be constantly polled via GPIO to continue the normal operations, otherwise (in case of system freeze) it will reset the system.
  
[[File:{{{nome-som}}-EVB-Watchdog-connector.png|thumb|center|500px|Watchdog connector]]
+
The MAX6373 device has 3 configuration pins that allow to select the following:
 +
* the startup delay from 3ms to 60s or first edge of the WDI signal
 +
* the watchdog time (maximum time between WDI toggles) from 3ms to 10s or disable.
 +
As default the device is configured for start the operations on first edge of the WDI signal with a timeout of 10s. For custom configurations please send an e-mail to [mailto:helpdesk@dave.eu helpdesk@dave.eu]
  
 
===Signals ===
 
===Signals ===
Line 43: Line 34:
  
 
{| class="wikitable"  
 
{| class="wikitable"  
! latexfontsize="scriptsize"| Pin#
+
! latexfontsize="scriptsize" | Pin#
! latexfontsize="scriptsize"| SOM Pin#
+
! latexfontsize="scriptsize" | SOM Pin#
! latexfontsize="scriptsize"| Pin name
+
! latexfontsize="scriptsize" | Pin name
! latexfontsize="scriptsize"| Pin function
+
! latexfontsize="scriptsize" | Pin function
! latexfontsize="scriptsize"| Pin Notes
+
! latexfontsize="scriptsize" | Pin Notes
|-
 
|1,2,4,6,,7,8,10
 
| -
 
| N.A.
 
| N.C.
 
| Not connected
 
|-
 
| 3
 
| J1.189
 
| RS232_RX
 
| Receive line
 
|
 
 
|-
 
|-
| 3
+
|U6.1
| J1.187
+
| J18.28
| RS232_TX
+
| WDI
| Transmit line
+
| Watchdog input
 
|  
 
|  
 
|-
 
|-
| 9
+
| U6.7
| -
+
| J18.24
| DGND
+
| WDO
| Ground
+
| Watchdog output
|  
+
| system reset pin
 
|}
 
|}
 
=== Device mapping ===
 
UART3 is mapped to <code>/dev/ttymxc2</code> device in Linux. The peripheral is used as the default serial console, both for the bootloader and the kernel.
 
  
 
=== Device usage ===
 
=== Device usage ===
 
+
To use the watchdog device toggle the <code>PA9</code> GPIO at least once every 5 seconds.
To connect to the debug serial port:
 
 
 
# connect the DB9 adapter bracket to the J22 connector on the SBCX board
 
# connect a serial cable between DB9 connector and PC COM port through a NULL-modem cable (not provided)
 
# start your favorite terminal emulator software on PC (eg: PuTTY); communication parameters are: 115200,N,8,1
 
 
 
 
----
 
----
  
 
[[Category:ETRA]]
 
[[Category:ETRA]]

Revision as of 14:54, 30 March 2021

History
Version Issue Date Notes
1.0.0 Mar 2021 First release


Watchdog device[edit | edit source]

Description[edit | edit source]

The Watchdog device available on the Evaluation Kit is provided by the Maxim MAX6373.

The Watchdog is a device that has to be constantly polled via GPIO to continue the normal operations, otherwise (in case of system freeze) it will reset the system.

The MAX6373 device has 3 configuration pins that allow to select the following:

  • the startup delay from 3ms to 60s or first edge of the WDI signal
  • the watchdog time (maximum time between WDI toggles) from 3ms to 10s or disable.

As default the device is configured for start the operations on first edge of the WDI signal with a timeout of 10s. For custom configurations please send an e-mail to helpdesk@dave.eu

Signals[edit | edit source]

The following table describes the interface signals:

Pin# SOM Pin# Pin name Pin function Pin Notes
U6.1 J18.28 WDI Watchdog input
U6.7 J18.24 WDO Watchdog output system reset pin

Device usage[edit | edit source]

To use the watchdog device toggle the PA9 GPIO at least once every 5 seconds.