STMicroelectronics LSM303AHTR
- Part No.:
- LSM303AHTR
- Manufacturer:
- STMicroelectronics
- Category:
- IMUs (Inertial Measurement Units)
- Package:
- 12-VFLGA Module
- Datasheet:
-
LSM303AHTR.pdf
- Description:
- ULTRA-COMPACT HIGH-PERFORMANCE E
- Quantity:
- Payment:

- Shipping:

Inventory:4,894
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
LSM303AHTR from STMicroelectronics is an ultra-compact eCompass system-in-package integrating a 3-axis accelerometer and 3-axis magnetometer. It delivers ±2/±4/±8/±16 g selectable acceleration full scales, ±50 gauss magnetic dynamic range, 16-bit data output, and operates from 1.71 V to 1.98 V analog supply. Used in tilt-compensated compasses and motion-activated functions for handheld and wearable devices.
For engineers reviewing the LSM303AHTR datasheet, LSM303AHTR pinout, LSM303AHTR application, or LSM303AHTR equivalent, key selection considerations include dual-sensor synchronization, embedded step detection, FIFO buffering for accelerometer-only data, I²C/SPI interface flexibility (up to 3.4 MHz), and operation across –40 °C to +85 °C.
Technical Context
The LSM303AHTR implements independent power control for its accelerometer and magnetometer blocks, enabling selective activation to minimize system-level current draw. Accelerometer output data rates span 1 Hz to 6400 Hz; magnetometer ODR ranges from 10 Hz to 100 Hz - with no shared timing domain between sensors.
It integrates dedicated digital functions including step detector, step counter, significant motion recognition, and 6D/4D orientation detection - all executed internally without host processor intervention. The 256-level FIFO applies exclusively to accelerometer data and supports bypass, continuous, and FIFO modes with configurable thresholds.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Acceleration Full Scale | ±2/±4/±8/±16 g - user-selectable range determining resolution vs. saturation margin for motion sensing |
| Magnetic Dynamic Range | ±50 gauss - sufficient for Earth's field measurement and tilt-compensated heading calculation |
| Data Resolution | 16-bit - enables high-precision vector computation for compass accuracy and orientation stability |
| Supply Voltage | 1.71 V to 1.98 V - matches modern low-voltage SoC I/O domains and reduces level-shifting complexity |
| Interface Support | I²C (100 kHz–3.4 MHz) and SPI - allows flexible host integration with real-time or burst-mode data acquisition |
| Operating Temperature | –40 °C to +85 °C - validated for consumer electronics and industrial portable equipment environments |
| FIFO Depth | 256 levels - buffers accelerometer samples to reduce host polling frequency and extend battery life |
Pinout & Package
LSM303AHTR is housed in a 2.0 mm × 2.0 mm × 0.7 mm LGA-12 package with exposed thermal pad. Pin assignment follows STMicroelectronics' standardized land grid array layout for compact PCB footprint and reliable reflow soldering.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Analog power supply | 1.71–1.98 V input powering both sensor blocks; requires local decoupling |
| GND | Ground reference | Common return path for analog and digital sections; tied to thermal pad |
| SCL / SDA | I²C clock/data lines | Open-drain bidirectional interface supporting standard to high-speed modes (up to 3.4 MHz) |
| SDO/SA0 | I²C address select / SPI data out | Configures I²C slave address (0x18 or 0x19); serves as SPI MISO in 4-wire mode |
| CS | SPI chip select | Active-low enable for SPI communication; disables I²C when asserted |
| INT1 / INT2 | Programmable interrupt outputs | Dedicated pins for free-fall, motion, magnetic event, or embedded function alerts (e.g., step detection) |
Key Features
| Feature | Design Value |
|---|---|
| Embedded step counter | Hardware-accelerated pedometer logic eliminating host CPU load and enabling always-on activity tracking |
| Tilt-compensation ready | Simultaneous 3-axis accel/mag sampling enables real-time heading correction without external fusion software |
| Anti-aliasing filter | Integrated low-pass filter prevents frequency folding during high-ODR accelerometer operation (up to 6.4 kHz) |
| Self-test capability | Validates sensor functionality in-system via electrical stimulation - critical for safety-critical or field-deployed devices |
| Temperature sensor | On-die thermal monitoring supports compensation of magnetometer offset drift over temperature |
Applications
| Tilt-Compensated Compass | Pedometer & Activity Tracker |
|---|---|
Use Scenario: Smartphone or smartwatch calculating true north heading while held at arbitrary angles. IC Role / Device Role / Timing Role: Dual-sensor fusion engine providing synchronized accel/mag vectors for real-time quaternion-based orientation solving. Use Value: Eliminates heading error caused by device tilt; enables accurate map rotation and AR navigation without external calibration. |
Use Scenario: Wearable fitness band counting steps and detecting walking/running gait patterns. IC Role / Device Role / Timing Role: Autonomous step detection block generating interrupts on each stride, independent of host MCU wake state. Use Value: Reduces system power by >90% versus polling-based motion detection; extends battery life to multi-week operation. |
| Display Orientation Control | Impact & Vibration Monitoring |
Use Scenario: Tablet auto-rotating UI based on physical orientation during use or docking. IC Role / Device Role / Timing Role: 6D/4D orientation detector triggering portrait/landscape mode switch via INT1 interrupt. Use Value: Enables instantaneous screen rotation with minimal latency and zero host processing overhead. |
Use Scenario: Industrial handheld scanner detecting drop events or mechanical shock during logistics handling. IC Role / Device Role / Timing Role: Free-fall and high-g impact detector logging timestamped events using embedded interrupt generation. Use Value: Provides tamper/drop evidence without requiring continuous host sampling; supports predictive maintenance analytics. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar eCompass applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| BNO055 | Integrated sensor fusion ASIC with built-in AHRS algorithm; requires no host-side quaternion math. | Targets systems needing immediate orientation output (e.g., drones, robotics), not raw sensor data. | Select when firmware resources are constrained and fused Euler angles are preferred over raw accel/mag vectors. |
| LSM9DS1 | Includes gyroscope (±245/±500/±2000 dps) alongside accel/mag; higher power consumption (1.9 mA typical vs. 0.85 mA). | Suitable for 9-DOF IMU applications requiring angular rate sensing (e.g., VR controllers, gesture recognition). | Choose when gyroscope data is essential; avoid if only compass and motion detection are required. |
Compared with BNO055 and LSM9DS1, the LSM303AHTR offers lowest power and smallest footprint for pure eCompass and step-counting use cases - trading off fused output and gyro capability for extended battery life and simplified BOM.
Availability
LSM303AHTR is available at Aetrix Electronics and suitable for tilt-compensated compasses, pedometers, and display orientation control requiring stable component supply in high-volume consumer electronics production.
Supply support for LSM303AHTR 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, specializing in MEMS sensors, microcontrollers, and power management ICs for industrial, automotive, and consumer markets.
The LSM303AHTR belongs to ST's ultra-low-power eCompass product line, designed specifically for battery-constrained portable devices requiring high-accuracy heading and motion awareness without host computational burden.
FAQ
What communication interfaces does the LSM303AHTR support?
The LSM303AHTR supports both I²C and SPI serial interfaces. I²C operates at standard (100 kHz), fast (400 kHz), fast-plus (1 MHz), and high-speed (3.4 MHz) modes. SPI uses 4-wire configuration with CS, SCLK, SDI, and SDO pins, and supports up to 10 MHz clock rates per ST's electrical characteristics table.
Does the LSM303AHTR include hardware-based step counting?
Yes - the LSM303AHTR embeds a dedicated step detection and counting engine that runs autonomously within the device. It generates interrupts on detected steps and maintains a 16-bit step count register accessible via I²C or SPI, eliminating the need for host-side motion algorithm implementation.
Can the accelerometer and magnetometer operate simultaneously at different output data rates?
Yes - the LSM303AHTR allows independent configuration of accelerometer ODR (1 Hz to 6400 Hz) and magnetometer ODR (10 Hz to 100 Hz). They share no timing dependency, enabling optimized power/performance trade-offs - for example, high-rate accel sampling for impact detection while magnetometer runs at 10 Hz for compass stability.
Is the 256-level FIFO available for both sensors?
No - the 256-level FIFO is allocated exclusively to the accelerometer data path. Magnetometer data must be read in real time or buffered externally. This architecture reflects the typical usage pattern where high-frequency motion data benefits most from burst-read efficiency, while magnetic field updates are lower priority and less time-critical.
LSM303AHTR 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
LSM303AHTR FAQ
1.How can I place an order for LSM303AHTR through Aetrix?
Please submit a Request for Quotation (RFQ) for LSM303AHTR 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 LSM303AHTR reliable?
The price and inventory of LSM303AHTR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for LSM303AHTR is usually 5 days.
3.What payment methods are accepted for LSM303AHTR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for LSM303AHTR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for LSM303AHTR?
LSM303AHTR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your LSM303AHTR 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 LSM303AHTR?
For technical support, including LSM303AHTR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your LSM303AHTR requirements.
6.How does Aetrix verify that LSM303AHTR is sourced from the original manufacturer or authorized distributors?
All LSM303AHTR 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 LSM303AHTR meets industry standards.
7.What is the process for return or replacement of LSM303AHTR?
All LSM303AHTR units undergo pre-shipment inspection (PSI). If there is an issue with LSM303AHTR, 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 LSM303AHTR part is unused and in its original packaging.
Return procedure for LSM303AHTR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
LSM303AHTR 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
A practical engineering guide to 3.3V and 5V logic compatibility, input thresholds, resistor dividers, translator ICs, MOSFET level shifting, I2C pull-ups, timing limits and power-sequencing risks.
The 74HC595 uses push-pull logic outputs, while the TPIC6B595 uses 50 V open-drain DMOS sinks for higher-power loads. This guide compares timing, current limits, 3.3 V interfacing, load wiring, thermal…
The 74HC595 converts serial data into eight stable parallel outputs. This guide covers pin functions, shift and storage timing, OE and MR behavior, drive-current limits, cascading, voltage compatibilit…
A technical comparison of level-sensitive latches and edge-triggered flip-flops, covering timing windows, setup and hold limits, master–slave operation, time borrowing, race-through, HDL inference and…
A D latch stores one bit while Enable controls when data can pass. This reference covers gate-level operation, truth tables, transparency, setup and hold timing, LE versus OE, common ICs and practical …
An SR latch stores one bit through cross-coupled feedback. This engineering reference covers NOR and NAND implementations, truth tables, forbidden-state recovery, gated operation, switch debouncing, fa…
Latch circuits retain one bit through feedback. This technical reference covers SR and D latches, truth tables, transparency, timing limits, latch-versus-flip-flop behavior, applications and common log…
An engineering guide to LED driver operation, constant-current and constant-voltage outputs, linear and switching topologies, dimming, IC selection, calculations, replacement compatibility, and fault c…
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…
