6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 23, 2024 2:05 am

All times are UTC




Post new topic Reply to topic  [ 29 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Thu May 02, 2013 5:42 pm 
Offline

Joined: Mon Mar 25, 2013 9:26 pm
Posts: 183
Location: Germany
Hi out there,

WDC announced today on facebook.com, that the CMOS replacement for the 6551 is now available at mouser.com.
Thats great, cause the original NMOS chips are very expensive on ebay and these chips are half the price as new part instead of a used one.

Here's a link for the product at mouser:
http://it.mouser.com/ProductDetail/West ... 5LybCTWxI=

Mario.

_________________
How should I know what I think, until I hear what I've said.


Top
 Profile  
Reply with quote  
PostPosted: Thu May 02, 2013 6:31 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8544
Location: Southern California
The NMOS ones had a couple of bugs that I consider to be pretty serious, ones that were corrected in the CMOS version in the 1980's. I have been using the CMOS ones since the late 1980's, with no problems. After California Micro Devices (formerly GTE), Rockwell, and other companies quit making them, WDC started, and theirs were rated for 14MHz; but their initial ones had a bug with even parity or something like that. (Who uses parity though?) I wonder if it's fixed.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Fri May 03, 2013 4:13 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1748
Location: Sacramento, CA
That's great news. I've been waiting for them to be available. My SBC-2's can now use a faster clock too.

Daryl

_________________
Please visit my website -> https://sbc.rictor.org/


Top
 Profile  
Reply with quote  
PostPosted: Mon May 20, 2013 9:31 pm 
Offline

Joined: Mon Jan 07, 2013 2:42 pm
Posts: 576
Location: Just outside Berlin, Germany
Thanks for that, Mario -- I'll be changing my design back from the 2692A. Though I have developed an appreciation for how powerful it is, a system with the 6551 will be simpler. The second computer, though ...

I think it was BDD who said that his design was "a moving target". I know the feeling now :D.


Top
 Profile  
Reply with quote  
PostPosted: Mon May 20, 2013 10:22 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8507
Location: Midwestern USA
GARTHWILSON wrote:
The NMOS ones had a couple of bugs that I consider to be pretty serious, ones that were corrected in the CMOS version in the 1980's. I have been using the CMOS ones since the late 1980's, with no problems. After California Micro Devices (formerly GTE), Rockwell, and other companies quit making them, WDC started, and theirs were rated for 14MHz; but their initial ones had a bug with even parity or something like that. (Who uses parity though?) I wonder if it's fixed.

Actually, parity is used quite often in data acquisition applications. Magnetic strip (aka credit) card readers generally use parity to perform some hardware level error checking, as do serial interfaced barcode scanners. Data from these device types is usually 7 bit with odd parity.

However, parity is of no particular value in any system that implements error-checking procedures on the data flow, e.g., CRC32. Also, one wouldn't use parity with a dialup modem that implements the Bell 212A protocol or newer, as the main source of errors, the POTS link, gets subjected to error-checking and correction in the modem itself.

scotws wrote:
Thanks for that, Mario -- I'll be changing my design back from the 2692A. Though I have developed an appreciation for how powerful it is, a system with the 6551 will be simpler.

Simpler in what way?

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


Top
 Profile  
Reply with quote  
PostPosted: Wed May 22, 2013 6:46 am 
Offline

Joined: Mon Jan 07, 2013 2:42 pm
Posts: 576
Location: Just outside Berlin, Germany
BigDumbDinosaur wrote:
Simpler in what way?


It simply does less stuff, and, as you point out, the 2692A needs a bit of trickery to get up and running. I'll skip trickery this time around, I think. However, the 2692A is far more powerful, and once I have the training wheels off, I'll be returning to it, and anybody with more experienced should take a look at it.


Top
 Profile  
Reply with quote  
PostPosted: Wed May 22, 2013 9:02 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8544
Location: Southern California
Quote:
However, the 2692A is far more powerful,

In what way? I could not find a 2692 on NXP's website, but I was just looking at the 2691 (is it the same thing with only one channel?) and was not impressed.
  • It does not have DSR, DTR, DCD, or RI like the '51 does (although I've sometimes used those for general-purpose I/O since I'm not interfacing to modems),
  • it does not go any faster, and in fact has the same table of bit-rate selections,
  • you can go above 19.2kbps with the 16x input like on the '51 (or it can reach 38.4kbps with the crystal only if ACR<7>=0),
  • it has more buffering but that's because it's typically used with processors whose interrupt performance is not as good as the 6502's,
  • it has approximately the same interrupts,
  • same error detections (overrun, parity, framing, and false start),
  • same choices of frame length, stop bit length, and parity,
  • plus full-duplex, echo, and transmit break, like the '51 has.
  • Both have onboard crystal oscillators, and both operate on 5V.
On the plus side, it has a 16-bit programmable timer/counter like the '22 has, a low-power mode, and the DIP is skinnier.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Wed May 22, 2013 5:22 pm 
Offline

Joined: Sat Oct 20, 2012 8:41 pm
Posts: 87
Location: San Diego
scotws wrote:
However, the 2692A is far more powerful


You should use the 26C92, it's a newer device that has an 8 byte FIFO (transmit and receive) plus faster access time.


Top
 Profile  
Reply with quote  
PostPosted: Wed May 22, 2013 7:37 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8507
Location: Midwestern USA
clockpulse wrote:
scotws wrote:
However, the 2692A is far more powerful

You should use the 26C92, it's a newer device that has an 8 byte FIFO (transmit and receive) plus faster access time.

Correct on the 26C92—I have one in POC V1.1.

I will point out that the 2692A (not 2692—that animal went extinct in the 1990s) has a smaller FIFO and a slightly different baud rate table than the 26C92 but is 100 percent pin compatible. By the way, all of the "missing" signals that Garth mentions are there, just not with the expected names. For example, here's an excerpt from the 2692A data sheet:

    Output 0: General purpose output or Channel A request to send (RTSAN, active-Low). Can be deactivated automatically on receive or transmit.

    Input 0: General purpose input or Channel A clear to send active-Low input (CTSAN). Pin has an internal VCC pull-up device supplying 1 to 4 µA of current.

I use these two pins as RTS and CTS, respectively, between the POC and the terminal that acts as the console. The corresponding pins for the auxiliary serial port are Output 1 and Input 1. A little bit twiddling in the command registers (CRA and CRB) tell the 2692 to use these pins to do hardware handshaking. Some other bit twiddling rigs up the transmitters and receivers to automatically manage flow control without driver intervention.

As for DSR, DTR, DCD, and RI, they can be set up on various input or output pins if needed, as the 2692/2698 is highly configurable. Other than with modem hookups, DCD and RI are almost never connected and in fact, I can't recall the last time I saw RI in use on any modern system attached to a modem. On my Linux box, which has a USR Courier modem for receiving and sending FAXes, RI is monitored by the Equinox serial port hardware but their driver doesn't pass it through to anything—there's no good reason to do so, as all modems made to the Bell 212A or later standards are capable of answering a call without host intervention. I do have the modem rigged up to drop carrier when DTR is deasserted, which is a convenient way to disconnect a call without escaping the modem to command mode and issuing ATH0. However, the modem can be configured to not pay attention to DTR and be controlled strictly by software if so desired.

A lot of hardware doesn't expect to see DSR as well, so use of the DSR/DTR combination is seldom necessary. However, note that some DTEs (incorrectly) use DTR in place of CTS to implement inbound flow control, in which case DTR at the DTE would have to be connected to RTS at the other end of the link. To my knowledge, no commercial serial hardware uses DSR in place of RTS.

Hardware handshaking via CTS/RTS is easy to implement on the 2692/2698. On my POC unit, I use CTS/RTS between it and other devices and get reliable communication at high speeds. I have DTR tied to pin 11 of the MAX-238 transceiver just so the signal is available if something wants it, and I didn't even bother with hooking up a DSR input.

See the attached data sheets for more info. I included the 2698 octart data sheet for when the training wheels come off and you want to add 8 serial ports to your machine. :D

BTW, I'm not familiar with the 2691, so I don't know how it performs relative to the 2692.

Attachment:
File comment: NXP 2692A DUART
ACIA_scc2692a_dual.pdf [228.74 KiB]
Downloaded 76 times
Attachment:
File comment: NXP 26C92A DUART w/8 byte FIFO & extended baud rates
ACIA_scc26c92a_dual.pdf [221.65 KiB]
Downloaded 58 times
Attachment:
File comment: NXP 2698 octal UART w/3 byte FIFO
ACIA_scc2698b_octal.pdf [197.5 KiB]
Downloaded 63 times

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


Top
 Profile  
Reply with quote  
PostPosted: Sun May 26, 2013 2:09 am 
Offline
User avatar

Joined: Tue Mar 05, 2013 4:31 am
Posts: 1385
That's great news. I recently bought some of the PLCC chips from the UK which have a manufacture date of 2012. However, none of the WDC documentation shows the pinout for the PLCC version. I'm guessing it's the same as the DIP (pin number per pin number) as some older Rockwell data sheets show that. In any case, Mouser in the US shows them in stock, so I'm adding some DIP versions to my current order ;-) Again, thanks for the heads up on these... in some emails with WDC late last year, they said there were coming soon, glad they made it.

