SPI DATA FLOW of TLE9183

Announcements

From sunburn to sun earn – we’ve got the power! Watch our #poweringgreen videos now.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Zhouzy
Level 1
Level 1
25 sign-ins 5 replies posted 5 questions asked

在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.”

 

0 Likes
1 Solution
Xiangrui
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 50 likes received

Hi Zhouzy,

这句话的意思是说,如果想迅速得到SPI指令的反馈,可以在DATA字节中写入no operation command,也就是00000000.

以读取数据为例,C位写0,ADDR写需要读取的地址,DATA写no operation command即可

BR,

Xiangrui

View solution in original post

0 Likes
3 Replies
Xiangrui
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 50 likes received

Hi Zhouzy,

这句话的意思是说,如果想迅速得到SPI指令的反馈,可以在DATA字节中写入no operation command,也就是00000000.

以读取数据为例,C位写0,ADDR写需要读取的地址,DATA写no operation command即可

BR,

Xiangrui

0 Likes

那么对于写入数据的话,如果想要在实际写入之后迅速得到反馈:

C位写1,ADDR写实际的写入地址(与上一帧相同),DATA写00000000么?

0 Likes
Xiangrui
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 50 likes received

写入数据的话 DATA直接写需要写入的数据就可以了

0 Likes