+ Reply to Thread
Results 1 to 7 of 7

Thread: [SOLVED] TLE9879QXA40 software reset or WDT reset problem

  1. #1
    Beginner Beginner jacko is on a distinguished road
    Join Date
    Sep 2018
    Posts
    11
    Points
    76.25

    [SOLVED] TLE9879QXA40 software reset or WDT reset problem

    Hi All,
    I trigger the sotware reset or WDT reset when running, the system working abnormally. But when debugging, it is right. How to solve this problem?

  2. #2

    Infineon Employee
    Infineon Employee
    Lykaon is on a distinguished road
    Join Date
    Jun 2018
    Location
    Germany
    Posts
    28
    Hi jacko,
    you have to service the WDT accordingly.
    bool WDT1_Service(void)
    {
    bool bResult;
    bResult = false;
    /* check if Window Counter is beyond 70% of WDT1 period *
    * or if a SOW service has been done before */

    if ((WD_Counter > (uint32)SCUPM_WDT1_TRIGGER) || (bSOWactive == true))
    {
    /* service WDT1 */
    SCUPM->WDT1_TRIG.reg = (uint8) SCUPM_WDT1_TRIG;
    /* reset window counter */
    WD_Counter = 0u;
    /* reset "short open window" active flag */
    bSOWactive = false;

    bResult = true;
    }
    return (bResult);
    }
    Best 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
    Beginner Beginner jacko is on a distinguished road
    Join Date
    Sep 2018
    Posts
    11
    Points
    76.25
    Quote Originally Posted by Lykaon View Post
    Hi jacko,
    you have to service the WDT accordingly.

    Best regards
    Hi Lykaon,
    I should use the software reset after some operation, but after excuted the instruction, the system work abnormally.
    Best regards!

  4. #4
    New Member New Member Ambitious is on a distinguished road
    Join Date
    Jan 2019
    Posts
    1
    Points
    20

    Internal Watchdog timer

    Hello;
    I want to configure both the internal and external watchdog timer:
    I configured the external watchdog timer to 16 msec and refresh it , and it's working OK

    but when i configured the internal watchdog beside the external watchdog and configured it to work on 16 msec also, and refresh/not refresh the ECU will not reset
    But when i use it alone without External Refresh/not refresh cause the ECU to reset and indepeneded than the time i configured

    could you please let me know how i configure both (Internal and external) to work together and how/when can i refresh the internal
    is their any required scenario be taken into consideration to refresh the internal watchdog

  5. #5

    Infineon Employee
    Infineon Employee
    Lykaon is on a distinguished road
    Join Date
    Jun 2018
    Location
    Germany
    Posts
    28
    Hi Ambitious,
    in debug mode, the WDT is default suspended and stops counting. Are you aware of this fact?
    For me it looks like there is a miss-configuration. I will try to write a small example.
    Best 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.

  6. #6
    Beginner Beginner jacko is on a distinguished road
    Join Date
    Sep 2018
    Posts
    11
    Points
    76.25
    Quote Originally Posted by Lykaon View Post
    Hi Ambitious,
    in debug mode, the WDT is default suspended and stops counting. Are you aware of this fact?
    For me it looks like there is a miss-configuration. I will try to write a small example.
    Best regards
    Hi Lykaon,
    I should use the software reset after some flash-operations, but after excuted the soft-reset instruction, the system work abnormally.
    Best regards!

  7. #7

    Infineon Employee
    Infineon Employee
    Lykaon is on a distinguished road
    Join Date
    Jun 2018
    Location
    Germany
    Posts
    28
    Hi jacko,
    please be aware that the software reset is a specific reset type. So the "startup" behavior is different compared to an power on reset. For further support you can contact https://www.infineon.com/cms/en/abou...?redirId=56193
    Best 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.

+ Reply to Thread

Tags for this 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.