- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
在TLE9183qk的用户手册的5.1小节提到了SPI数据流。①能否解释一下下面这段话。②send the no operation command 的意思是发一帧数据,其中ADDR[6:0]和DATA[7:0]的内容全部为0?
“The reponse to the current SPI command will be send with the next SPI command.If the information of the current SPI command is required immediately,the uC shall send the no operation command directly after the initial request.”
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Zhouzy,
这句话的意思是说,如果想迅速得到SPI指令的反馈,可以在DATA字节中写入no operation command,也就是00000000.
以读取数据为例,C位写0,ADDR写需要读取的地址,DATA写no operation command即可
BR,
Xiangrui
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Zhouzy,
这句话的意思是说,如果想迅速得到SPI指令的反馈,可以在DATA字节中写入no operation command,也就是00000000.
以读取数据为例,C位写0,ADDR写需要读取的地址,DATA写no operation command即可
BR,
Xiangrui
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
那么对于写入数据的话,如果想要在实际写入之后迅速得到反馈:
C位写1,ADDR写实际的写入地址(与上一帧相同),DATA写00000000么?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
写入数据的话 DATA直接写需要写入的数据就可以了