Sep 24, 2020
03:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 24, 2020
03:56 AM
Hi,
as soon as CFGLCK is written and IfxScuWdt_setSafetyEndinit() is called, the processor goes to PC: 0x80000380 00 A0 DEBUG
see image below for registers at time of DEBUG
What is the cause for the DEBUG event?
CODE Below:
as soon as CFGLCK is written and IfxScuWdt_setSafetyEndinit() is called, the processor goes to PC: 0x80000380 00 A0 DEBUG
see image below for registers at time of DEBUG
What is the cause for the DEBUG event?
CODE Below:
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();
- Tags:
- IFX
1 Reply
Sep 24, 2020
04:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 24, 2020
04:38 AM