This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Questions about the Nor51822 BLE and PWM?

How do you do

Now use the Nordic \ nRF5_SDK_12 2.0 _f012efa \ examples \ ble_peripheral \ ble_app_uart this plus Nordic \ nRF5_SDK_12 2.0 _f012efa \ examples \ peripheral \ pwm_library this routine.

  1. Only PWM operation, use the bluetooth connection will be disconnected after sending data.I ask, is there any way to solve this?

  2. There is a problem is PWM Pwm1_cfg. Pin_polarity [0] = APP_PWM_POLARITY_ACTIVE_LOW; Pwm1_cfg. Pin_polarity [1] = APP_PWM_POLARITY_ACTIVE_HIGH; The polarity, in contrast, only 50% duty cycle is also good, if only 20% duty cycle appeared two road waveform is not the same, now want to two road waveform, and the 20% duty cycle is two way as the waveform. image description

Related