在SYNC结构体中,显示消息头0x43211234为一个新命令
但是在下面的spi message sequence中,显示最先发送的是0x1234 然后是0x4321,这是为什么呢?
还有一个问题,我看最后mmvavelink固件在发送spi数据的时候是按8bit进行发送的,那这样是不是代表先发送的0x1234这个数据中转化为8bit发送,最先发送的是0x34,但是这就不满足文档里写的0x43211234这个顺序了,这是为什么呢
期待您的回复
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
请看NOTE说明,message都是以小端字节顺序发送的,低字节先发送。
NOTE:
The CRC and all the fields in the message headers and message data that are larger than one byte are sent in little-endian byte order i.e. the least significant byte is sent first.
详细请阅读 mmwave_dfp_02_02_03_01\mmwave_dfp_02_02_03_01\docs\mmWave-Radar-Interface-Control
你好,请问你说的CCS的memory browser这个具体是什么呢,可以贴个图吗,谢谢!
Host should ensure that CS is toggled for every 16 bits of transfer via SPI
spi会先发送小端16bit,也就是0x1234,跟图片中是相对应的。
但是实际测试应该是字间是小端模式,字内(16bit)应该是大端模式收发的,比如0x1234中,先发0x12(字内高字节),后发的0x34(字内低字节)