那是一个很好的一步!
正如我上面所写,我将重点关注三件事:
1)I2C初始化:这正是您在9.2.2节中参考手册中粘贴的内容
2)读取多个字节:这只是写一个周期,通过I2C_ReadByte发送更多字节,如9.2.3节所述
3)使用I2C_WriteByte写入多个字节:与2)相同
如果您在使用FreeRTOS时遇到困难,请尝试在FreeRTOS论坛上寻求帮助。如果您在使用i.MX设备时遇到困难,请尝试询问
https://community.nxp.com/
。你必须非常幸运地在这里找到帮助,因为你的问题根源不在传感器本身......
以上来自于谷歌翻译
以下为原文
That is a good step!
As I wrote above, I would focus on three things:
1) I2C initialization: that is exactly what you pasted in the reference manual in section 9.2.2
2) Read multiple bytes: that is just about writing a cycle to send more bytes via I2C_ReadByte as stated in section 9.2.3
3) Write multiple bytes: the same as for 2) using I2C_WriteByte
If you struggle with the FreeRTOS, try to ask for help on FreeRTOS forum. If you struggle with the i.MX device, try to ask on
https://community.nxp.com/
. You would have to be quite lucky to find a help here, since your question roots are not in the sensor itself...
那是一个很好的一步!
正如我上面所写,我将重点关注三件事:
1)I2C初始化:这正是您在9.2.2节中参考手册中粘贴的内容
2)读取多个字节:这只是写一个周期,通过I2C_ReadByte发送更多字节,如9.2.3节所述
3)使用I2C_WriteByte写入多个字节:与2)相同
如果您在使用FreeRTOS时遇到困难,请尝试在FreeRTOS论坛上寻求帮助。如果您在使用i.MX设备时遇到困难,请尝试询问
https://community.nxp.com/
。你必须非常幸运地在这里找到帮助,因为你的问题根源不在传感器本身......
以上来自于谷歌翻译
以下为原文
That is a good step!
As I wrote above, I would focus on three things:
1) I2C initialization: that is exactly what you pasted in the reference manual in section 9.2.2
2) Read multiple bytes: that is just about writing a cycle to send more bytes via I2C_ReadByte as stated in section 9.2.3
3) Write multiple bytes: the same as for 2) using I2C_WriteByte
If you struggle with the FreeRTOS, try to ask for help on FreeRTOS forum. If you struggle with the i.MX device, try to ask on
https://community.nxp.com/
. You would have to be quite lucky to find a help here, since your question roots are not in the sensor itself...
举报