How could the 'Serial write time out' happen

Nov 17, 2006 4 Replies

I implemented an algorithm into fpga board. I wrote the Matrix data to FPGA board from Matlab and the result came back. I was using a loop to execute the operation many times. It can operate normally for some times, but in the end it stopped with the error in the line : fwrite(sx,datafile,'int8'); and the error messege showed : serial.fwrite A timeout occurred during the write operation. How could it happen? How could it execute some trials but happen time out error at some time?



Are you using handshaking for flow control?

Maybe it timed-out because the receiver would not accept any more data.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required