ZERO SOM/ZERO Hardware/Peripherals/Timer

From DAVE Developer's Wiki
Jump to: navigation, search
History
Issue Date Notes
2025/06/17 First release


Peripheral Timer[edit | edit source]

The RZ/T2H SoC in the ZERO SOM has a on-chip multi-function timer (MTU) pulse unit with a total of 9 channels:

  • 8 channels x 16 bits
  • 1 channel x 32 bits

Description[edit | edit source]

The MTU has:

  • 28 pulse-input/output maximum and 3 pulse-input line
  • 10, 11, 12, or 14 counter-input clock signals for each channel (with maximum operating frequency of 250 MHz)
  • Input capture function and 39 output compare/input capture registers
  • Counter clear operation (synchronous clearing by compare match/input capture)
  • Simultaneous writing to multiple timer counters (TCNT)
  • Simultaneous register input/output by synchronous counter operation
  • Pulse output mode: toggle/PWM/complementary PWM/reset-synchronized PWM
  • Complementary PWM output mode
    • Outputs non-overlapping waveforms for controlling 3-phase inverters
    • Automatic specification of dead times
    • PWM duty cycle: Selectable as any value from 0% to 100%
    • Delay can be applied to requests for A/D conversion
    • Non-generation of interrupt requests at peak or trough values of counters can be selected
    • Double buffer configuration
  • Reset synchronous PWM mode: six phases of positive and negative PWM waveforms can be output with desired duty cycles
  • Phase-counting mode: 16-bit mode (channels 1 and 2), 32-bit mode (channels 1 and 2 in cascade connection)
  • Counter functionality for dead-time compensation
  • Generation of triggers for A/D converter conversion: A/D converter start triggers can be skipped
  • Digital noise filter function for signals on the input capture and external counter clock pins