_________________
Regards, KM
https://github.com/floobydust


Top
 Profile  
Reply with quote  
PostPosted: Sun May 26, 2013 2:47 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8544
Location: Southern California
Quote:
However, none of the WDC documentation shows the pinout for the PLCC version. I'm guessing it's the same as the DIP (pin number per pin number)

It's a little different. See page 4 of the data sheet at http://archive.6502.org/datasheets/wdc_ ... 0_2010.pdf

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Sun May 26, 2013 7:08 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8507
Location: Midwestern USA
GARTHWILSON wrote:
Quote:
However, none of the WDC documentation shows the pinout for the PLCC version. I'm guessing it's the same as the DIP (pin number per pin number)

It's a little different. See page 4 of the data sheet at http://archive.6502.org/datasheets/wdc_ ... 0_2010.pdf

Also note that the W65C51N requires that chip selects be valid before the rise of Ø2, same as the 65C22. Refer to data sheet page 30 to see the timing diagram.

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


Top
 Profile  
Reply with quote  
PostPosted: Sun May 26, 2013 12:01 pm 
Offline
User avatar

Joined: Tue Mar 05, 2013 4:31 am
Posts: 1385
Thanks guys, I have that data sheet. Problem is, it only shows the DIP version (28-pin) and the LQFP version (32-pin). What I have is the PLCC version (28-pin), hence my concern on what the pinout is.

