完善资料让更多小伙伴认识你,还能领取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! |
|
|
|
|
只有小组成员才能发言,加入小组>>
stm32mp157的异核通信的rpmsg_sdb的m4固件和a7驱动该如何编写?
1453 浏览 0 评论
stm32f103用freertos对一个采样率为1kHz的传感器,进行采样,数据出差
1502 浏览 0 评论
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
3649 浏览 1 评论
3842 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
2461 浏览 1 评论
STM32H7打开DCache后,出现了串口接收信息为空的现象,是哪里出了问题?
727浏览 5评论
用NANO STM32F103RBT6的开发板烧录不了是哪里出了问题?
661浏览 5评论
710浏览 5评论
外部中断触发类型为双边沿触发,进入中断回调后有什么办法判断该边沿是上升沿还是下降沿?
941浏览 5评论
STM32L071CBT6低温环境下无法正常工作是什么原因引起的?
745浏览 5评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 01:15 , Processed in 1.809907 second(s), Total 81, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
3336