How to select "generate code" selection for SetPeriodTicks within SystemTimer1

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

How to select "generate code" selection for SetPeriodTicks within SystemTimer1

ソリューションへジャンプ
1,962件の閲覧回数
MWMinor
Contributor V

Hi

 

Has anyone experienced difficulties changing the value for SetPeriodTicks to generate code within the SystemTimer1 for MQXLite...?

 

I'm using PEv10.6 and my target processor is on a TWR-KL25Z48M board.

 

I've checked Counter restart is set to On-match within properties but the SetPeriodTicks don't generate code is grey'd out.

 

Thanks

 

Ken

ラベル(1)
0 件の賞賛
返信
1 解決策
1,762件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Ken,

I received the answer from PE team ,

" the inherited component TimerUnit_LDD where the SetPeriodTicks is disabled by the MQXLite component's template. The SetPeriodTicks method is not allowed when the TimerUnit_LDD component inherited by MQXLite (this functionality is not supported by the MQXLite component)."

When you new add the component "TimerUnit_LDD " , it can cofiugure the SetPeriodTicks ,

pastedImage_0.png


Have a great day,
Alice

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
1,762件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Ken,

"PEv10.6" ?  Does the "PE" meaning the Processor Expert on CodeWarrior ? or PExDriver ?

If the former , what about the version of CW .

if the latter, as far as i know  the latest version is 10.4, where can find the  10.6, thank ! I will test it on my side .

BR

Alice

0 件の賞賛
返信
1,762件の閲覧回数
MWMinor
Contributor V

Hello Alice

Thanks for replying.

Yes V10.6 is the version of CodeWarrior.

If you use the project wizard to generate a new MQXLite project and go into the SystemTimer1 component and use the component inspector to view the methods - you will see the SetPeriodClicks - "Don't generate code" is greyed out making changing it impossible....

pastedImage_0.png

Is this a bug in Processor Expert component or am I missing something..?

Regards

Ken

0 件の賞賛
返信
1,763件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Ken,

I received the answer from PE team ,

" the inherited component TimerUnit_LDD where the SetPeriodTicks is disabled by the MQXLite component's template. The SetPeriodTicks method is not allowed when the TimerUnit_LDD component inherited by MQXLite (this functionality is not supported by the MQXLite component)."

When you new add the component "TimerUnit_LDD " , it can cofiugure the SetPeriodTicks ,

pastedImage_0.png


Have a great day,
Alice

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
1,762件の閲覧回数
MWMinor
Contributor V

Many thanks.......

Ken

0 件の賞賛
返信
1,762件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Ken,

I have test on my side, it also like yours , and i will ask for the PE expert , i will tell you .ASAP .

BR

Alice

0 件の賞賛
返信