Fast PWM

Top  Previous  Next
Got to SUB-20 page

Fast PWM outputs are available on SPI header pins 4,6,8 (see SPI Header). Outputs are referenced as FPWM_0, FPWM_1 and FPWM_2. All three outputs share the same PWM generation module in SUB-20 and have the same PWM frequency but separate duty cycle configuration.

 

 

Fast PWM frequency range is 8Mhz .. 0.238Hz. Duty cycle precision is 2..16 bits depending on the PWM frequency.

 

 

Functions

sub_fpwm_config

sub_fpwm_set