TOM based PWM rising edge and falling edge registers

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

cross mob
K_anusha_ltts
Level 1
Level 1
First reply posted 10 sign-ins 5 sign-ins

Hi,

  • I have configured TOM to generate the PWM. Is there any register that notifies about the rising or the falling edge of the PWM in the TC297 Aurix Controller.
  • Also, Please let me know if there is any possibility to trigger ADC with the PWM generated.
  • if yes, how can we do it..?

 

Thanks in advance.

Anusha.K

0 Likes
2 Replies
TBencher
Level 6
Level 6
25 solutions authored 25 likes received 5 questions asked

Hi Anusha,

maybe you can go with the Input Output Monitor (IOM). There you can compare incoming or outgoing signals with a reference signal. You could do it also the old way looping signal into another GPIO and define an interrupt for falling or rising edges. I assume you will be sure about whether the signal is generated rather having some register information?

In case of the ADC question, please provide more detail. What exactly do you wanna trigger here? 

Best regards,

TBencher

0 Likes
TBencher
Level 6
Level 6
25 solutions authored 25 likes received 5 questions asked

Regarding GTM, there could be also other possibilities to connect outputs with inputs... BOSCH has a very good documentation on that, which should  also be part of the UM.

Best regards,

TBencher

0 Likes