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

pwm_library programming cann't run in softdevice

hello,

Now i remove pwm_library programming in ble_app_uart_c(central) of SDK15.0 to produce a 125KHz PWM waveform.

But i found the program cann't run in NRF52 DK.

pwm_library can run normally with no softdevice.

I found it builds no errors but was stuck in this code:

app_pwm_config_t pwm1_cfg =  APP_PWM_DEFAULT_CONFIG_1CH(5000L, 31) ; 

I mean the chip cann't run this code and cann't continue to work.

My code is in attenchment and the path is nRF5_SDK_15.0.0-52832\nRF5_SDK_15.0.0_a53641a\examples\ble_central

I don't know why.

Liuble_app_uart_c -PWM.rar

Related