Download Print this page
Infineon SMU Reset Alarm 1 Manual

Infineon SMU Reset Alarm 1 Manual

Reset triggered by an smu alarm, aurix tc2xx microcontroller training
Hide thumbs Also See for SMU Reset Alarm 1:

Advertisement

Quick Links

SMU_Reset_Alarm_1
Reset triggered by an SMU alarm
AURIX™ TC2xx Microcontroller Training
V1.0.0
Please read the Important Notice and Warnings at the end of this document

Advertisement

loading

Summary of Contents for Infineon SMU Reset Alarm 1

  • Page 1 SMU_Reset_Alarm_1 Reset triggered by an SMU alarm AURIX™ TC2xx Microcontroller Training V1.0.0 Please read the Important Notice and Warnings at the end of this document...
  • Page 2: Scope Of Work

    Scope of work The SMU triggers an alarm, which resets the device as preconfigured reaction. The Safety Management Unit (SMU) is configured to trigger a reset if an internal software alarm occurs. 2019-10-17 Copyright © Infineon Technologies AG 2019. All rights reserved.
  • Page 3 The SMU in combination with the embedded safety mechanisms, is able to detect and report more than 99% of the critical failure modes. › In this example, Software Alarm 0 is used to trigger a reset. 2019-10-17 Copyright © Infineon Technologies AG 2019. All rights reserved.
  • Page 4: Hardware Setup

    Hardware setup This code example has been developed for the board KIT_AURIX_TC297_TFT_BC-Step. 2019-10-17 Copyright © Infineon Technologies AG 2019. All rights reserved.
  • Page 5 To enable the SMU reset, the SMU field of the Reset Configuration Register (RSTCON) has to be set to 0x1 for a system reset or 0x2 for an application reset (SCU_RSTCON.B.SMU = 0x1). 2019-10-17 Copyright © Infineon Technologies AG 2019. All rights reserved.
  • Page 6 – Start the SMU state machine (SSM) with the function IfxSmu_cmd() and the parameter IfxSmu_Cmd_start. The functions above are provided by the iLLD headers IfxSmu.h and IfxSrc.h. 2019-10-17 Copyright © Infineon Technologies AG 2019. All rights reserved.
  • Page 7 Implementation Triggering of the alarm › The Software Alarm 0 can be triggered with the function IfxSmu_triggerAlarm() provided by the iLLD header IfxSmu.h. 2019-10-17 Copyright © Infineon Technologies AG 2019. All rights reserved.
  • Page 8 Run and Test After code compilation and flashing the device, check if LED D106 (1) is turned on. 2019-10-17 Copyright © Infineon Technologies AG 2019. All rights reserved.
  • Page 9 More code examples can be found on the GIT repository: › https://github.com/Infineon/AURIX_code_examples › For additional trainings, visit our webpage: › https://www.infineon.com/aurix-expert-training › For questions and support, use the AURIX™ Forum: › https://www.infineonforums.com/forums/13-Aurix-Forum 2019-10-17 Copyright © Infineon Technologies AG 2019. All rights reserved.
  • Page 10 Infineon Technologies in in personal injury. customer’s applications. The data contained in this document is exclusively intended for technically trained staff.