Aug 13, 2021
03:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 13, 2021
03:24 AM
Hello,
the HW Design Guide for the TLE987x describes a PWM interface in addition to the LIN-Bus:
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
the HW Design Guide for the TLE987x describes a PWM interface in addition to the LIN-Bus:
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
- Tags:
- IFX
4 Replies
Aug 24, 2021
12:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 24, 2021
12:31 AM
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
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
Aug 24, 2021
11:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 24, 2021
11:55 PM
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
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
Sep 05, 2021
11:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 05, 2021
11:42 PM
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:
Best,
Fiz
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:
Best,
Fiz
Sep 06, 2021
03:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 06, 2021
03:03 AM
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
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