_________________
Regards, KM
https://github.com/floobydust


Top
 Profile  
Reply with quote  
PostPosted: Sun May 26, 2013 3:01 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8544
Location: Southern California
floobydust wrote:
Thanks guys, I have that data sheet. Problem is, it only shows the DIP version (28-pin) and the LQFP version (32-pin). What I have is the PLCC version (28-pin), hence my concern on what the pinout is.

My apologies. Try page 8 of this one: http://archive.6502.org/datasheets/cmd_ ... ar2000.pdf

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Tue Jun 11, 2013 11:14 am 
Offline

Joined: Sun Apr 10, 2011 8:29 am
Posts: 597
Location: Norway/Japan
Do we know about any other source for these WDC 6551 chips than Mouser? I wanted to buy a couple to have in store just in case, but the lowest shipping price from Mouser is $30 and that makes the deal a bit unbalanced. I haven't been able to find anyone else selling these chips. Jameco don't have them, and in any case they seem to be in the process of scaling down their WDC selection (luckily I got some WDC CPUs from Jameco earlier while they were still stocked).

Incidentally I noticed Mouser lists two types of the 6551, an S version and an N version - the latter is 5V, the former 1.8V-5V. There's no mention of this on the WDC site. Anyway, I would like to find a source for these chips which will ship with e.g. USPS international priority which is about a third of what Mouser currently charges.

-Tor


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 29 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 19 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: