Generating pwm with gpio-24 adapter

tech_guru

Joined Oct 26, 2009
1
By using GPIO24 adapter, You can generate a PWM wave. To configure pins for PWM use GPIO_SET_CFG command.
Also the GPIO_SET_PWM_CFG command is assigned to set configuration settings for generating the pwm wave.
PWM mode is configured by specifying the high time (T1) period and low time (T0) period in ms.
All available configurable pins can be set for PWM output in this adapter.
 

vlad79

Joined Oct 27, 2009
1
By using GPIO24 adapter, You can generate a PWM wave. To configure pins for PWM use GPIO_SET_CFG command.
Also the GPIO_SET_PWM_CFG command is assigned to set configuration settings for generating the pwm wave.
PWM mode is configured by specifying the high time (T1) period and low time (T0) period in ms.
All available configurable pins can be set for PWM output in this adapter.
I see they have both PWM and HPWM. Do you know what is the difference?
 

Thread Starter

flashman

Joined Oct 26, 2009
2
The PWM (Low frequency pulse width modulation) is implemented in GPIO-24 Adapter firmware. The HPWM (High-frequency pulse width modulation) interface is based on the PWM module of the PIC18F4455 microcontroller. For more details read http://www.diolan.com/io/pwm.html as was mentioned by beenthere.
 
Top