当前位置:网站首页>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
边栏推荐
- How to ensure the uniqueness of ID in distributed environment
- Reading notes on how to connect the network - hubs, routers and routers (III)
- 1211 or chicken and rabbit in the same cage
- How to play dapr without kubernetes?
- Research Report on the current market situation and development prospects of calcium sulfate whiskers in China (2022 Edition)
- awk从入门到入土(8)数组
- Codeforces Round #750 (Div. 2)(A,B,C,D,F1)
- awk从入门到入土(12)awk也可以写脚本,替代shell
- 【LeetCode 42】501. Mode in binary search tree
- The basic syntax of mermaid in typera
猜你喜欢
Turn: excellent managers focus not on mistakes, but on advantages
Démarrage des microservices: passerelle
Private collection project practice sharing [Yugong series] February 2022 U3D full stack class 007 - production and setting skybox resources
Basic operations of databases and tables ----- view data tables
Codeforces Round #793 (Div. 2)(A-D)
How to play dapr without kubernetes?
C language - Introduction - Foundation - syntax - data type (4)
C语言-入门-基础-语法-[变量,常亮,作用域](五)
Nurse level JDEC addition, deletion, modification and inspection exercise
Educational Codeforces Round 119 (Rated for Div. 2)
随机推荐
Educational Codeforces Round 119 (Rated for Div. 2)
Markdown syntax
Manjaro install wechat
awk从入门到入土(4)用户自定义变量
"How to connect the network" reading notes - Web server request and response (4)
《网络是怎么样连接的》读书笔记 - 集线器、路由器和路由器(三)
CLion-控制台输出中文乱码
《网络是怎么样连接的》读书笔记 - WEB服务端请求和响应(四)
Educational Codeforces Round 115 (Rated for Div. 2)
Opencv environment construction (I)
Launpad | 基础知识
Research Report on the current market situation and development prospects of calcium sulfate whiskers in China (2022 Edition)
You can see the employment prospects of PMP project management
Codeforces Round #750 (Div. 2)(A,B,C,D,F1)
Sword finger offer 30 contains the stack of Min function
UML 时序图[通俗易懂]
Awk from getting started to digging in (4) user defined variables
How to solve the problem that computers often flash
Basic discipline formula and unit conversion
Use Alibaba cloud NPM image acceleration