10 years, 7 months ago.

KL25Z?

What are the implementation details for the KL25Z board?

Question relating to:

1 Answer

10 years, 7 months ago.

I assume you mean PwmOut? It is handy to mention it in the question, since otherwise we only see that you put it related to PwmOut. Also a bit more specific question is nice, what exactly are you looking for?

What I can tell you is that it runs at 0.75MHz on 16-bit hardware. So something like 86ms max period. I am really on a self-promotion streak today, so if you need more, what can help is: http://mbed.org/users/Sissors/code/FastPWM/. I only recently ported it to KL25Z, and also rewrote pretty much all code during that, so there might be bugs left. However what it does effectively for the KL25Z is not only setting the period register itself, but also adapting the prescaler. That way the tick speed can vary between 48MHz and 0.375MHz, with maximum periods of respectively 1.35ms and 170ms.

That is simply what the hardware can do, the LPCs have more PWM options.

Accepted Answer