LPMS-BEx Hardware Manual
LPMS-BEx series is a low cost, high performance 6 axis inertial measurement unit (IMU)
which integrates a 3-axis accelerometer and a 3-axis gyroscope into a small self-contained
module. LPMS-BEx is embedded with an onboard MCU running our proprietary fusion
algorithm to provide real-time precise orientation calculations. The module outputs various
sensor data, including raw sensor data, calibrated sensor data, orientation data (quaternion,
euler angles), linear acceleration and more. LPMS-BEx comes in a small form factor which is
suitable for applications requiring a complete IMU solution with tight space constraints.
Key Features:
MEMS miniature inertial measurement unit (IMU)
Integration of 3-axis accelerometer and 3-axis gyroscope into one unit
Real-time, on-device calculation of sensor orientation and linear acceleration
Power Supply: 3.3~5.5V
Interfaces: UART, I2C, SPI
Small form factor. Size: PLCC-32 (12.0x14.5x3.1mm
Applications:
Robotics applications
Internet of Things (IoT) devices
Sports performance evaluation
System Overview
System Architecture
Pinout Description
Pin | Name | Function | Remarks |
1 | VCC | Power supply | 3.3V~5.5V |
2 | NRST | Reset | Active low |
3 | RES | - | Reserved |
4 | |||
5 | RX | TTL UART communication | UART_RX Signal (3.3V) |
6 | TX | UART_TX Signal (3.3V) | |
7 | RES | - | Reserved |
8 | RES | - | Reserved |
9, 10 | GND | - | Ground |
11 | MODE1 | Communication interface selection | See Communication interface settings table below |
12 | MODE0 | ||
13 | SDI | SPI communication | MOSI |
14 | SDO | MISO | |
15 | SPC | SPI clock | |
16 | CS | Chip select | |
17 | SDA | I2C communication | I2C data signal |
18 | SCL | I2C clock |
Note:
Unused pins should be left unconnected.
Please refer to Table 2-3 for definition of Logic High-Low voltage.
Communication interface settings
MODE1 | MODE0 | 通信接口 |
0 | 0 | UART(Default) |
0 | 1 | SPI |
1 | 0 | I2C (ADD0=0) |
1 | 1 | I2C (ADD0=1) |
Logic High-Low voltage definition
Definition | Value | Units |
Logic Low | 0~0.99 | V |
Logic High | 2.31~3.3 | V |
Typical Application
UART Communication
SPI Communication
I2C Communication
Note: Opt Logic High: ADD0=1; Opt Logic Low: ADD0=0
Reference System
Coordinates
The coordinate system for LPMS-BEx is defined as follows:
Communication Interfaces
LPMS-BEx provides 3 types of hardware interfaces for users to select based on their own application requirements: UART, I2C and SPI. UART uses LPBUS communication protocol. The register information for I2C and SPI is listed in appendix section.
UART
The universal asynchronous receiver transmitter (UART) is a common interface of
asynchronous communication with up to 4.5Mbps baud rate for transmitting and receiving.
LPMS-BEx offers 4 pins (TX, RX, RTS and CTS) for UART configuration. The default
configuration is 115200bps baudrate, 8 bits data length, 1 stop bit, and no parity.
SPI
The Serial Peripheral Interface (SPI) protocol supports full-duplex synchronous serial
communication with external devices. The SPI interface of LPMS-BE1 has four pins, i.e. CS,
SDI, SDO and SPC. Maximum supported clock speed is 40MHz.
CS: Slave select pin, controlled by Master.
SDI: Master Out / Slave In data. In the general case, this pin is used to receive data.
SDO: Master In / Slave Out data. In the general case, this pin is used to transmit data.
SPC: Serial Clock input pin.
Basic SPI settings:
CPOL = 0 (Low); CPHA = 0 (1Edge)
Data length: 8 bits
Maximum supported clock speed: 40MHz
SPI Timing Diagram
SPI Reading
RW: Read/Write bit, logic high when reading
A6-A0: Register address
D7-D0: First return data byte, data read from [A6:A0] register address
D15-D8: Second return data byte, data corresponding to subsequent register address
SPI Writing
RW: Read/Write bit, logic low when writing
A6-A0: Register address
D7-D0: First data byte to write, data will be written to [A6:A0] register address
D15-D8: Second data byte to write, data will be written to subsequent register address
I2C
The I2C (Inter-Integrated Circuit) bus is a two-wire serial bus, which handles
communications between the microcontroller and the serial I2C bus. The I2C communication
is conducted via SDA and SCL pins. LPMS-BE1 supports Fast-mode (up to 400 kHz) I2C
bus. Pin MODE1 has to be set up in order to put LPMS-BEx into I2C Communication mode.
User can set the I2C slave address via pin MODE0:
MODE0 | I2C Slave Address |
0 | 0x32 |
1 | 0x33 |
I2C Timing Diagram
Specifications
Tests are under room temperature +25°C, and the reference values might be changed under
different operation conditions.
Main Parameters
Parameter | Condition | Value | Units | ||
Min. | Typ. | Max. | |||
Power supply |
| 3.3 | 5 | 5.5 | V |
Dimension |
|
| 12.0x14.5x3.1 |
| mm |
Weight |
|
| 0.9 |
| g |
Measurement range | roll | -180 |
| +180 | deg |
pitch | -90 |
| +90 | deg | |
yaw | -180 |
| +180 | deg | |
Resolution |
|
| 0.01 |
| deg |
Power consumption |
|
| 0.15 (0.03A@5V) |
| W |
Output frequency |
| 5 | 100 | 500 | Hz |
Operating temperature |
| -20 | 25 | 80 | °C |
Accelerometer Parameters
Parameters | Value | Units |
Measurement range | ±2/±4/±8/±16 | g |
Sensitiviy | 0.061/0.122/0.244/0.488 | mg/LSB |
Sensitivity temperature drift | ±0.01 | %/°C |
Typical zero-g level offset accuracy | ±10 | mg |
Zero-g offset temperature drift | ±0.1 | mg/°C |
Output noise density | 60 | μg/√Hz |
Gyroscope Parameters
Parameters | Value | Units |
Measurement range | ±125/±250/±500/±1000/±2000/±4000 | dps |
Sensitivity | 4.375/8.75/17.50/35/70/140 | mdps/LSB |
Sensitivity change over temperature | ±0.007 | %/°C |
Angular rate zero-rate level | ±1 | dps |
Zero-rate offset change over temperature | ±0.005 | dps/°C |
Output noise | 5 | mdps/√Hz |
Packaging details
Appendix
Register map
Address | Register name | Read/Write | Default value |
0x00 | STATUS | Read | 0x00 |
0x01 | FUN_CONFIG | Read/Write | 0x00 |
0x02 | SYS_CONFIG | Read/Write | 0x00 |
0x03 | DATA_CTRL | Read/Write | 0x03 |
0x04 | DATA_ENABLE | Read/Write | 0x37 |
0x05 | CTRL_0_A | Read/Write |