STM32 pwm mastermode

Browse source code on GitHub

Overview

Devicetree configuration for event generation on the interconnect matrix by the timer module (master mode selection / trigger output TRGO) and the usage of these triggers for timer synchronization (slave mode / trigger input) of an STM32 device. The PWM API is used to configure the PWM signal.

Requirements

This sample requires the support of two master/slave mode-compatible timer blocks.

Building and Running

west build -b nucleo_g070rb samples/boards/st/pwm/mastermode

See also

PWM