SAM L10/L11 Reset Controller (RSTC)

Last modified by Microchip on 2023/11/21 21:12

Overview

The Reset Controller (RSTC) manages the Reset of the microcontroller. It issues a microcontroller Reset, sets the device to its initial state and allows the Reset source to be identified by software. The RSTC collects the various Reset sources and generates a Reset signal for the device. After a Power-on Reset (POR), the RSTC is enabled and the Reset Cause (RCAUSE) register indicates the POR source. The RSTC module is always enabled and is active in all Sleep modes.

Features

  • Reset the microcontroller and set it to an initial state according to the Reset source
  • Reset the cause register for reading the Reset source from the application code
  • Multiple Reset sources
    • Power supply Reset sources: Power-on Reset (POR), Brown-Out-Detection (BOD12, BOD33)
    • User Reset sources: External Reset (RESET), Watchdog Reset, and System Reset Request

Block Diagram

saml10 reset controller block diagram

SAM L11 TrustZone® Specific Register Access Protection

On SAM L11 devices, this peripheral has different access permissions depending on Peripheral Access Controller (PAC) Security Attribution (Secure or Non-Secure):

  • If the peripheral is configured as Non-Secure in the PAC:
    • Secure access and Non-Secure access are granted
  • If the peripheral is configured as Secure in the PAC:
    • Secure access is granted
    • Non-Secure access is discarded (writes are ignored, reads return 0x0) and a PAC error is triggered

Principle of Operation

The latest Reset cause is available in the RCAUSE register and can be read during the application boot sequence in order to determine the proper action.

Reset sources fall into the following groups:

  • Power supply Resets: Those caused by an electrical issue (covers POR and BODs Resets)
  • User Resets: Those caused by the application (covers External Resets, System Reset Requests and Watchdog Resets)

The following table lists the parts of the device that are reset, depending on the Reset type.

saml10 reset controller table

The external Reset is generated when pulling the RESET pin low.

Refer to the RSTC – Reset Controller chapter from the product datasheet for more details.