GptChannelClkSrcRef - where is it in the code

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

GptChannelClkSrcRef - where is it in the code

ソリューションへジャンプ
2,426件の閲覧回数
Kanaqw
Contributor III

Here's the question. I'm changing config files in tresos, e.g. GptChannelClkSrcRef, but after I generate config, code doesnt change. Gpt_Cfg.c, Gpt_Cfg.h, Gpt_PBcfg.c - all same. Maybe I dont understand something? Code doesnt have errors. Maybe it is in another module (but not in mcu, I've checked that already)

0 件の賞賛
返信
1 解決策
2,410件の閲覧回数
hungnguyenphi
NXP Employee
NXP Employee

Hello @Kanaqw ,

 

If user change the GptChannelClkSrcRef, the value GptChannelTickFrequency will also need to change/update. And it will show to the tick frequency of the timer in the bus with this GPT channel clock(Note that user need to choose the correct reference clock which they have set up by the MCU module). And yes, the GptChannelClkSrcRef will not effect the generated configuration of the GPT channel(but if user choose the wrong reference clock, the real frequency of the GPT channel will be not the same with the GptChannelTickFrequency). But it will effect another module which use this GPT channel (Eg WDG).  

 

Best regards,

Hung

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
2,411件の閲覧回数
hungnguyenphi
NXP Employee
NXP Employee

Hello @Kanaqw ,

 

If user change the GptChannelClkSrcRef, the value GptChannelTickFrequency will also need to change/update. And it will show to the tick frequency of the timer in the bus with this GPT channel clock(Note that user need to choose the correct reference clock which they have set up by the MCU module). And yes, the GptChannelClkSrcRef will not effect the generated configuration of the GPT channel(but if user choose the wrong reference clock, the real frequency of the GPT channel will be not the same with the GptChannelTickFrequency). But it will effect another module which use this GPT channel (Eg WDG).  

 

Best regards,

Hung

0 件の賞賛
返信