Kinetis SDK Timer Manager?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Kinetis SDK Timer Manager?

ソリューションへジャンプ
2,036件の閲覧回数
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,959件の閲覧回数
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,018件の閲覧回数
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,016件の閲覧回数
JBM
Contributor IV

It's the MK64FN1M0VDC12

0 件の賞賛
2,008件の閲覧回数
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,006件の閲覧回数
JBM
Contributor IV

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

0 件の賞賛
1,960件の閲覧回数
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,928件の閲覧回数
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,895件の閲覧回数
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,845件の閲覧回数
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 件の賞賛