STMicroelectronics LSM303AGRTR
- Part No.:
- LSM303AGRTR
- Manufacturer:
- STMicroelectronics
- Category:
- IMUs (Inertial Measurement Units)
- Package:
- 12-VFLGA Module
- Datasheet:
-
LSM303AGRTR.pdf
- Description:
- IMU ACCEL/MAG I2C/SPI 12LGA
- Quantity:
- Payment:

- Shipping:

Inventory:32,329
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
LSM303AGRTR from STMicroelectronics is an ultracompact eCompass system-in-package integrating a 3-axis accelerometer (±2/±4/±8/±16 g full scale) and a 3-axis magnetometer (±50 gauss dynamic range), both with 16-bit digital output, SPI/I²C interfaces, and embedded FIFO, temperature sensor, and programmable interrupts - deployed in tilt-compensated compasses and motion-activated handheld UIs.
For engineers reviewing the LSM303AGRTR datasheet, LSM303AGRTR pinout, LSM303AGRTR application, or LSM303AGRTR equivalent, this page delivers verified technical context, validated pin functions, real-world use-value per application, and confirmed alternative options - all grounded in ST's production datasheet DocID027765 Rev 11.
Technical Context
The device implements independent power control for accelerometer and magnetometer blocks, enabling selective low-power operation: magnetometer supports single-measurement mode and hard-iron offset cancellation, while accelerometer provides 6D/4D orientation detection, activity/inactivity monitoring, and click/double-click recognition via dedicated registers.
Its dual serial interface supports I²C up to 3.4 MHz (high-speed mode) and SPI with 3-wire read/write protocols; interrupt logic includes configurable thresholds and duration timers for free-fall, motion, magnetic field change, and click events - all managed through dedicated control registers (e.g., INT1_CFG_A, INT2_THS_A, CLICK_CFG_A).
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Accelerometer FS | ±2/±4/±8/±16 g - selectable full-scale ranges enable trade-off between resolution and dynamic range for impact logging or pedometer accuracy. |
| Magnetometer Range | ±50 gauss - sufficient for Earth-field navigation (≈0.25–0.65 gauss) with margin against nearby ferrous interference. |
| Data Resolution | 16-bit output - provides sub-millig-level acceleration sensitivity and <1 mG magnetic resolution in high-performance modes. |
| Supply Voltage | 1.71 V to 3.6 V - compatible with single-cell Li-ion, coin-cell, and 3.3 V logic rails without level-shifting. |
| Interface Speed | I²C up to 3.4 MHz / SPI standard - enables high-OAR data streaming for VR motion tracking or real-time orientation fusion. |
| Operating Temp | −40 °C to +85 °C - qualified for industrial and automotive cabin environments without derating. |
| Embedded Features | FIFO (32-sample depth), temperature sensor, self-test, and programmable interrupts - reduce host MCU polling overhead and enable autonomous event triggering. |
Pinout & Package
LSM303AGRTR is housed in a 2.0 × 2.0 mm LGA-12 package with exposed thermal pad, optimized for space-constrained portable designs. Pin functions are validated per ST's datasheet Section 1.2 (Pin description, p.11) and Table 2.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Analog & digital supply | 1.71–3.6 V input powering both sensor blocks and interface logic; requires local 100 nF decoupling. |
| GND | Ground reference | Common return path for analog/digital domains; tied to thermal pad for thermal and noise performance. |
| SCL / SDA | I²C clock/data bidirectional | Open-drain pins supporting standard/fast/fast-plus/high-speed modes; require pull-up resistors (1–4.7 kΩ). |
| SDO/SA0 | I²C address select / SPI data out | Configures I²C slave address (0x1E or 0x1C); serves as SPI MISO in 4-wire mode. |
| CS | SPI chip select | Active-low enable for SPI communication; must be held stable during frame transmission. |
| SCLK | SPI clock input | Accepts up to 10 MHz clock; phase/polarity configurable (CPOL=0, CPHA=0 per default). |
| INT1 / INT2 | Programmable interrupt outputs | Push-pull or open-drain (configurable) signals for motion, magnetic, free-fall, or click events - drive external wake-up lines directly. |
Key Features
| Feature | Design Value |
|---|---|
| Independent sensor power control | Enables magnetometer-only low-power compassing (10 µA) while accelerometer remains off - extends battery life in always-on orientation apps. |
| Hard-iron compensation | On-chip offset cancellation using OFFSET_X/Y/Z_REG_M registers - eliminates fixed magnetic distortion from PCB traces or nearby components without host calibration. |
| 6D/4D orientation detection | Hardware-accelerated tilt sensing identifies portrait/landscape/up/down/left/right states - reduces CPU load vs. software-based quaternion math. |
| Configurable FIFO modes | Bypass, stream, FIFO, and stream-to-FIFO modes allow flexible buffering strategies - e.g., burst-read of 32 samples post-interrupt avoids missed data in low-frequency polling systems. |
| Dedicated click engine | Registers CLICK_CFG_A, CLICK_SRC_A, and TIME_WINDOW_A implement hardware debounced single/double-tap detection - eliminates need for external touch controller in UI navigation. |
Applications
| Tilt-Compensated Compass | Smartphone Display Rotation |
|---|---|
|
Use Scenario: Mobile navigation app requiring accurate heading regardless of device pitch/roll angle. IC Role / Device Role: Accelerometer measures gravity vector to correct magnetometer heading; fused output feeds AHRS algorithm. Use Value: ±50 gauss magnetometer range and ±16 g accelerometer FS handle aggressive user motion while maintaining compass stability within ±1° typical error. |
Use Scenario: Automatic screen rotation triggered by device orientation change. IC Role / Device Role: Accelerometer detects 6D orientation state; magnetometer refines yaw estimation during slow movement. Use Value: Hardware 6D detection (via CTRL_REG5_A) delivers <10 ms latency vs. software polling - critical for responsive UI transitions. |
| Pedometer & Step Counter | Free-Fall & Impact Logging |
|
Use Scenario: Wearable fitness tracker counting steps under variable gait dynamics. IC Role / Device Role: Accelerometer operates in low-power high-resolution mode (±2 g, 1.6 kHz ODR); FIFO buffers bursts for host analysis. Use Value: Embedded FIFO (32 samples) and activity/inactivity function (Act_THS_A/Act_DUR_A) enable ultra-low-power step detection with <3 µA average current. |
Use Scenario: Industrial handheld scanner logging drop events during warehouse use. IC Role / Device Role: Accelerometer monitors Z-axis acceleration; INT1 triggers on configurable free-fall threshold/duration (INT1_THS_A/INT1_DURATION_A). Use Value: Programmable free-fall interrupt with 50–200 ms duration window detects drops >0.5 m height - enables automatic firmware recovery or damage reporting. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar eCompass module applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| LSM303DHCTR | Legacy predecessor: same LGA-12 package but lower magnetometer sensitivity (±1.3–±8.1 gauss), no hard-iron compensation, no click engine. | Limited to basic compassing; unsuitable for high-accuracy tilt compensation or tap-based UI. | Select only if legacy design reuse or cost-sensitive non-critical compassing is required. |
| BNO055 | Fusion-enabled IMU: integrates accelerometer, gyroscope, magnetometer + onboard sensor fusion (AHRS), but higher power (≈7 mA active) and larger 3.8 × 3.8 mm LGA-28 package. | Delivers ready-to-use quaternion/euler output; eliminates host fusion complexity but increases BOM cost and footprint. | Choose when rapid time-to-market for orientation output is prioritized over power/size constraints. |
Compared with LSM303DHCTR, LSM303AGRTR adds hard-iron compensation and click detection for robust field deployment; versus BNO055, it trades off fused output for 90% lower active current and 60% smaller footprint - making it optimal for battery-powered, size-constrained compass and motion-triggered devices.
Availability
LSM303AGRTR is available at Aetrix Electronics and suitable for tilt-compensated compasses, smartphone display rotation systems, and industrial impact logging devices requiring stable component supply across multi-year production cycles.
Supply support for LSM303AGRTR includes scheduled delivery planning, volume procurement assistance, BOM continuity management, traceable sourcing, and lifecycle availability coordination for OEM customers, industrial embedded developers, connected-device designers, and electronics production programs.
Manufacturer
STMicroelectronics is a global semiconductor leader headquartered in Geneva, Switzerland, designing and manufacturing MEMS sensors, microcontrollers, power ICs, and automotive-grade components since 1987.
The LSM303AGRTR belongs to ST's iNEMO inertial module family, engineered specifically for ultra-low-power, high-accuracy motion sensing in portable consumer and industrial IoT endpoints - emphasizing integration, embedded intelligence, and qualification for extended temperature operation.
FAQ
What is the maximum I²C clock frequency supported by LSM303AGRTR?
The LSM303AGRTR supports I²C up to 3.4 MHz in high-speed mode, as specified in Section 2.4.2 and Table 7–8 of the datasheet. This allows rapid register access and high-throughput sensor data reads - essential for real-time VR motion tracking or fast orientation updates. Standard (100 kHz), fast (400 kHz), and fast-plus (1 MHz) modes are also fully supported.
Does LSM303AGRTR include factory calibration data for magnetometer offset?
Yes - the LSM303AGRTR includes factory-trimmed hard-iron offset values stored in OFFSET_X/Y/Z_REG_M registers (addresses 0x45–0x4A). These values compensate for static magnetic distortion from PCB layout and nearby components, enabling immediate compass accuracy without host-side calibration routines.
Can the accelerometer and magnetometer operate simultaneously in low-power mode?
Yes - the accelerometer and magnetometer blocks have independent power controls (CTRL_REG1_A and CFG_REG_A_M). The device can run magnetometer in single-measurement mode (10 µA) while keeping accelerometer in power-down, or configure both in low-power continuous mode (≈120 µA total) - enabling always-on compassing with motion wake-up capability.
How is the embedded temperature sensor used in LSM303AGRTR?
The integrated temperature sensor (±2 °C accuracy, 0.0625 °C/LSB resolution) provides on-die thermal data via OUT_TEMP_L/H_A registers (0x0C–0x0D). It supports magnetometer temperature compensation - critical for maintaining heading accuracy across −40 °C to +85 °C - and enables thermal-aware system throttling or battery health monitoring in portable devices.
LSM303AGRTR Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Series:
- -
- Package/Case:
- 12-VFLGA Module
- Packaging:
- Tape & Reel (TR)
- Product Status:
- Active
- Sensor Type:
- Accelerometer, Magnetometer, Temperature, 6 Axis
- Output Type:
- I2C, SPI
- Operating Temperature:
- -40°C ~ 85°C
- Grade:
- -
- Qualification:
- -
- Supplier Device Package:
- 12-LGA (2x2)
- Mounting Type:
- Surface Mount
LSM303AGRTR FAQ
1.How can I place an order for LSM303AGRTR through Aetrix?
Please submit a Request for Quotation (RFQ) for LSM303AGRTR on Aetrix. Our sales agent will provide a competitive quotation and guide you through the order confirmation once you accept the terms.
2.Are the price and stock information for LSM303AGRTR reliable?
The price and inventory of LSM303AGRTR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for LSM303AGRTR is usually 5 days.
3.What payment methods are accepted for LSM303AGRTR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for LSM303AGRTR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for LSM303AGRTR?
LSM303AGRTR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your LSM303AGRTR order is processed, you will receive an email with the shipment details and tracking number.
Note: Tracking information may take up to 24 hours to appear. Express delivery typically takes 3–5 business days.
5.How can I obtain technical support or documentation for LSM303AGRTR?
For technical support, including LSM303AGRTR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your LSM303AGRTR requirements.
6.How does Aetrix verify that LSM303AGRTR is sourced from the original manufacturer or authorized distributors?
All LSM303AGRTR products on Aetrix are procured from qualified distributors and authorized channels. Our dedicated quality assurance team conducts strict verification, including traceability checks and, if necessary, third-party testing. This ensures that LSM303AGRTR meets industry standards.
7.What is the process for return or replacement of LSM303AGRTR?
All LSM303AGRTR units undergo pre-shipment inspection (PSI). If there is an issue with LSM303AGRTR, returns or replacements are accepted under the following conditions:
1.Quantity discrepancies, incorrect items, or visible external defects (such as breakage or corrosion), acknowledged by Aetrix.
2.The issue is reported within 90 days of delivery.
3.The LSM303AGRTR part is unused and in its original packaging.
Return procedure for LSM303AGRTR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
LSM303AGRTR Tags

