This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

About the PWM routines demo5 nrf52832 Settings?

How do you do Now use E: \ Nordic \ nRF5_SDK_12 2.0 \ examples \ peripheral \ pwm_driver \ pca10040 demo5 pwm_driver routine There are two problems:

  1. How to change the PWM duty cycle, he tried to such a change But no matter use, const nrf_pwm_values_individual_t / * * / seq_values [] = { {m_demo1_step | 0 x8000, 0, 0, 0}. {0, m_demo1_step | 0 x8000, 0, 0}. {0, 0, m_demo1_step | 0 x8000, 0}. {0, 0, 0, m_demo1_step | 0 x8000} }; image description

2.About PWM pin configuration on the official 52832 development board, p0.00 p0.01 p0.06 cannot output PWM, PWM pins have restrictions can not every IO mouth? image description

Parents Reply Children
No Data
Related