完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
这些寄存器的含义是什么?数据表没有解释。只有那个表:
#msp430f5529#i2c#lsm303dlhc#lsm303dlhc 以上来自于谷歌翻译 以下为原文 what is the meaning of these registers? no explanation on datasheet. only that table: #msp430f5529 #i2c #lsm303dlhc #lsm303dlhc |
|
相关推荐
4个回答
|
|
它记录在较旧的数据表中,例如对于LSM303DLH。
引用LSM303DLH数据表: 识别寄存器(IR)用于识别设备。 IR0至IR7表示位位置,IRA / IRB / IRC表示识别寄存器A,B和B中的位。 C。 IRA7 / IRB7 / IRC7表示数据流的第一位。 该设备的标识值存储在该寄存器中。这是一个只读寄存器。 不幸的是,这遵循ST在基于现有设备发布新设备时从数据表中省略关键信息的趋势。 此外,遗憾的是,所有LSM设备都返回相同的代码。 ''48 34 33'',让你更难确定它是你正在谈论的LSM303DLM,DLH还是DLHC。 以上来自于谷歌翻译 以下为原文 It's documented in the older datasheets, e.g. for the LSM303DLH. Quoting from the LSM303DLH datasheet: The identification registers (IR) are used to identify the device. IR0 through IR7 indicate bit locations, with IRA/IRB/IRC denoting the bits that are in the identification registers A, B & C. IRA7/IRB7/IRC7 denotes the first bit of the data stream. The identification value for this device is stored in this register. This is a read-only register. Unfortunately, this follows a tendency by ST to omit crucial information from datasheets when they release new devices based upon existing devices. Also, unfortunately, all the LSM devices return the same code. ''48 34 33'', making it much harder to determine if it is an LSM303DLM, DLH or DLHC you are talking to. |
|
|
|
感谢您的回复。所以,如果所有LSM设备具有相同的ID,它们似乎毫无意义......
以上来自于谷歌翻译 以下为原文 thanks for your reply. so, they seem totally pointless if all LSM devices have the same id... |
|
|
|
你好,
为了澄清这些寄存器的用法,它们可用于验证I2C通信。如果您读取这些寄存器并获得值0x48 / 0x34 / 0x33,则表示微控制器和传感器之间的I2C通信正在工作。谢谢, 蒂亚戈 以上来自于谷歌翻译 以下为原文 Hello, Just to clarify about these registers usage, they can be used to verify the I2C communication. If you read these registers and get the value of 0x48/0x34/0x33, then it means the I2C communication between your microcontroller and the sensor is working. Thank you, Thiago |
|
|
|
嗨,
我正在使用LSM303DLHC开展项目(学生)。我想通过I2C与传感器通信(与MSP430F5529配合使用)。 实际上我无法从从站读取数据(LSM303DLHC)。你能告诉我,我有什么设置/发送给奴隶以及我必须阅读哪些寄存器? 谢谢! 以上来自于谷歌翻译 以下为原文 Hi, i'm working on a project (student) with the LSM303DLHC. I want to communicate with the sensor via I2C (in use with the MSP430F5529). Actually I can't read data from the slave (LSM303DLHC). Can you tell me, what I have so set / send to the slave and which registers i have to read? Thanks! |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2877 浏览 1 评论
3282 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1861 浏览 1 评论
3710 浏览 6 评论
6124 浏览 21 评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
411浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
510浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
334浏览 2评论
使用STM32F407VET6的USB2.0功能,发现ctl后芯片无数据返回,是什么原因可能导致的呢?
246浏览 2评论
用STM32G431开发工程,1.50版本的Package包文件无法输出项目工程
354浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-2-23 18:31 , Processed in 1.113839 second(s), Total 50, Slave 45 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191