K60n512 SPI0 stress test issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

K60n512 SPI0 stress test issue

811 Views
Muffinman
Contributor I

Does anyone meet the problem of SPI0 communication issue for stress test?

Let the two K60's SPI0 connect together, keep send increased data at 12M Hz.

After a while, there will be error received at 0xff, 0x7f, 0x00, 0x 80, 0x81?

0 Kudos
Reply
3 Replies

661 Views
iafg
Contributor IV

Hello Muffinman,

 

You have two K60's connected together using SPI0 on each one.

One K60 sends incrementing numbers from 0x00 to 0xff to the other, and then repeats

Eventually there are repeating failures at for expected data: x00 x7f x80 x81and xff.

 

However it does run fine for a while before these errors occur.

It also runs for a period of time between errors?

 

Could you post the data that is actually received vs the data that is expected?

 

0 Kudos
Reply

661 Views
Muffinman
Contributor I

I paste the error reading there:

 

.Master Read Error: ff : 0
.Master Read: ff : 745 ms
.
.Master Read: 0 : 7636 ms
.
.Master Read: 1 : 7637 ms
.
.Master Read Error: ff : c4
.Master Read Error: c7 : 0
.Master Read: 2 : 839 ms
.
.Master Read: 3 : 7639 ms
.
.Master Read: 4 : 7639 ms
.
.Master Read: 5 : 639 ms
.
.Master Read: 6 : 7639 ms
.
.Master Read: 7 : 7640 ms
.
.Master Read: 8 : 639 ms

 

BTW:

Between each two master reading, there will be couple hudreds K bytes transmit/receive, the master read error happen between the two master reading formated with Master Read Error: Real read value: Should read value.

 

0 Kudos
Reply

661 Views
iafg
Contributor IV

Maybe related to this post too??

 

https://community.freescale.com/message/99898#99898

 

0 Kudos
Reply