- Packs
- SAMR30_DFP
SAMR30_DFP
2.1.201-
Pack Type
Device Support
Microchip SAMR30 Series Device Support
-
Add to CMSIS Solution
packs:- pack: Microchip::SAMR30_DFP@2.1.201
Add with cpackget
> cpackget add Microchip::SAMR30_DFP@2.1.201
Download
Microchip.SAMR30_DFP.2.1.201.packOverview
The Microchip SAMR30 Series Device Family Pack (DFP) is a CMSIS-Pack that:
- Enables compatible tools with device support.
- Contains support files for the MPLAB XC32 Compiler.
- Contains support files for the GCC compiler.
- Contains support files for the Arm Compiler for Embedded.
- Contains support files for the IAR Embedded Development Tools.
- Contains System View Description (SVD) descriptions of the peripherals.
- Flash algorithms for the on-chip flash memory.
Related packs
- pack: ARM::CMSISDevices
ATSAMR30E18A
Each ATSAMR30 device is an ultra low-power microcontroller equipped with an IEEE® 802.15.4 compliant radio for the sub-1GHz frequency bands 780 MHz (China), 868 MHz (Europe) and 915 MHz (North America). It uses the 32-bit ARM® Cortex®-M0+ processor and offers 256KB of Flash and 40KB of SRAM (8KB battery backed) in as small as a 5mm QFN32 package. Advanced power management technologies, such as power domain gating, SleepWalking, and ultra low-power peripherals allow for very low power performance and long battery life sensor applications. The ATSAMR30 typically draws less than 700nA at 1.8v battery supply with wake on GPIO, Serial Communication or Real Time Counter. The highly configurable peripherals includes up to 5 I2C/SPI /UART interfaces with one in the low power domain, 8 12-bit ADC channels, 48 capacitive touch channels with proximity sensing. The sub-GHz Radio supports BPSK and O-QPSK modulation and delivers up to 8dBm TX power with an RX sensitivity of -110dBm. MiWi, Microchip's proprietary networking technology enables Mesh, Star and Point-to-Point connectivity for the SAMR30 devices. The MiWi library is available in the Advanced Software Framework (ASF) for Atmel Studio IDE.
Documentation:
Additional Documents:
- Wireless Hardware Design Checklist
- MiWi™ Software Design Guide
- MiWi Quick Start Guide
- MiWi Migration Guide User Guide
- Sub-GHz Product Comparison Quick Reference Guide
ATSAMR30G18A
Each ATSAMR30 device is an ultra low-power microcontroller equipped with an IEEE® 802.15.4 compliant radio for the sub-1GHz frequency bands 780 MHz (China), 868 MHz (Europe) and 915 MHz (North America). It uses the 32-bit ARM® Cortex®-M0+ processor and offers 256KB of Flash and 40KB of SRAM (8KB battery backed) in as small as a 5mm QFN32 package. Advanced power management technologies, such as power domain gating, SleepWalking, and ultra low-power peripherals allow for very low power performance and long battery life sensor applications. The ATSAMR30 typically draws less than 500nA at 1.8v battery supply with wake on GPIO, Serial Communication or Real Time Counter. The highly configurable peripherals includes up to 5 I2C/SPI /UART interfaces with one in the low power domain, 8 12-bit ADC channels, 48 capacitive touch channels with proximity sensing. The sub-GHz Radio supports BPSK and O-QPSK modulation and delivers up to 8dBm TX power with an RX sensitivity of -110dBm. MiWi, Microchip's proprietary networking technology enables Mesh, Star and Point-to-Point connectivity for the SAMR30 devices. The MiWi library is available in the Advanced Software Framework (ASF) for Atmel Studio IDE.
Documentation:
Additional Documents:
- ASF4 API Reference Manual
- Wireless Hardware Design Checklist
- MiWi™ Software Design Guide
- MiWi Quick Start Guide
- MiWi Migration Guide User Guide
- Sub-GHz Product Comparison Quick Reference Guide
MISRA Compliance Deviations List
MISRA-C:2023
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
#ifor#elifpreprocessing 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:
#defineand#undefshall 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).
MISRA-C:2025
Deviation ID: MFWCG-44
- Rule 5.10: 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).
Deviation ID: None
- Rule 11.4: A conversion shall not be performed between a pointer to object and an arithmetic type.
- Use case: Setting special registers from linker-generated symbols.
Example:
c pSrc = (uint32_t *) & __svectors; SCB->VTOR = ((uint32_t) pSrc & SCB_VTOR_TBLOFF_Msk);- Reason: Access to hardware.
Some hardware registers do not have a pointer type but hold an address.
- Scope: Device startup code (
startup_<name>.c)
Deviation ID: MFWCG-42
- Rule 20.9: All identifiers used in the controlling expression of
#ifor#elifpreprocessing 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 20.15:
#defineand#undefshall 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).
Support
For support questions, contact Microchip Support through https://www.microchip.com/en-us/support.