Arm Keil MDK v6 Essential and Professional editions are now available to buy as monthly or annual subscriptions from our Developer Tools store. Visit the store to get access to the tools suite today!

  1. Packs
  2. SAMR21_DFP

Overview

The Microchip SAMR21 Series Device Family Pack (DFP) is a CMSIS-Pack that:

Related packs

    - pack: ARM::CMSIS

Devices

ATSAMR21E16A

An IEEE 802.15.4 compliant single chip combines an ARM® Cortex®-M0+ based 32-bit microcontroller and best-in-class 2.4GHz RF transceiver. It offers an excellent RF performance, with a link budget of 103dBm while consuming 50% less active current than existing offerings. The device features IEEE 802.15.4 MAC hardware accelerators and automatic transmission modes, wake-on-radio, offers twelve-channel direct memory access (DMA) controller, up to four configurable SERCOM modules for I2C, SPI and USART and a 128-bit AES crypto engine. The device features further blocks like a Peripheral Touch Controller (PTC), Full-Speed USB Device and embedded Host and hardware components to support RF distance measurements. To complement that set the SAM R21 also supports external power amplifiers and antenna diversity.Microchip's complimentary and confidential Wireless Check online design review service is available for customers who have selected our products for their application design-in. The online design review service is subject to Microchip's Program Terms and Conditions and requires a myMicrochip account.

Documentation:

Application Notes:

Additional Documents:

ATSAMR21E17A

An IEEE 802.15.4 compliant single chip combines an ARM® Cortex®-M0+ based 32-bit microcontroller and best-in-class 2.4GHz RF transceiver. It offers an excellent RF performance, with a link budget of 103dBm while consuming 50% less active current than existing offerings. The device features IEEE 802.15.4 MAC hardware accelerators and automatic transmission modes, wake-on-radio, offers twelve-channel direct memory access (DMA) controller, up to four configurable SERCOM modules for I2C, SPI and USART and a 128-bit AES crypto engine. The device features further blocks like a Peripheral Touch Controller (PTC), Full-Speed USB Device and embedded Host and hardware components to support RF distance measurements. To complement that set the SAM R21 also supports external power amplifiers and antenna diversity.Microchip's complimentary and confidential Wireless Check online design review service is available for customers who have selected our products for their application design-in. The online design review service is subject to Microchip's Program Terms and Conditions and requires a myMicrochip account.

Documentation:

Application Notes:

Additional Documents:

ATSAMR21E18A

An IEEE 802.15.4 compliant single chip combines an ARM® Cortex®-M0+ based 32-bit microcontroller and best-in-class 2.4GHz RF transceiver. It offers an excellent RF performance, with a link budget of 103dBm while consuming 50% less active current than existing offerings. The device features IEEE 802.15.4 MAC hardware accelerators and automatic transmission modes, wake-on-radio, offers twelve-channel direct memory access (DMA) controller, up to four configurable SERCOM modules for I2C, SPI and USART and a 128-bit AES crypto engine. The device features further blocks like a Peripheral Touch Controller (PTC), Full-Speed USB Device and embedded Host and hardware components to support RF distance measurements. To complement that set the SAM R21 also supports external power amplifiers and antenna diversity.The ATSAMR21E18A is available in a fully-certified module, ATSAMR21B18, optimized for zigbee lighting designs. Visit the module product page for more information. Microchip's complimentary and confidential Wireless Check online design review service is available for customers who have selected our products for their application design-in. The online design review service is subject to Microchip's Program Terms and Conditions and requires a myMicrochip account.

Documentation:

Application Notes:

Additional Documents:

ATSAMR21E19A

An IEEE 802.15.4 compliant single chip combines an ARM® Cortex®-M0+ based 32-bit microcontroller and best-in-class 2.4GHz RF transceiver. It offers an excellent RF performance, with a link budget of 103dBm while consuming 50% less active current than existing offerings. The device features IEEE 802.15.4 MAC hardware accelerators and automatic transmission modes, wake-on-radio, offers twelve-channel direct memory access (DMA) controller, up to four configurable SERCOM modules for I2C, SPI and USART and a 128-bit AES crypto engine. The device features further blocks like a Peripheral Touch Controller (PTC), Full-Speed USB Device and embedded Host and hardware components to support RF distance measurements. To complement that set the SAM R21 also supports external power amplifiers and antenna diversity.Microchip's complimentary and confidential Wireless Check online design review service is available for customers who have selected our products for their application design-in. The online design review service is subject to Microchip's Program Terms and Conditions and requires a myMicrochip account.

Documentation:

Application Notes:

Additional Documents:

ATSAMR21G16A

