samudiio opened a new pull request, #13151:
URL: https://github.com/apache/nuttx/pull/13151

   We will use the PB0 pin and the Timer 3 Channel 3 to generate this pulse
   
   ./tools/configure.sh stm32f411-minimum:pwm
   
   make menuconfig
   
   ->System Type -> STM32 Peripheral Support -> TIM3[*]
   ->System Type -> Timer configuration -> TIM3 PWM [*]
   ->System Type -> Timer configuration -> TIM3 PWM Output Channel (3)
   -> Device Drivers -> Timer Driver Support -> PWM Driver Support [*]
   -> Application Configuration -> Examples -> Pulse width modulation (PWM) 
example
                                            (/dev/pwm0) PWM device path
                                            (100) Default PWM frequency
                                            (5)   Default PWM duration
                                            (50)  Default PWM duty percentage
   
   make -j
   
   openocd -f interface/stlink.cfg -f target/stm32f4x.cfg -c init -c "reset 
halt" -c "flash write_image erase nuttx.bin 0x08000000"


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to