6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Apr 27, 2024 11:06 pm

All times are UTC




Post new topic Reply to topic  [ 47 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
PostPosted: Wed Jan 03, 2024 9:12 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8147
Location: Midwestern USA
plasmo wrote:
My practical experience is 3% deviation at 115200 is well tolerated—no error at all with few feet of cable.

Everything is tolerable with a “few feet of cable.”  :D  On the other hand, running with a three percent timing drift over a 150 foot link has a high probability of experiencing framing errors at 115,200.  I know this from the practical experience gained in installing literally thousands of serial terminals over the years.

Toward the tail end of the era in which my company did serial terminal and printer installations, we were using WYSE 160s and GPTs, whose serial interfaces could be run at 115,200.  We used three different brands of serial MUXers at the server end: Digiboard, Equinox and Comtrol.  On long runs, typically more than about 100 feet, we would run into garbled transmission on occasion with the Digiboards, but impeccable performance with the Comtrol and Equinox hardware.

A little investigation showed that the clock source used by Digiboard for its UARTS ran about 2.5 percent fast (checked with an H-P frequency counter) in the installations where errors were occurring.  That discrepancy was just enough to cause periodic framing errors.  After running into this several times, I decided to discontinue the use of Digiboard hardware—I don’t like eating warranties and trying to placate annoyed clients.

So, yes, three percent is pushing it.  BTW, I use 50 PPM oscillators in my POC units to clock the DUARTs.  A little investigation with the logic analyzer on POC V1.3 shows that the DUART oscillator is about 0.5 percent fast, which is well within what a serial link at 115200 can tolerate.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 05, 2024 10:13 am 
Offline

Joined: Tue Jul 05, 2005 7:08 pm
Posts: 990
Location: near Heidelberg, Germany
As a side note: tape and floppy disk 'serial' bit streams account for oscillator drift by applying conditions on the data that enable the reciever/reader to re-sync the clocks in the middle of the data stream.

For example, Commodore GCR used a max of 2 zero-bits in a row, so the circuit is able to re-sync on the following one-bit.

Such formats are now as I understand also used in fast serial links (hdmi, pci-e, ...). I am not sure if these are more for error correction or clock sync. Maybe both. But of course not available on rs232.

(I don't want to steal this topic, so if this deviates, move to an own thread)

André

_________________
Author of the GeckOS multitasking operating system, the usb65 stack, designer of the Micro-PET and many more 6502 content: http://6502.org/users/andre/


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 47 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC


Who is online

Users browsing this forum: No registered users and 29 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: