поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

  • SAM-R21G_14

  • AI
    The **SAM-R21G18A** (often referred to within the SAM R21 series) is a low-power microcontroller system-in-package (SiP) that combines a high-performance 32-bit ARM® Cortex®-M0+ MCU with an integrated IEEE 802.15.4 compliant 2.4GHz RF transceiver. Below is a detailed breakdown of its electronic architecture and components. --- ### 1. Core Architecture | Feature | Specification | | :--- | :--- | | **Processor** | ARM Cortex-M0+ | | **Maximum Frequency** | 48 MHz | | **Flash Memory** | 256 KB | | **SRAM** | 32 KB | | **Operating Voltage** | 1.8V to 3.6V | ### 2. Integrated RF Transceiver (AT86RF233) The "R" in SAM-R stands for Radio. This internal component allows for wireless communication suitable for Zigbee, Thread, and 6LoWPAN. * **Frequency Band:** 2.4 GHz ISM band. * **Data Rate:** 250 kbps up to 2 Mbps. * **Output Power:** Programmable up to +4 dBm. * **Sensitivity:** -101 dBm. * **Antenna Diversity:** Support for dual antennas to improve link quality. ### 3. Key Peripheral Modules The SAM-R21G14 utilizes several hardware blocks to manage input, output, and power: * **SERCOM (Serial Communication Interface):** A highly flexible module that can be configured as I2C, SPI, or USART. The SAM-R21 typically has 5-6 SERCOM instances. * **USB 2.0 Interface:** Full-speed (12 Mbps) device and embedded host support. * **ADC (Analog-to-Digital Converter):** 12-bit resolution, 350 ksps. * **Peripheral Touch Controller (PTC):** Dedicated hardware for capacitive touch buttons, sliders, and wheels. * **Real-Time Counter (RTC):** 32-bit counter with calendar functions. --- ### 4. Pinout and Physical Characteristics The "G18" or "G14" variants typically use a **48-pin QFN package**. ```c // Example: Basic SPI initialization for a SERCOM module on SAM R21 void spi_init() { struct spi_config config_spi_master; spi_get_config_defaults(&config_spi_master); config_spi_master.mux_setting = SPI_SIGNAL_MUX_SETTING_E; config_spi_master.pinmux_pad0 = PINMUX_PA16C_SERCOM1_PAD0; // ... further configuration } ``` ### 5. Power Management Modes To maximize battery life in IoT applications, the chip features three main power modes: 1. **Idle:** Stops the CPU but keeps peripherals active. 2. **Standby:** Retains RAM and allows the RTC or external interrupts to wake the device. 3. **Power-Down:** Deepest sleep mode with the lowest power consumption, retaining only basic wake-up logic. ---
    ✨ Follow-up Questions
    • ⤷ What are the main differences between the SAM-R21 and the standard SAM-D21?
    • ⤷ Which wireless protocols are most commonly used with the SAM-R21G?
    • ⤷ How is the internal communication handled between the Cortex-M0+ and the RF transceiver?