AnsweredAssumed Answered

Control GPIO Pin with a Timer?

Question asked by Paul Swanson on Jul 4, 2019
Latest reply on Jul 9, 2019 by Paul Swanson



I want to know if it's possible to control (set / clear / toggle) GPIO pins directly with a timer on a FRDM-KL25Z?


I've worked previously with AVR 8 bit chips, and it's possible to set the timer expiry to directly manipulate GPIO pins. I've looked through a couple of relevant manuals, but can't really see how this can be achieved on this platform.


I'm not particular fussed about which timer module, so SysTick, TPM, PIT or whatever, I don't really mind. However, my preference would probably be PIT or SysTick as they have longer possible intervals than TPM (which I need).


Any help would greatly be appreciated as always.


Paul Swanson