This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
subdevices [2020/06/09 16:35] – [PPWA] ursgraf | subdevices [2021/01/15 13:13] – [Watchdog] ursgraf | ||
---|---|---|---|
Line 98: | Line 98: | ||
===== Watchdog ===== | ===== Watchdog ===== | ||
- | The watchdog is a decrementing counter which will fire as soon as it reaches 0. The counter decrements with every clock cycle. Is has to be set periodically to a desired value to prevent the watchdog of running out. This preset value determines the watchout time. Make sure to set the base clock of this subdevice correctly (in Altera or Vivado), because the watchdog timer is derived from that clock. | + | The watchdog is a decrementing counter which will fire as soon as it reaches 0. The counter decrements with every clock cycle. Is has to be set periodically to a desired value to prevent the watchdog of running out. This preset value determines the watchout time. Make sure to set the base clock of this subdevice correctly (in Altera or Vivado), because the watchdog timer is derived from that clock. The field '' |
^Offset^Size [byte] ^Name^r/ | ^Offset^Size [byte] ^Name^r/ | ||
Line 108: | Line 108: | ||
| 31 | ... | 07 | 06 | 05 | 04 | 03 | 02 | 01 | 00 | | | 31 | ... | 07 | 06 | 05 | 04 | 03 | 02 | 01 | 00 | | ||
| | | | | | | | |rearm|status| | | | | | | | | | |rearm|status| | ||
- | status: shows the value of the watchdog signal. If ' | + | status: shows the value of the watchdog signal. If ' |
rearm: When the watchdog has fired (timed out), it has to be reset with this signal. Write ' | rearm: When the watchdog has fired (timed out), it has to be reset with this signal. Write ' | ||
- | counter: before the watchdog | + | counter: |
=== Outputs === | === Outputs === | ||
+ | This subdevice uses two pins on the FPGA device. The two output are as follows | ||
+ | * watchdog_pwm: | ||
+ | * granted: outputs logic ' | ||
===== Sensor ===== | ===== Sensor ===== |