infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 2 of 2

Thread: [SOLVED] TLE9879 Cortex M3 reset behavior

  1. #1
    New Member New Member Bguillot is on a distinguished road
    Join Date
    Jun 2018

    [SOLVED] TLE9879 Cortex M3 reset behavior

    I'm developing a custom embedded board with TLE9879, which works fine with the debugger attached. Yet, it's not always working when I'm running it stand-alone, whereas it does work stand-alone on the eval board.
    There is extra hardware on the eval board, not present on my custom board, but it should not be a problem.

    Do I need to configure something internal to the chip, so that it can get out of reset?
    Thanks a lot!

  2. #2

    Infineon Employee
    Infineon Employee
    Lykaon is on a distinguished road
    Join Date
    Jun 2018
    HI Bguillot,
    In case embedded code works fine in debugger mode and not in stand alone mode, there a 2 possible fail scenarios:
    1. Wrong No Activity Count (NAC) value. Device would wait for an LIN/FASTLIN/UART frame forever and embedded code does not start at all => You can double check if you can toggle a GPIO during initialisation or not.
    2. Wrong Watchdog Timer handling. Is the embedded code running (GPIO test) but after ~1s, device is performing an unintended reset? => Please double check your WDT handling.
    /************************************************** *************************
    ** main watchdog1 (WDT1) service **
    ************************************************** *************************/

    int WDT1_Service(void)
    int result;
    result = 0;
    /* check if Window Counter is beyond 70% of WDT1 period *
    * or if a SOW service has been done before */

    /*lint -e9050 Supressing MISRA 2012 Rule 12.1 */
    if ((WD_Counter > SCUPM_WDT1_TRIGGER) || (bSOWactive == true))
    /*lint +e9050 */
    /* service WDT1 */
    SCUPM->WDT1_TRIG.reg = (uint8) SCUPM_WDT1_TRIG;
    /* reset window counter */
    WD_Counter = 0u;
    /* reset "short open window" active flag */
    bSOWactive = false;

    result = 1;
    return (result);
    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


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.