Kinetis SDK Timer Manager?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Kinetis SDK Timer Manager?

跳至解决方案
2,039 次查看
JBM
Contributor IV

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.

0 项奖励
1 解答
1,962 次查看
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

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.
Pavel_Hernandez_0-1655846522967.png

Then select the Software Component.

Pavel_Hernandez_1-1655846594121.png

Type timer or manager and this will show, you can select direct or you can manage how this library works.
Pavel_Hernandez_2-1655846716307.png

Pavel_Hernandez_3-1655846766982.png

Documentation [MCUXpresso SDK API Reference Manual: Manager (nxp.com)]

Best regards,
Pavel

 

 

在原帖中查看解决方案

0 项奖励
8 回复数
2,021 次查看
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello,

Could you tell me about the MCU or Board you are using? please.

Best regards,
Pavel

0 项奖励
2,019 次查看
JBM
Contributor IV

It's the MK64FN1M0VDC12

0 项奖励
2,011 次查看
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello,

I was reviewing the SDK, but Could you tell me about the IDE you are using? please.

Best regards,

Pavel

0 项奖励
2,009 次查看
JBM
Contributor IV

MCUXpresso IDE v11.4.0 [Build 6224] [2021-07-15]

0 项奖励
1,963 次查看
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

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.
Pavel_Hernandez_0-1655846522967.png

Then select the Software Component.

Pavel_Hernandez_1-1655846594121.png

Type timer or manager and this will show, you can select direct or you can manage how this library works.
Pavel_Hernandez_2-1655846716307.png

Pavel_Hernandez_3-1655846766982.png

Documentation [MCUXpresso SDK API Reference Manual: Manager (nxp.com)]

Best regards,
Pavel

 

 

0 项奖励
1,931 次查看
JBM
Contributor IV

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.

0 项奖励
1,898 次查看
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello,

Could you try to update the SDK and then search if the document is here?

Pavel_Hernandez_0-1656362127624.png

Best regards,
Pavel

 

0 项奖励
1,848 次查看
JBM
Contributor IV

Thanks - I didn't know that was there.  The only thing it shows, is two PDFs, Release notes and Getting started.

0 项奖励