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 Board | Timer | PWM Pins | Default Frequencies |
---|---|---|---|
Teensy 4.1 | FlexPWM1.0 | 1, 44, 45 | 4.482 kHz |
FlexPWM1.1 | 0, 42, 43 | ||
FlexPWM1.2 | 24, 46, 47 | ||
FlexPWM1.3 | 7, 8, 25 | ||
FlexPWM2.0 | 4, 33 | ||
FlexPWM2.1 | 5 | ||
FlexPWM2.2 | 6, 9 | ||
FlexPWM2.3 | 36, 37 | ||
FlexPWM3.0 | 54 | ||
FlexPWM3.1 | 28, 29 | ||
FlexPWM3.3 | 51 | ||
FlexPWM4.0 | 22 | ||
FlexPWM4.1 | 23 | ||
FlexPWM4.2 | 2, 3 | ||
QuadTimer1.0 | 10 | 3.611 kHz | |
QuadTimer1.1 | 12 | ||
QuadTimer1.2 | 11 | ||
QuadTimer2.0 | 13 | ||
QuadTimer3.0 | 19 | ||
QuadTimer3.1 | 18 | ||
QuadTimer3.2 | 14 | ||
QuadTimer3.3 | 15 | ||
Teensy 4.0 | FlexPWM1.0 | 1, 36, 37 | 4.482 kHz |
FlexPWM1.1 | 0, 34, 35 | ||
FlexPWM1.2 | 24, 38, 39 | ||
FlexPWM1.3 | 7, 8, 25 | ||
FlexPWM2.0 | 4, 33 | ||
FlexPWM2.1 | 5 | ||
FlexPWM2.2 | 6, 9 | ||
FlexPWM3.1 | 28, 29 | ||
FlexPWM4.0 | 22 | ||
FlexPWM4.1 | 23 | ||
FlexPWM4.2 | 2, 3 | ||
QuadTimer1.0 | 10 | 3.611 kHz | |
QuadTimer1.1 | 12 | ||
QuadTimer1.2 | 11 | ||
QuadTimer2.0 | 13 | ||
QuadTimer3.0 | 19 | ||
QuadTimer3.1 | 18 | ||
QuadTimer3.2 | 14 | ||
QuadTimer3.3 | 15 |
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 Board | Input Data Resolution | PWM Value | Generated PWM Output Frequency (Hz) for CPU Speeds: 600 MHz, 450 MHz | Generated PWM Output Frequency (Hz) for CPU Speeds: 528 MHz, 396 MHz | Generated PWM Output Frequency (Hz) for CPU Speeds: 24 MHz |
---|---|---|---|---|---|
Teensy 4.0 and 4.1 | 8 | 0–255 | 585937.5 | 515625 | 93750 |