AXI Watchdog Timer standalone driver


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.
Source path for the driver:
https://github.com/Xilinx/embeddedsw/tree/master/XilinxProcessorIPLib/drivers/wdttb
Driver source code is organized into different folders. Below diagram shows the iicps driver source organization

Axi Watchdog timer
|
-- Doc - Provides the API and data structure details
|
- Examples - Reference application to show how to use the driver APIs and calling sequence
|
- Source - Driver source files

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 mode window watch dog feature.
  • Q&A mode not implemented.


Known issues and Limitations

  • None

Test cases

Refer below pah for testing different examples for each feature of the IP.
https://github.com/Xilinx/embeddedsw/tree/master/XilinxProcessorIPLib/drivers/wdttb/examples

ChangeLog

  •     2019.1
    • Summary:
      • Wdttb: Fixed compiler warnings.
      • Wdttb: Changes in Makefile to make map file consistent in windows and Linux
      • Wdttb: Added new static functions for WWDT
      • Wdttb: Fixed MISRA-C deviations.
    • Commits:
      • f674554:  Fixed compiler warnings.
      • c8317ceChanges in Makefile to make map file consistent in windows and Linux
      • 6975069Added new static functions for WWDT
  •     2019.2
    • Summary
      • wdttb: Support hierarchical designs
      • wdttb:data:Updated driver tcl file to support WWDT and AXI
      • wdttb:src:Updated WDT driver files to support AXI and WWDT
      • wdttb:examples:Updated examples to support AXI Timebase and WWDT
    • Commits:
      • 5d9c2673 wdttb: Support hierarchical designs
      • 7847a3b1f wdttb:data:Updated driver tcl file to support WWDT and AXI
      • 4a8e1505 wdttb:src:Updated WDT driver files to support AXI and WWDT
      •  4fb69010 wdttb:examples:Updated examples to support AXI Timebase and WWDT
  •     2020.1
    • Summary: 
      • wdttb: Removed psu_wwdt from supported peripherals
      • wdttb: Removed compare value registers write.
      • wdttb: Removed compare value registers write in application.
      • wdttb: Reorganize the driver source
      • wdttb: Added XWdtTb_ConfigureWDTMode to configure WDT mode
      • wdttb: Add interrupt example to support versal platform
      • wdttb: Update on watchdog interrupt examples
    • Commits:
      • 9a7e7e78 wdttb: Removed psu_wwdt from supported peripherals
      • d0e04292 wdttb: Removed compare value registers write.
      • 98428d50 wdttb: Removed compare value registers write in application.
      • afa2e303 wdttb: Reorganize the driver source
      • 2442e0c1 wdttb: Added XWdtTb_ConfigureWDTMode to configure WDT mode
      • b0217ba0 wdttb: Add interrupt example to support versal platform
      • a0335d1b wdttb: Update on watchdog interrupt examples
  • 2020.2
    • summary
      • wdttb: Fixed MISRA-C violations
      • wdttb: Updated GWOR offset and interrupt id
      • wdttb: update tcl with wwdt support
      • wdttb: Remove Generic WDT interrupt example for no standard out
      • wdttb: Add interrupt connection check for Generic WDT example
      • wdttb: Update Makefile for parallel make execution
    • Commits
      • 1f23bb wdttb: Updated GWOR offset and interrupt id
      • a7930a wdttb: update tcl with wwdt support 
      • 824a0  wdttb: Remove Generic WDT interrupt example for no standard out 
      • 207931 Add interrupt connection check for Generic WDT example
      • 979dec wdttb: Update Makefile for parallel make execution