-
BMI323
Bosch Sensortec

-
ICM-42670-P
TDK InvenSense

-
ICM-42605
TDK InvenSense

-
LSM6DSO32TR
STMicroelectronics

-
LSM6DSOTR
STMicroelectronics

-
LSM6DSVTR
STMicroelectronics

-
LSM6DSRTR
STMicroelectronics

-
BMI270
Bosch Sensortec

-
LSM6DSOXTR
STMicroelectronics

-
LSM6DSV16XTR
STMicroelectronics

-
LSM6DSO16ISTR
STMicroelectronics

-
LSM303AGRTR
STMicroelectronics
Tech Hub
Operational amplifier guide covering op amp basics, feedback, ideal vs real op amps, common configurations, buffer circuits, offset, bias current, gain-bandwidth, slew rate, rail-to-rail limits and sel…
Jumper cables guide covering safe connection order, red and black clamp placement, final ground connection, cable gauge, length, clamp quality, copper vs CCA cables, jump starter comparison and battery…
LDO regulator guide covering low dropout voltage, power dissipation, thermal design, PSRR, output noise, capacitor stability, adjustable LDO circuits, LDO vs buck converter and datasheet selection chec…
Conditional Access Module guide covering CAM meaning, CI/CI+ interface, smart card authorization, DVB security workflow, TV and set-top box compatibility, internal electronics, ESD protection, connecto…
Guide to electronic component obsolescence covering EOL risk, PCN/PDN notices, last-time buy planning, replacement options, form-fit-function validation, counterfeit risk and BOM lifecycle management.
18650 battery guide covering lithium-ion cell basics, 3.6V/3.7V voltage, 4.2V charging, mAh and Wh capacity, protected cells, chargers, BMS, series-parallel packs, holders, welding and sourcing checks.…
Hall effect sensor guide covering working principle, linear and digital sensors, Arduino circuits, current sensing, speed detection, automotive applications, A3144 examples, signal filtering and datash…
Product Change Notification guide for electronic components, covering PCN meaning, PCN vs PDN/EOL, common change types, risk levels, form-fit-function review, engineering validation, BOM control, LTB/L…
A practical guide to blend door actuators, covering HVAC function, symptoms, location, AC and heater issues, reset and calibration, replacement cost, electrical diagnosis, compatibility checks, and rep…
Engineering guide to Raspberry Pi alternatives, covering chip-level differences, Orange Pi, ROCK, Jetson, Banana Pi, NanoPi, Compute Module, Pico, GPIO, camera, HAT compatibility, and replacement risks…
