infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 6 of 6

Thread: [SOLVED] TLE9844-2QX: falling edge keeps erroneously being reported on MON5

  1. #1
    New Member New Member davidfcannock is on a distinguished road
    Join Date
    Aug 2018
    Posts
    4
    Points
    45

    [SOLVED] TLE9844-2QX: falling edge keeps erroneously being reported on MON5

    I'm developing an application for a TLE9844-2QX microcontroller and I'm having an issue where triggering an edge on certain MONs (1, 2, 3) also causes a falling edge on MON5, which is used to trigger the deletion of data stored in EEPROM.

    I've configured my high-voltage monitor inputs like this:

    Click image for larger version

Name:	ifxconfigwizard_2018-09-14_13-17-44.png
Views:	2
Size:	21.0 KB
ID:	3613

    I've confirmed using an oscilloscope that no edge occurs on MON5 when I trigger MON1/2/3, and yet the interrupt for it triggers:

    Click image for larger version

Name:	UV4_2018-09-14_13-20-38.png
Views:	0
Size:	11.6 KB
ID:	3614

    Has anyone encountered similar strange behaviour with the MON inputs for this board or a related one?
    Last edited by Lykaon; Sep 19th, 2018 at 06:47 AM.

  2. #2

    Infineon Employee
    Infineon Employee
    Lykaon is on a distinguished road
    Join Date
    Jun 2018
    Location
    Germany
    Posts
    13
    Hi,
    in your example the MON5 has no selection for either "wake on rising edge" nor "wake on falling edge. One of those settings are required to enable the comparator of the monitor pin.
    By the way, same setting is required for MON2.

    Kind regards
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  3. #3
    New Member New Member davidfcannock is on a distinguished road
    Join Date
    Aug 2018
    Posts
    4
    Points
    45
    I posted a pretty lengthy reply to this but it's not showing up. I'm not sure if there's some problem with these forums that caused it to get dropped, or whether I just need to wait for it to show up. I'll try again.

    Edit: Oh I see, before the redirect fired this time I noticed it said it requires moderator approval before it appears.
    Last edited by davidfcannock; Sep 17th, 2018 at 04:25 AM.

  4. #4
    New Member New Member davidfcannock is on a distinguished road
    Join Date
    Aug 2018
    Posts
    4
    Points
    45
    Hello Lykaon,

    Quote Originally Posted by Lykaon View Post
    in your example the MON5 has no selection for either "wake on rising edge" nor "wake on falling edge. One of those settings are required to enable the comparator of the monitor pin.
    By this do you mean the MON_STS bit will be inaccurate unless I configure one of these "wake on" options? Because I noticed this and thought it was a bug, and I submitted it to Infineon support who appear to be treating it as a bug as well (Case:3781286).

    Because I want to be able to read the status of these MONs but not use all of them as wake-up sources, I enable/disable them as wake-up sources within my application logic rather than through IFX Config Wizard:

    Click image for larger version

Name:	UV4_2018-09-17_11-01-47.png
Views:	0
Size:	16.0 KB
ID:	3619

    In this code, I'm enabling/disabling wake-up for MONs 1 and 2.

    I've also tried enabling MON 5 as a wake-up source (wake on rising edge) in IFX Config Wizard. I find that the interrupt is still erroneously triggering, although one difference I observe is that when the breakpoint I've set is hit, MON 5 will read as "low" if I don't configure it as a wake-up source and "high" if I do:

    Click image for larger version

Name:	UV4_2018-09-17_11-05-03.png
Views:	0
Size:	8.2 KB
ID:	3620Click image for larger version

Name:	UV4_2018-09-17_11-06-12.png
Views:	0
Size:	8.3 KB
ID:	3621

  5. #5
    New Member New Member davidfcannock is on a distinguished road
    Join Date
    Aug 2018
    Posts
    4
    Points
    45
    Configuring MON5 as pull-down instead of pull-up seems to resolve the issue - an interrupt only triggers when I apply a signal to MON5 and not when I manipulate the other MONs.

  6. #6

    Infineon Employee
    Infineon Employee
    Lykaon is on a distinguished road
    Join Date
    Jun 2018
    Location
    Germany
    Posts
    13
    Hi David,
    the mon has a edge detection, so you have to select either MONxRISE or MONx_FALL[. In case you don't want to have the MON pin as wake-up source, just deactivate before entering the power saving mode.
    For the case with the unintended status update on MON5, I would try to increase the filter time (just to exclude a cross-coupling effect on your board/setup) -> PMU_CNF_WAKE_FILTER

    Click image for larger version

Name:	pmu_setting_mon_tf.png
Views:	0
Size:	16.6 KB
ID:	3623
    Last edited by Lykaon; Sep 19th, 2018 at 06:25 AM.
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

+ Reply to Thread
Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.