TLE9879 PWM Interface examples

Announcements

Webinar: Integrated solutions for smaller, simpler low-voltage motor control design.
Join the webinar to experience!

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

cross mob
User19199
Level 1
Level 1
Welcome! First question asked First reply posted
Hello,

the HW Design Guide for the TLE987x describes a PWM interface in addition to the LIN-Bus:
5316.attach

Does anybody have any experience using this PWM Interface
and are there any examples for applying it?

Thanks for any info or pointers.

Regards,
John
0 Likes
4 Replies
Fiz
Moderator
Moderator
Moderator
First like received 50 replies posted 25 replies posted
Hello John,

you can start by using the Timer2 PWm capture example from the SDK.
The example uses P1.2 to capture the PWM, but you can also use the LIN signal as external trigger for Timer2.

Best,
Fiz
User19199
Level 1
Level 1
Welcome! First question asked First reply posted
Hello Fiz,

thank you for your suggestion. I have worked with this example, but I was uncertain
if I was maybe missing something that was specifically intended here.

If I choose to use the LIN input, do I need to change the pin function to LHVIO-Mode
and can the PWM signal be used to wake up the TLE9879 from sleep mode?

Regards,
John
0 Likes
Fiz
Moderator
Moderator
Moderator
First like received 50 replies posted 25 replies posted
Hello John,

exactly the LIN transceiver has to be configured to LHVIO-mode.
Since the WMU (wake-up managment-unit) is actiavted when the LIN bus goes to dominant, the PWM can wake-up the device.
You only have to make sure that the dominant-pulse is long enough:
5372.attach

Best,
Fiz
0 Likes
User19199
Level 1
Level 1
Welcome! First question asked First reply posted
Hello Fiz,

thanks for the confirmation and the note about the impulse time.

Another question. Is it possible to use the LIN input pin as an input for both LIN
and PWM (but not at the same time, of course) with some signal recognition
that then switches between the corresponding configuration
and signal processing?

Greetings,
John
0 Likes