Pulse Counter with S32K344

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

Pulse Counter with S32K344

286件の閲覧回数
HarshBolia
Contributor I

I want to configure one of the general purpose timers to use an externally generated PWM as reference input. Timer shall keep incrementing on every PWM pulse and should reset with an interrupt to the SW on reaching a configurable threshold. This way I can count the PWM pulses indefinitely.  

I could not find any timer which I can use for this purpose in the S32K344 reference manual. Any help is appreciated.

0 件の賞賛
返信
1 返信

265件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @HarshBolia,

The Emios_Icu driver can be used in EDGE_COUNTER mode with an overflow notification.

danielmartynek_0-1721738917210.png

 

Find all the available APIs of the driver in Emios_Icu_Ip.h

 

Regards,

Daniel

0 件の賞賛
返信