Tone on P1 and core do not match

It looks like the P1 has PWM on the below pins:
“From the datasheet online
PWM is available on D0, D1, D2, D3, A4, A5, WKP, RX, TX with a caveat:
PWM timer peripheral is duplicated on two pins (A5/D2) and (A4/D3) for 7
total independent PWM outputs. For example: PWM may be used on A5 while
D2 is used as a GPIO, or D2 as a PWM while A5 is used as an analog
input. However A5 and D2 cannot be used as independently controlled PWM
outputs at the same time.”

But the below pins are defined for tone
Generates a square wave of the specified frequency and duration (and
50% duty cycle) on a timer channel pin (D0, D1, A0, A1, A4, A5, A6, A7,
RX, TX). "

With this current setup tone will only work the P1 with PWM pins (D0, D1, A4, A5, WKP,
RX, TX)?

If the firmware was updated then pins D2, D3 for the P1 could also have the Tone function?

Thanks for pointing that out! Do you think you can create a github issue for it and explain your observations there? It will get the attention of our firmware team quickly!



1 Like

thanks submitted on issues

1 Like