AnsweredAssumed Answered

Read-Back Communication

Question asked by fjlasjdfkj322038402 on Apr 26, 2018
Latest reply on May 3, 2018 by Sakthi^vel

Hi,

 

I read the DSP mips use the "Back Channel Protocol". Read DSP once every 10 millisecond. I find that most of the cases are correct. But there will be a mistake about 1000 times.

 

The MCU SPI receive data as 8-bit bytes.

 

The following is the correct reading of the data,

00 ... 00            some 00

F4190C00        BEGIN
20D20091         PAYLOAD
402F0002
81060003
40310004
F1D2AD05      END

 

The following is the data when the error happened,

00 ... 00            some 00

B0F20091
402F0002
DF3B0003
404D0004
F1D2AD05      END
F4190C00       BEGIN
B0F20091
402F0002
DF3B0003

The sequence of these data is wrong. And the NO1, NO2, NO3 words is repeated. 

 

Why?

 

In addition, I found that some 00 before the BEGIN (F4190C00), the number is random. The number of 00 is from dozens to hundreds. Is this reasonable in the "Back Channel Protocol"?

 

Thanks.

Outcomes