Download Print this page
Infineon SCU Reset Detection 1 Manual

Infineon SCU Reset Detection 1 Manual

Detection of reset type, aurix tc2xx microcontroller training

Advertisement

Quick Links

SCU_Reset_Detection_1
Detection of reset type
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 SCU Reset Detection 1

  • Page 1 SCU_Reset_Detection_1 Detection of reset type 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

    The AURIX™ TC2xx devices can be reset by various reset sources. The application software is able to determine the source of the last reset based on a routine that evaluates the related reset special function register. 2019-10-17 Copyright © Infineon Technologies AG 2019. All rights reserved.
  • Page 3 There are various reset triggers such as SupplyMonitor, EVRs, PORST, ESRx, JTAG. › Consequently, different reset types can be derived, such as Cold-/Warm- Power-On Reset, System Reset, Application Reset, Debug Reset, Module 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 Those bits are not cleared automatically and must be explicitly cleared by the application. › The local variable swReset can be used to specify the type of SW-Reset initiated by the function triggerSWReset(). 2019-10-17 Copyright © Infineon Technologies AG 2019. All rights reserved.
  • Page 6 › This function was developed only for testing purposes. Based on the local variable swReset, it triggers either a SW Application Reset or a SW System Reset. 2019-10-17 Copyright © Infineon Technologies AG 2019. All rights reserved.
  • Page 7 Check whether the lastReset.resetType is set to 'application' reset and whether the lastReset.resetTrigger is set to 'cb3'. Press button 'PORST' Perform steps through Check whether the lastReset.resetType is set to 'warmpoweron' reset and whether the lastReset.resetTrigger is set to 'porst'. 2019-10-17 Copyright © Infineon Technologies AG 2019. All rights reserved.
  • Page 8 'sw'. Set the local variable swReset to '2' Perform steps through Check whether the lastReset.resetType is set to 'system' reset and whether the lastReset.resetTrigger is set to 'sw'. 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.