Hello Mark,
Thanks for your answer. However, I'm still unable to get the PWM working.
Actually, I made some advancement, I now can see the counter counting in
debug mode. Meanwhile, no output is generated on PTB3 pin. I am using
oscilloscope.
I downloaded your .bin code and I can see the PWM signal on the scope along
with RGB led ob FRDM-KL25 board changing colors.
I don't have the u Tasker you suggested.
Could you please tell me what's is missing in my code? I am using keil.
Note that, I can't see the C1SC register to set it up; however (as shown in
the code below) I could have access to CnSC as: TPM2->Controls->CnSC.
Since I am using PTB3, then, as I understood, have to use TPM2_Ch1. But, I
can't have access to C1SC.
Here is my code, could you please help?
Best regards,
M.M.,
On Thu, Oct 29, 2015 at 6:46 PM, mjbcswitzerland <