Sep 30, 2020
01:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 30, 2020
01:27 PM
I have two PWM sensor inputs which are phase delayed as shown in below diagram.
In Scenario_1
On Raising edge of PWM_Signal_1 comes first followed by raising edge of PWM_Signal_2
In Scenario_2
On Raising edge of PWM_Signal_2 comes first followed by raising edge of PWM_Signal_1
Any thoughts on how I can accomplish this through PWM driver using TC377x.
Any examples to do this will be great help.
In Scenario_1
On Raising edge of PWM_Signal_1 comes first followed by raising edge of PWM_Signal_2
In Scenario_2
On Raising edge of PWM_Signal_2 comes first followed by raising edge of PWM_Signal_1
Any thoughts on how I can accomplish this through PWM driver using TC377x.
Any examples to do this will be great help.
- Tags:
- IFX
- pwm tc3777
6 Replies
Oct 01, 2020
08:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 01, 2020
08:22 AM
Dear Community Members,
Any feedback on this topic ?
Any feedback on this topic ?
Oct 02, 2020
06:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 02, 2020
06:27 AM
To clarify, are you trying to use the MCAL PWM module to output one of the two scenarios above (from the AURIX to the sensors)? Or are you looking to distinguish between the two scenarios based on input coming from the sensors? The PWM module can only help in the output case.
Oct 04, 2020
02:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 04, 2020
02:29 PM
I am trying to differentiate between the two scenarios based on input coming from the sensors. Is this possible with the PWM module ?
Oct 05, 2020
07:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 05, 2020
07:38 AM
The PWM module is for output, but you can use the ICU driver in incremental interface mode (which uses the GPT12) to accomplish what you're trying to do.
Oct 05, 2020
10:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 05, 2020
10:28 AM
Thank you.
Do you have any example for the ICU /GPT12 driver module ? or any sample code for the scenario which I am trying to achieve ? This will be really helpful for me to get some head start.
Do you have any example for the ICU /GPT12 driver module ? or any sample code for the scenario which I am trying to achieve ? This will be really helpful for me to get some head start.
Oct 05, 2020
11:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 05, 2020
11:40 AM
There's an Incremental Encoder example in the iLLD. You can find it in the doc file on your installation, but Tasking graciously hosts it here:
http://doc.tasking.com/act/illd_1_0_0_11_0/TC27xD/html/group___ifx_lld___gpt12___incr_enc___usage.ht...
http://doc.tasking.com/act/illd_1_0_0_11_0/TC27xD/html/group___ifx_lld___gpt12___incr_enc___usage.ht...
This widget could not be displayed.