Main Content

Supported Default PWM Frequencies and Pins on Arduino Compatible Teensy Boards

Use this table to configure the PWM block in your Simulink® model and map the default PWM frequencies with the hardware pins on your Arduino® compatible Teensy boards.

Arduino Compatible BoardTimerPWM PinsDefault Frequencies
Teensy 4.1FlexPWM1.01, 44, 454.482 kHz
FlexPWM1.10, 42, 43
FlexPWM1.224, 46, 47
FlexPWM1.37, 8, 25
FlexPWM2.04, 33
FlexPWM2.15
FlexPWM2.26, 9
FlexPWM2.336, 37
FlexPWM3.054
FlexPWM3.128, 29
FlexPWM3.351
FlexPWM4.022
FlexPWM4.123
FlexPWM4.22, 3
QuadTimer1.0103.611 kHz
QuadTimer1.112
QuadTimer1.211
QuadTimer2.013
QuadTimer3.019
QuadTimer3.118
QuadTimer3.214
QuadTimer3.315
Teensy 4.0FlexPWM1.01, 36, 374.482 kHz
FlexPWM1.10, 34, 35
FlexPWM1.224, 38, 39
FlexPWM1.37, 8, 25
FlexPWM2.04, 33
FlexPWM2.15
FlexPWM2.26, 9
FlexPWM3.128, 29
FlexPWM4.022
FlexPWM4.123
FlexPWM4.22, 3
QuadTimer1.0103.611 kHz
QuadTimer1.112
QuadTimer1.211
QuadTimer2.013
QuadTimer3.019
QuadTimer3.118
QuadTimer3.214
QuadTimer3.315

The following table provides the maximum frequency that the PWM block generates in your Simulink model for an 8-bit resolution input data.

Arduino Compatible BoardInput Data ResolutionPWM ValueGenerated PWM Output Frequency (Hz) for CPU Speeds: 600 MHz, 450 MHzGenerated PWM Output Frequency (Hz) for CPU Speeds: 528 MHz, 396 MHzGenerated PWM Output Frequency (Hz) for CPU Speeds: 24 MHz
Teensy 4.0 and 4.180–255585937.551562593750

See Also

|