Plain NETMF on Cerb40

And the way I read this, if you actually want B5, you want Pin 21 not 25, and that’s channel 6. (hoping I’m reading that right)

A little confused by the PWM_CHNL #define

But what you mean by:
“where channel 0 is C6 and channel 15 is B9”

Is something like this? Arranged from LSB to MSB…

Pin: C6, A7, C7, A8, B0, B1, B5, B4, B3, B11, B10, A10, A9, A15, B8, B9
PWM Channel: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15

Thanks everyone for your help!

Here is the Cerb-Family NetMF PWM Channel to Pin chart:

PWM Channel 0… PC6
PWM Channel 1… PA7
PWM Channel 2… PC7
PWM Channel 3… PA8
PWM Channel 4… PB0
PWM Channel 5… PB1
PWM Channel 6… PB5
PWM Channel 7… PB4
PWM Channel 8… PB3
PWM Channel 9… PB11
PWM Channel 10… PB10
PWM Channel 11… PA10
PWM Channel 12… PA9
PWM Channel 13… PA15
PWM Channel 14… PB8
PWM Channel 15… PB9

A more comprehensive chart will be on the wiki soon.