RA Flexible Software Package Documentation
Release v5.6.0
|
|
Configuration | Options | Default | Description |
---|---|---|---|
Security | |||
Security > Exceptions | |||
Exception Response |
| Non-Maskable Interrupt | Configure the result of a TrustZone Filter exception. This exception is generated when the TrustZone Filter detects access to a protected region. This setting is only valid when building projects with TrustZone. |
BusFault, HardFault, and NMI Target |
| Secure State | Value for SCB->AIRCR register bit BFHFNMINS. Defines whether BusFault and NMI exceptions are Non-secure, and whether exceptions target the Non-secure HardFault exception. This setting is only valid when building projects with TrustZone. |
Prioritize Secure Exceptions |
| Disabled | Value for SCB->AIRCR register bit PRIS. When enabled, all Non-secure interrupt priorities are automatically demoted by right shifting their priority by one then setting the most significant bit. As there is effectively one less bit care must be taken to ensure the prioritization of non-secure interrupts is correct. This setting is only valid when building projects with TrustZone. |
Security > SRAM Accessibility | |||
SRAM Protection |
| Both Secure and Non-Secure State | Defines whether SRAMPRCR is write accessible for the Non-secure application. This setting is only valid when building projects with TrustZone. |
SRAM ECC |
| Both Secure and Non-Secure State | Defines whether SRAM ECC registers are write accessible for the Non-secure application. This setting is only valid when building projects with TrustZone. |
Standby RAM |
| config.bsp.fsp.tz.stbramsar.both | Defines whether Standby RAM registers are accessible for the Non-secure application. This setting is only valid when building projects with TrustZone. |
Security > BUS Accessibility | |||
Bus Security Attribution Register A |
| Both Secure and Non-Secure State | Defines whether the Slave Bus Control Registers (BUSSCNT<slave>) are write accessible for the Non-secure application. This setting is only valid when building projects with TrustZone. |
Bus Security Attribution Register B |
| Both Secure and Non-Secure State | Defines whether the Bus and DMAC/DTC Error Clear Registers are write accessible for the Non-secure application. This setting is only valid when building projects with TrustZone. |
System Reset Request Accessibility |
| Secure State | Value for SCB->AIRCR register bit SYSRESETREQS. Defines whether the SYSRESETREQ bit is functional for Non-secure use. This setting is only valid when building projects with TrustZone. |
Cache Accessibility |
| Both Secure and Non-Secure State | Defines whether the Cache registers are write accessible for the Non-secure application. This setting is only valid when building protjects with TrustZone. |
System Reset Status Accessibility |
| Both Secure and Non-Secure State | Defines whether the reset status registers (RSTSRn) can be cleared from the Non-secure application. This setting is only valid when building projects with TrustZone. |
Battery Backup Accessibility |
| Both Secure and Non-Secure State | Defines whether the battery backup registers are accessible for the Non-secure application. If Secure State is selected, all battery backup registers are read only except for VBTBKRn registers which are both read and write protected. This setting is only valid when building projects with TrustZone. |
Flash Bank Select Accessibility |
| Both Secure and Non-Secure State | Defines whether the BANKSEL register is write accessible for the Non-secure application. This setting is only valid when building projects with TrustZone. |
Uninitialized Non-Secure Application Fallback |
| Enable Uninitialized Non-Secure Application Fallback | If enabled, the secure application checks if the non-secure application has been programmed in non-secure flash before branching. If the non-secure application has not been programmed, then the secure application branches to an infinite loop in non-secure RAM. This prevents an issue where the debugger may not connect if the MCU is configured in the NSECSD lifecycle state. |
OFS0 register settings | |||
OFS0 register settings > Independent WDT | |||
Start Mode |
| IWDT is stopped after a reset | |
Timeout Period |
| 2048 cycles | |
Dedicated Clock Frequency Divisor |
| 128 | |
Window End Position |
| 0% (no window end position) | |
Window Start Position |
| 100% (no window start position) | |
Reset Interrupt Request Select |
| Reset is enabled | |
Stop Control |
| Stop counting when in Sleep, Snooze mode, or Software Standby | |
OFS0 register settings > WDT | |||
Start Mode Select |
| Stop WDT after a reset (register-start mode) | |
Timeout Period |
| 16384 cycles | |
Clock Frequency Division Ratio |
| 128 | |
Window End Position |
| 0% (no window end position) | |
Window Start Position |
| 100% (no window start position) | |
Reset Interrupt Request |
| Reset | |
Stop Control |
| Stop counting when entering Sleep mode | |
OFS1_SEL register settings | |||
Voltage Detection 0 Level Security Attribution |
| VDSEL setting loads from OFS1_SEC | |
Voltage Detection 0 Circuit Start Security Attribution |
| LVDAS setting loads from OFS1_SEC | |
OFS1 register settings | |||
Voltage Detection 0 Circuit Start |
| Voltage monitor 0 reset is disabled after reset | |
Voltage Detection 0 Level |
| 2.80 V | |
HOCO Oscillation Enable |
| HOCO oscillation is disabled after reset | |
Block Protection Settings (BPS) | |||
BPS0 | Refer to the RA Configuration tool for available options. | 0U | Configure Block Protection Register 0 |
BPS1 |
| 0U | Configure Block Protection Register 1 |
BPS2 | Refer to the RA Configuration tool for available options. | 0U | Configure Block Protection Register 2 |
Permanent Block Protection Settings (PBPS) | |||
PBPS0 | Refer to the RA Configuration tool for available options. | 0U | Configure Permanent Block Protection Register 0 |
PBPS1 |
| 0U | Configure Permanent Block Protection Register 1 |
PBPS2 | Refer to the RA Configuration tool for available options. | 0U | Configure Permanent Block Protection Register 2 |
Clocks | |||
HOCO FLL Function |
| Disabled | Setting this option to Enabled improves HOCO accuracy significantly by using the subclock, but incurs certain restrictions. The FLL function requires the subclock oscillator to be running and stabilized. When enabled and running the PLL or system clock from HOCO, the BSP will wait for both the Subclock Stabilization Time as well as the FLL Stabilization Time when setting up clocks at startup. When FLL is enabled Software Standby and Deep Software Standby modes are not available. |
Enable inline BSP IRQ functions |
| Enabled | Using static inline functions will slightly increase code size, but will slightly decrease cycles taken in ISRs in return. |
Startup C-Cache Line Size |
| 32 Bytes | Set the C-Cache line size configured during startup. |
Dual Bank Mode |
| Disabled | Enabling dual bank mode splits the flash into two banks that can be swapped by programming the BANKSEL non-volatile register. When enabled, one bank will start at address 0x0 and the other will start at 0x200000. Each bank contains exactly half the capacity of the entire code flash. When Dual Bank mode is enabled, Startup Program Protection and Block Swap functions cannot be used. |
Main Oscillator Wait Time |
| 8163 cycles | Number of cycles to wait for the main oscillator clock to stabilize. |
Macros | |
#define | BSP_ELC_PERIPHERAL_MASK |
Enumerations | |
enum | elc_event_t |
enum | elc_peripheral_t |
#define BSP_ELC_PERIPHERAL_MASK |
Positions of event link set registers (ELSRs) available on this MCU
enum elc_event_t |
Sources of event signals to be linked to other peripherals or the CPU
enum elc_peripheral_t |
Possible peripherals to be linked to event signals