当前位置:网站首页>AMLOGIC gsensor debugging
AMLOGIC gsensor debugging
2022-07-04 09:03:00 【hmorey】
A lot of debugging has been done in the work gsensor, Here's a summary gsensor Write about the characteristics of , Can give you reference .
One 、 Model reference
| model | measuring range | Output bits | Interface | encapsulation |
| lis3dh | 2g/±4g/8g/16g | 16-bit data output | I2C/SPI digital output interface | LGA3X3 |
| d218b | ±2g, ±4g, ±8g | 12 bit resolution | Digital I2C output interface | LGA-12 2x2 |
| mc3253 | ±2g /± 4g /± 8g ranges | 10-bit or 14-bit resolution | I2C interface, up to 400 kHz | LGA3X3 |
| qma7981 | ±2/±4/±8/ ±16/±32 | 14-Bit | I2C Interface | LGA-12 2x2 |
| sc7a20 | ±2G/±4G/±8G/±16G | 12bit | i2c/spi | LGA-12 2x2 |
Two 、 To write gsensor Basic flow
The platform may be different , But combined with these sensors , The general compilation process is consistent .
2.1 Read WO_AM_I register
Every gsensor There will be WO_AM_I register , This register is used to determine the model of the product , This register is used before the initialization of the first version

2.2 Basic register configuration
* Sensor enable

* To configure ODR

* Configure register range FS

2.3 XYZ Reading of values

边栏推荐
- Codeforces Round #750 (Div. 2)(A,B,C,D,F1)
- Getting started with microservices: gateway gateway
- Report on research and investment prospects of polyglycolic acid industry in China (2022 Edition)
- The map set type is stored in the form of key value pairs, and the iterative traversal is faster than the list set
- HMS core helps baby bus show high-quality children's digital content to global developers
- Sequence model
- [error record] no matching function for call to 'cacheflush' cacheflush();)
- Dede plug-in (multi-function integration)
- Flutter 小技巧之 ListView 和 PageView 的各种花式嵌套
- China battery grade manganese sulfate Market Forecast and strategic consulting report (2022 Edition)
猜你喜欢

ArcGIS应用(二十二)Arcmap加载激光雷达las格式数据

HMS core helps baby bus show high-quality children's digital content to global developers

微服务入门:Gateway网关

Awk from entry to earth (12) awk can also write scripts to replace the shell

How does Xiaobai buy a suitable notebook

Industry depression has the advantages of industry depression

std::is_ union,std::is_ class,std::integral_ constant

Codeforces Global Round 21(A-E)

埃氏筛+欧拉筛+区间筛

【无标题】转发最小二乘法
随机推荐
awk从入门到入土(8)数组
[C Advanced] file operation (2)
Basic discipline formula and unit conversion
LinkedList in the list set is stored in order
Research and investment strategy report of China's electronic hydrogen peroxide industry (2022 Edition)
Mac platform forgets the root password of MySQL
L1 regularization and L2 regularization
C语言-入门-基础-语法-[主函数,头文件](二)
Cancel ctrl+alt+delete when starting up
Review of last week's hot spots (6.27-7.3)
Awk from entry to soil (5) simple condition matching
Codeforces Round #793 (Div. 2)(A-D)
What should I do if there is a problem with the graphics card screen on the computer
High order phase difference such as smear caused by myopic surgery
【LeetCode 42】501. Mode in binary search tree
Clion console output Chinese garbled code
Flutter tips: various fancy nesting of listview and pageview
awk从入土到入门(10)awk内置函数
Codeforces Round #750 (Div. 2)(A,B,C,D,F1)
Flutter 小技巧之 ListView 和 PageView 的各种花式嵌套