External Sync
Purpose
External synchronization port for HRTIM and PWM blocks
Library
STM32
Description
The External Sync block allows to synchronize the start of connected HRTIM and PWM blocks based on an external signal. In addition, the External Sync block allows to reset the internal counter of the connected HRTIM and PWM block to zero when a rising or falling edge was detected on the external signal connect to the specified pin. The External Sync block can also be used to generate an external synchronization signal.
Parameters
- Synchronization
Specifies if the External Sync block should act as master or slave. If set to
react to external SYNC signal (slave)the External Sync block reads in an external synchronization signal and allows synchronizing HRTIM and PWM blocks to an external signal. If set togenerate external SYNC signal (master)the External Sync block generates a synchronization signal at the specified pin. This generated signal can be used on a different MCU board in order to synchronize the PWM signals together.- Synchronization behaviour (slave)
Specifies if the External Sync block should only start the connected HRTIM or PWM counter (
Start on sync) or should also reset them (Start and reset on sync).- Synchronization behaviour (master)
If set to
Output positive pulsethe External Sync block will generate a synchronization pulse changing from 0V towards the positive voltage reference. If set toOutput negative pulsethe External Sync block will generate a falling edge synchronization pulse changing from the positive voltage reference towards 0V.- Port
Selects the port name.
- Pin
Defines the pin number.
- Input characteristic
Specifies whether an internal pull-up or pull-down resistor is connected to the input. If
high impedanceis selected no internal pull resistor is connected.- Output characteristic
Specifies whether an internal pull-pull or open drain resistor is connected to the output.