5.7.5 Security

The PIC16F, PIC18F, and PIC32CM MCUs offer different levels of hardware security. The following table provides a summary of available security features for each MCU architecture.

Table 5-30. PIC16F, PIC18F, and PIC32CM Security Features
Features/ PeripheralsPIC16PIC18FPIC32CM M0+PIC32CM M23
Security TypeBasicBasicEssentialAdvanced
Lock bitsSupportedSupportedSupportedSupported
Hardware Secure bootSoftware-based onlySoftware-based onlySoftware-based onlySupported
CRCSupportedSupportedSupportedSupported
Write Access ControlFor system-critical registers only

through Configuration bits

For system-critical registers, and memory regions

through Configuration bits

All peripherals

Integrated in Peripheral Access Controller (PAC)

All peripherals

Integrated in Peripheral Access Controller (PAC)

Debug SupportICSP™ (In-Circuit Serial Programming)ICSP (In-Circuit Serial Programming)Integrated in Device Service Unit (DSU)Integrated in Device Service Unit (DSU)
TrustZoneN/AN/AN/ASupported
Hardware CryptoSupported in legacy PIC16F with KeeLoq®N/AN/ACryptographic Accelerators

True Random Number Generator (TRNG)

Device Identity Composition Engine (DICE) support

Physical Unclonable Function (PUF)

Tamper DetectionN/AN/AN/ASupported

Refer to the PIC32CM Additional Features and Peripherals for additional information.