6551 vs 6850 vs 8250 vs ?
6551 vs 6850 vs 8250 vs ?
Hello!
I am building a 6502 based system, and now i was looking to this ic, and i found them all three on ebay for a few $. So whitch is better for a 6502 based system(1mhz cpu): 6551 vs 6850 vs 8250 or something else?
I am building a 6502 based system, and now i was looking to this ic, and i found them all three on ebay for a few $. So whitch is better for a 6502 based system(1mhz cpu): 6551 vs 6850 vs 8250 or something else?
- BigDumbDinosaur
- Posts: 9428
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: 6551 vs 6850 vs 8250 vs ?
Dajgoro wrote:
Hello!
I am building a 6502 based system, and now i was looking to this ic, and i found them all three on ebay for a few $. So whitch is better for a 6502 based system(1mhz cpu): 6551 vs 6850 vs 8250 or something else?
I am building a 6502 based system, and now i was looking to this ic, and i found them all three on ebay for a few $. So whitch is better for a 6502 based system(1mhz cpu): 6551 vs 6850 vs 8250 or something else?
The 6850 isn't too difficult to interface to the 65xx bus, as it was designed for the Motorola 6800 series MPU, which has a similar bus to that of the 65xx. The 6850 can be run at higher baud rates than the 6551, and has a much better programming model. It lacks a hardware reset function, so you'd have to cobble up something to toggle Vcc when /RESET is asserted. Otherwise, I recommend it.
I would stay away from the 8250, but that's just me not liking its general design.
My personal choice for a UART is the NXP 2692A, which is what I used in my POC computer.
x86? We ain't got no x86. We don't NEED no stinking x86!
- GARTHWILSON
- Forum Moderator
- Posts: 8774
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
The 6850 does not have its own onboard oscillator and baud rate generator IIRC. The 6551 can use an external oscillator if you want. It's not restricted to the internal one, or even the internal baud-rate generator.
I know BDD doesn't like the 6551, so I have to stick up for it a bit. I have used the 6551 at all standard baud rates from 50 to 19,200 (the slower rates being when I was experimenting with cheap modems for cassette tape 25 years ago), plus 31,250 for MIDI, using 500kHz generated by a 6522's PB7 output off T1 connected to the RC (pin 5) input, and never had any trouble with any of it. I know it can go to at least 125kpbs with external clock input on pin 5 for both transmit and receive. My 6551 hardware and software has always worked on first try except when I lacked the 22pF capacitor from pin 6 to ground in the crystal circuit.
The only thing I don't like about the 6551 is that a couple of the controls are merged into the same control bit, where it would be nice to control them separately.
Do use the CMOS version though (65c51) because the NMOS did have a quirk in that, IIRC, if its CTS\ goes false during the transmission of a byte, that byte does not get finished. Instead, it is lost. The CMOS version will finish the byte.
For any future designs I will probably just use the 14-pin-DIP SPI MAX3100 which has 8-byte transmit and receive buffers, and talk to it through a 6522 or Daryl's 65SPI.
I know BDD doesn't like the 6551, so I have to stick up for it a bit. I have used the 6551 at all standard baud rates from 50 to 19,200 (the slower rates being when I was experimenting with cheap modems for cassette tape 25 years ago), plus 31,250 for MIDI, using 500kHz generated by a 6522's PB7 output off T1 connected to the RC (pin 5) input, and never had any trouble with any of it. I know it can go to at least 125kpbs with external clock input on pin 5 for both transmit and receive. My 6551 hardware and software has always worked on first try except when I lacked the 22pF capacitor from pin 6 to ground in the crystal circuit.
The only thing I don't like about the 6551 is that a couple of the controls are merged into the same control bit, where it would be nice to control them separately.
Do use the CMOS version though (65c51) because the NMOS did have a quirk in that, IIRC, if its CTS\ goes false during the transmission of a byte, that byte does not get finished. Instead, it is lost. The CMOS version will finish the byte.
For any future designs I will probably just use the 14-pin-DIP SPI MAX3100 which has 8-byte transmit and receive buffers, and talk to it through a 6522 or Daryl's 65SPI.
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?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
- GARTHWILSON
- Forum Moderator
- Posts: 8774
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
That kind of thing is pretty standard with the 6850, right? (I'd have to dig into some old info I don't access very often.) It's not necessary with the 6551 though since it has its own onboard baudrate generator which can be used even if you choose to use an external oscillator.
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?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
I will use the 6850, i will try using divided cpu clock for interfacing it to my pc (using max232 chip), will my pc be able to read serial data with weird(not to fast, but some frequency with many decimals) input clock? So i can use it as a i/o to test EhBasic before i finish the video module with the MC6847 CRTC chip?
- GARTHWILSON
- Forum Moderator
- Posts: 8774
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
It is not clear what you want to do. Does the PC have an RS-232 port? If so, it can read standard RS-232 speeds, but you will get loads of errors if the speed you send is more than a couple percent off of the speed expected by the PC.
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?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
- BigDumbDinosaur
- Posts: 9428
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Motorola 6850 ACIA
Dajgoro wrote:
I just need to wire up the 6850, so that it can communicate with a normal pc COM port at some normal speed. So how do i wire up the 6850 so that i can communicate with my pc (i will have a max232 module)?
Your questions suggest to me that you need to learn more about the use of ACIAs in general before you start soldering stuff together.
x86? We ain't got no x86. We don't NEED no stinking x86!
Dajgoro wrote:
I just need to wire up the 6850, so that it can communicate with a normal pc COM port at some normal speed. So how do i wire up the 6850 so that i can communicate with my pc (i will have a max232 module)?
Please have a look at Deiter's page for an example. Several people here have hooked up similar systems, so you might try a search like this for other posts mentioning max232.
Cheers
Ed
Edit: removed commentary on previous comment
- BigDumbDinosaur
- Posts: 9428
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
MAX-232 Charge Pump Capacitors
BigEd wrote:
Please have a look at Deiter's page for an example.
- Typical values for the capacitors connected to the charge pump are 2.2 to 10 uF. (There also is a version of the MAX232 that runs with 100 nF capacitors.)
I was advised by a Maxim application engineer a while back that exceeding the charge pump capacitor recommendation will not improve the device's operation, but will cause an excessive amount of inrush current to flow at power-on, overstressing the device and eventually resulting in failure.
Last edited by BigDumbDinosaur on Tue Aug 16, 2011 5:23 am, edited 1 time in total.
x86? We ain't got no x86. We don't NEED no stinking x86!
- BigDumbDinosaur
- Posts: 9428
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
MAX232
BillO wrote:
To me anyway, the MAX232A IS a version of the MAX232. Just like the 6502A or 65C02 are versions of the 6502.
Quote:
In fact, so many different manufacturers have made or make so many different versions of the MAX232, it boggles the mind.
...or am I totally lost in space...?
...or am I totally lost in space...?
x86? We ain't got no x86. We don't NEED no stinking x86!
Well, i wanted to be able to connect my project to any computer, so i bought this from ebay:
http://www.ebay.com/itm/CP2102-Module-S ... 3a69272f3b
Usb to ttl module, but i if i got it right this module does not have any clock input or output, how do i connect it the to the 6850(or elsewhere)???
http://www.ebay.com/itm/CP2102-Module-S ... 3a69272f3b
Usb to ttl module, but i if i got it right this module does not have any clock input or output, how do i connect it the to the 6850(or elsewhere)???