TC4xx promo banner Banner_Aurix_Competition Banner_AURIX_Security-Solution Banner_AURIX_Safety_Products ShieldBuddy TC275 Banner_AURIX_DevelopmentStudio


+ Reply to Thread
Results 1 to 2 of 2

Thread: SMU resets on Unlock - TC234

  1. #1
    New Member New Member Fernandes is on a distinguished road
    Join Date
    Aug 2020
    Posts
    35
    Points
    222.5

    SMU resets on Unlock - TC234

    Hi,

    as soon as CFGLCK is written and IfxScuWdt_setSafetyEndinit() is called, the processor goes to PC: 0x80000380 00 A0 DEBUG Click image for larger version

Name:	Capture1.JPG
Views:	0
Size:	39.2 KB
ID:	5138

    see image below for registers at time of DEBUG

    What is the cause for the DEBUG event?

    CODE Below:
    Code:
    IfxDts_Dts_Config DTS_configuration;
       static float32 DTS_stored_temp_celsius_g;
    
       IfxScuWdt_clearSafetyEndinitInline(IfxScuWdt_getSafetyWatchdogPasswordInline());
       SCU_RSTCON.B.SMU = 0x1; /* Enable the SMU system reset request */
       IfxScuWdt_setSafetyEndinitInline(IfxScuWdt_getSafetyWatchdogPasswordInline());
    
    
       IfxSmu_unlock(&MODULE_SMU)
       IfxSmu_setAlarmConfig(&MODULE_SMU, IfxSmu_Alarm_ScuDtsTemperatureOverflow, IfxSmu_AlarmConfig_scuReset);
       IfxSmu_setAlarmConfig(&MODULE_SMU, IfxSmu_Alarm_ScuDtsTemperatureUnderflow, IfxSmu_AlarmConfig_scuReset);
       IfxSmu_lock(&MODULE_SMU);
    
       // Set SSM to RUN mode
       IfxSmu_start(&MODULE_SMU);
    
       IfxDts_Dts_initModuleConfig(&DTS_configuration);
    
       DTS_configuration.lowerTemperatureLimit = (float32)20.0;
       DTS_configuration.upperTemperatureLimit = (float32)40.0;
    
       // No DTS interrupts enabled
       DTS_configuration.isrPriority = 0;
    
       IfxDts_Dts_initModule(&DTS_configuration);
    
       DTS_stored_temp_celsius_g = IfxDts_Dts_getTemperatureCelsius();
    
       IfxDts_Dts_startSensor();
    ?????? ?????? Capture.JPG‎  

  2. #2
    New Member New Member Fernandes is on a distinguished road
    Join Date
    Aug 2020
    Posts
    35
    Points
    222.5
    attached is a copy of the project

    HelloSerial_TriBoardTC234A-Step.zip

+ 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.