| MATLAB Central > MATLAB Newsreader > Failure to read serial port after ~5000 asynch rea... |
|
|
|
Subject: Failure to read serial port after ~5000 asynch reads From: Scott Burnside Date: 30 Sep, 2008 23:04:02 Message: 1 of 8 |
|
Running R2007a on WinXP with Instrument Control Toolbox 2.4.2 I am encountering serial port read failures after approx. 5000 read operations connected to a TrueTime XL-DC GPS Time and Frequency Reciever. |
|
Subject: Failure to read serial port after ~5000 asynch reads From: Trent Jarvi Date: 1 Oct, 2008 22:25:28 Message: 2 of 8 |
|
|
|
Subject: Failure to read serial port after ~5000 asynch reads From: Scott Burnside Date: 2 Oct, 2008 00:22:01 Message: 3 of 8 |
|
"Trent Jarvi" <tjarvi@mathworks.com> wrote in message <gc0tco$6v3$1@fred.mathworks.com>... |
|
Subject: Failure to read serial port after ~5000 asynch reads From: Scott Burnside Date: 2 Oct, 2008 20:15:04 Message: 4 of 8 |
|
"Scott Burnside" <no@spam.com> wrote in message <gc1479$or1$1@fred.mathworks.com>... |
|
Subject: Failure to read serial port after ~5000 asynch reads From: Trent Jarvi Date: 3 Oct, 2008 17:47:22 Message: 5 of 8 |
|
|
|
Subject: Failure to read serial port after ~5000 asynch reads From: David Atkinson Date: 2 Dec, 2008 23:20:18 Message: 6 of 8 |
|
Scott, |
|
Subject: Failure to read serial port after ~5000 asynch reads From: Geoff Date: 2 Mar, 2009 17:23:01 Message: 7 of 8 |
|
Dave (and Scott) -- I'm suffering a similar behavior where Matlab 2008a fails to read several serial ports after 5000 to 7000 reads of the serial port. As you've reported, the only way to get the ports to start reading again is exit Matlab. |
|
Subject: Failure to read serial port after ~5000 asynch reads From: Marco Balsi Date: 15 Apr, 2009 09:16:01 Message: 8 of 8 |
|
I also have this problem. In my case I am receiving small packets (15bytes) from a TI microcontroller (MPS430) card interfacing a ZigBee CC2480 trasmitter/receiver. It is connected to a COM port through the USB connector. Reading is done in a for loop. Everything works OK down to a repetition period of 250ms. At that frequency it goes on receiving correctly forever. At higher frequency (lower period) the problem appears in the same way as reported in this thread. This sensitivity to frequency makes me think of some kind of buffer saturation... |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| uart | Marco Balsi | 15 Apr, 2009 05:20:05 |
| serial port timeou... | vgood | 30 Sep, 2008 19:05:07 |
