I am trying to figure out how to use the TimerManager in the SDK (fsl_component_timer_manager.[ch]). I don't see anything in the SDK documentation about it and I can't find anything here. Is it documented somewhere?
I have in the past used the PIT timer to run a homegrown timer module (multiple independent timers from one timer source with callbacks). It looks like the timer manager should be able to replace my homegrown solution but I don't know.
I can't find any examples for the timer manager either. Has anybody used it?
What I'm not seeing is how the link between FTM0 or PIT is made to the timer manager.
Thanks.
Solved! Go to Solution.
Hello,
I'm using the SDK v2.11.0 from the K64-EVK board and I add that library with these steps.
Select your project and then select the icon in the yellow mark.
Then select the Software Component.
Type timer or manager and this will show, you can select direct or you can manage how this library works.
Documentation [MCUXpresso SDK API Reference Manual: Manager (nxp.com)]
Best regards,
Pavel
Hello,
Could you tell me about the MCU or Board you are using? please.
Best regards,
Pavel
It's the MK64FN1M0VDC12
Hello,
I was reviewing the SDK, but Could you tell me about the IDE you are using? please.
Best regards,
Pavel
MCUXpresso IDE v11.4.0 [Build 6224] [2021-07-15]
Hello,
I'm using the SDK v2.11.0 from the K64-EVK board and I add that library with these steps.
Select your project and then select the icon in the yellow mark.
Then select the Software Component.
Type timer or manager and this will show, you can select direct or you can manage how this library works.
Documentation [MCUXpresso SDK API Reference Manual: Manager (nxp.com)]
Best regards,
Pavel
Thanks, I was able to add the library, I just couldn't find the documentation. NXP might want to put a link to the documentation on the SDK home page (SDK).
Also, that link you provided to the documentation is Rev 0. Is that the latest? I'm finding errors in the button documentation:
1) button_gpio_config_t has three fields in the documentation, but four in the source
2) BUTTON_HANDLE_DEFINE takes two arguments in the documentation, but one in the source. BUTTON_HANDLE_ARRAY_DEFINE takes two arguments, but isn't documented.
I gotta believe there's a newer rev of the documentation out there, but I can't find it.
Hello,
Could you try to update the SDK and then search if the document is here?
Best regards,
Pavel
Thanks - I didn't know that was there. The only thing it shows, is two PDFs, Release notes and Getting started.