Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

AURIX™

Charlie9527
Level 1
First solution authored First reply posted First like given
Level 1

Hi

There is a square waveform and I want to count the rising edge.

Because the rising edge may caused 2000 times every second, if use irq method, the RTOS may do a lot of context switch, and I think it may waster too much.

Does the AURIX platform have any function to count the rising edge?

Can IOM be used for this case?

 

Thanks a lot.

0 Likes
1 Reply
Charlie9527
Level 1
First solution authored First reply posted First like given
Level 1

A submodule named TIEM(TIM Input Event Mode) in TIM can count the edge.

 

0 Likes