I reference demo1 of PWM driver example in SDK15.2.0, I make myself PWM driver. the official demo1 use pin17-20 as PWM channal1-channel4, but I use Pin9-P12, I modify the config file, like follow
//official configure
#define LED_START 17
#define LED_1 17
#define LED_2 18
#define LED_3 19
#define LED_4 20
#define LED_STOP 20
//my configure
#define LED_START 9
#define LED_1 9
#define LED_2 10
#define LED_3 11
#define LED_4 12
#define LED_STOP 12
then I use following the code to make the PWM on every channel, like this:
m_demo1_seq_values.channel_0 = 1000;
m_demo1_seq_values.channel_1 = 3000;
m_demo1_seq_values.channel_2 = 5000;
m_demo1_seq_values.channel_3 = 7000;
when I run the new image file on nrf52832 on my board(different to Pca10040), I find the Pin10 and Pin12 can output the PWM I want, But Pin9 and Pin10 do nothing, This makes me confused, I believe Pin9 and P10 are less different than Pin11 and Pin12, but why Pin9 and Pin10 don't output PWM I want. How I fix this issue?