An IEEE 802.15.4 compliant single chip combines an ARM® Cortex®-M0+ based 32-bit microcontroller and best-in-class 2.4GHz RF transceiver. It offers an excellent RF performance, with a link budget of 103dBm while consuming 50% less active current than existing offerings. The device features IEEE 802.15.4 MAC hardware accelerators and automatic transmission modes, wake-on-radio, offers twelve-channel direct memory access (DMA) controller, up to four configurable SERCOM modules for I2C, SPI and USART and a 128-bit AES crypto engine. The device features further blocks like a Peripheral Touch Controller (PTC), Full-Speed USB Device and embedded Host and hardware components to support RF distance measurements. To complement that set the SAM R21 also supports external power amplifiers and antenna diversity.Microchip's complimentary and confidential Wireless Check online design review service is available for customers who have selected our products for their application design-in. The online design review service is subject to Microchip's Program Terms and Conditions and requires a myMicrochip account.

Documentation:

Application Notes:

Additional Documents:

ATSAMR21G17A

An IEEE 802.15.4 compliant single chip combines an ARM® Cortex®-M0+ based 32-bit microcontroller and best-in-class 2.4GHz RF transceiver. It offers an excellent RF performance, with a link budget of 103dBm while consuming 50% less active current than existing offerings. The device features IEEE 802.15.4 MAC hardware accelerators and automatic transmission modes, wake-on-radio, offers twelve-channel direct memory access (DMA) controller, up to four configurable SERCOM modules for I2C, SPI and USART and a 128-bit AES crypto engine. The device features further blocks like a Peripheral Touch Controller (PTC), Full-Speed USB Device and embedded Host and hardware components to support RF distance measurements. To complement that set the SAM R21 also supports external power amplifiers and antenna diversity.Microchip's complimentary and confidential Wireless Check online design review service is available for customers who have selected our products for their application design-in. The online design review service is subject to Microchip's Program Terms and Conditions and requires a myMicrochip account.

Documentation:

Application Notes:

Additional Documents:

ATSAMR21G18A

An IEEE 802.15.4 compliant single chip combines an ARM® Cortex®-M0+ based 32-bit microcontroller and best-in-class 2.4GHz RF transceiver. It offers an excellent RF performance, with a link budget of 103dBm while consuming 50% less active current than existing offerings. The device features IEEE 802.15.4 MAC hardware accelerators and automatic transmission modes, wake-on-radio, offers twelve-channel direct memory access (DMA) controller, up to four configurable SERCOM modules for I2C, SPI and USART and a 128-bit AES crypto engine. The device features further blocks like a Peripheral Touch Controller (PTC), Full-Speed USB Device and embedded Host and hardware components to support RF distance measurements. To complement that set the SAM R21 also supports external power amplifiers and antenna diversity.The ATSAMR21G18A is available in a regulatory-certified module, ATSAMR21G18. The ATSAMR21G18 is a full-featured module with multiple I/O and dual u.FL connectors for external antennas. Visit the module product page for more information.Microchip's complimentary and confidential Wireless Check online design review service is available for customers who have selected our products for their application design-in.The online design review service is subject to Microchip's Program Terms and Conditions and requires a myMicrochip account.

Documentation:

Application Notes:

Additional Documents:

MISRA-C:2023 Compliance Deviations List

Deviation ID: MFWCG-40

  • Rule 5.5: Identifiers shall be distinct from macro names.
  • Use case: Identifiers corresponding to register names.

Example:

```C typedef union { struct { uint32_t GPIO:29; uint32_t :3; } vec; uint32_t reg; } ECIA_SRC8_Type;

#define GPIO (0x40081000) ```

  • Reason: Access to hardware.

The macros expand into the same identifiers, which allow users to detect for the presence of specific registers during preprocessing.

  • Scope: Device headers for the DEC15xx and MEC15xx family (<device-name>.h).

Deviation ID: MFWCG-42

  • Rule 20.9: All identifiers used in the controlling expression of #if or #elif preprocessing directives shall be #define'd before evaluation.
  • Use case: Use of compiler builtin macros.

Example:

C #ifdef (__ARM_FP == 14) || (__ARM_FP == 4) fpu_enable(); #endif

  • Reason: Access to hardware.

Headers may rely on builtin macros from the compiler and are written under the assumption that if the macro is not defined, its value is zero.

  • Scope: All device headers (<device-name>.h).

Deviation ID: MFWCG-43

  • Rule 21.1: #define and #undef shall not be used on a reserved identifier or reserved macro name.
  • Use case: Reserved names, beginning with _ followed by a capital letter or __ followed by a lower-case are within the compiler's namespace.

Example:

C #define __IO volatile

  • Reason: Access to hardware; Code Quality (Usability: Accessibility).

Within these headers originate many reserved names that are within the compiler's namespace.

  • Scope: All device headers (<device-name>.h).

Deviation ID: MFWCG-44

  • Rule 21.2: A reserved identifier or reserved macro name shall not be declared.
  • Use case: Reserved names, beginning with _ followed by a capital letter or __ followed by a lower-case are within the compiler's namespace.

Example:

C extern const VECTOR_TABLE_Type __VECTOR_TABLE;

  • Reason: Access to hardware; Code Quality (Usability: Accessibility).

Within these headers originate many reserved names that are within the compiler's namespace.

  • Scope: All device headers (<device-name>.h).

Support

For support questions, contact Microchip Support through https://www.microchip.com/en-us/support.