Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


This page gives an overview of the bare-metal driver support for AXI Watchdog Timer.

Table of Contents

Table of Contents
excludeTable of Contents

Introduction


This page gives an overview of Axi Watchdog timer driver /Window watchdog timer which is available as part of the Xilinx Vivado and SDK distribution.

The Xilinx® LogiCORE? IP AXI4-Lite Timebase Watchdog Timer (WDT) is a 32-bit peripheral that provides a 32-bit free-running
timebase and watchdog timer.

...


DirectoryDescription
srcDriver source files, make and cmakelists file
examplesExample applications that show how to use the driver features
docProvides the API and data structure details
dataDriver .tcl , .mdd and .mdd file.yaml files

Note: The .yaml(in data folder) and CMakeLists.txt(in src folder) files would be used in System Device Tree based flow.


Driver Implementation

For a full list of features supported by this IP, please refer AXI_Timebase_Wdt_Doc

For a full list of features supported by this IP, please refer 59: System Watchdog Timer Versal Trm

Features

Controller Features supported

• Connects as a 32-bit slave on a AXI4-Lite interface
• Watchdog timer with selectable timeout period and interrupt
• Configurable WDT enable: enable-once or enable-repeatedly
• One 32-bit free-running timebase counter with rollover interrupt-dual control register

Driver Supported Features

The Axi watchdog timer Standalone driver support the below things.
All Controller Features supported.
WWDT Driver support:
  • Supports Generic Watch dog timer and polled and interrupt mode window watch dog feature.
  • Q&A mode not implemented.

Known Issues and Limitataions

  • None


...

Code Block
xwdttb_low_level_example.c
OUTPUT:
Successfully ran WDTTB low level example.

xwdttb_selftest_example.c 
OUTPUT:
Successfully ran WDTTB self test example.

xwdttb_example.c
OUTPUT:
Restart kick 1
.........................
Restart kick 2
.........................
Successfully ran WDTTB example

xwdttb_intr_example.c
OUTPUT:
Successfully ran Window WDT interrupt example.

xwdttb_winwdt_example.c
OUTPUT:
Restart kick 1
.........................
Restart kick 2
.........................
Successfully ran Window WDT example.

xwdttb_winwdt_intr_example.c
OUTPUT:
Successfully ran Window WDT interrupt example.

xwdttb_gwdt_selftest_example.c
OUTPUT:
Successfully ran GWDT self test example

xwdttb_gwdt_example.c
OUTPUT:
Self test completed
.................................................................................................................................
 Refresh kick1
................................................................................................................
 Refresh kick2
................................................................................................................
 Refresh kick3
................................................................................................................................................................................................................................................
Generic watchdog second window expired

xwdttb_gwdt_intr_example.c
OUTPUT:
Successfully ran GWDT interrupt example

...