My RS-232 / 6551 Design
- floobydust
- Posts: 1394
- Joined: 05 Mar 2013
Re: My RS-232 / 6551 Design
Here's the schematic for the serial part of the I/O board I made back in 2013. I used a MAX238 with a 65C51. It works perfectly fine.... I later swapped the MAX238 and the DB-9 connector out for a FTDI UART to USB adapter.
After I discovered the Xmit bug with the recently released W65C51 chips, I switched to a NXP SCC2691. My next board will be using a NXP 28L92... more involved to get the NXP UARTs working, but once you do, they're a much better solution.
After I discovered the Xmit bug with the recently released W65C51 chips, I switched to a NXP SCC2691. My next board will be using a NXP 28L92... more involved to get the NXP UARTs working, but once you do, they're a much better solution.
Regards, KM
https://github.com/floobydust
https://github.com/floobydust
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: My RS-232 / 6551 Design
floobydust wrote:
Here's the schematic for the serial part of the I/O board I made back in 2013.
In POC V1.2, I used Kemet part number C315C105K3R5TA MLCCs in place of tantalums for the MAX238. They are less expensive than the tantalums and, of course, aren't polarized. The package size is the same.
x86? We ain't got no x86. We don't NEED no stinking x86!
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: My RS-232 / 6551 Design
BigDumbDinosaur wrote:
In POC V1.2, I used Kemet part number C315C105K3R5TA MLCCs in place of tantalums for the MAX238. They are less expensive than the tantalums and, of course, aren't polarized. The package size is the same.
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: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: My RS-232 / 6551 Design
GARTHWILSON wrote:
BigDumbDinosaur wrote:
x86? We ain't got no x86. We don't NEED no stinking x86!
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: My RS-232 / 6551 Design
GARTHWILSON wrote:
And darn! I see the MC145406 is out of production. Jameco still has them, but their being out of production would explain why Jameco's price is so high ($4.95US). I might get a bunch to for my own inventory anyway.
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?
Re: My RS-232 / 6551 Design
The SN75C1406 looks to be a good option. Seems to be much cheaper than the Max238.
Cat; the other white meat.
Re: My RS-232 / 6551 Design
Quote:
Huh? The MAX238 has four TIA-232 outputs and four TIA-232 inputs.
Cat; the other white meat.
Re: My RS-232 / 6551 Design
GARTHWILSON wrote:
They are still in current production at TI, with the number SN75C1406. The MC number was Motorola's / NXP's. Mouser has TI's in five variations, in stock, around $2 each in qty 1. See https://www.mouser.com/Semiconductors/I ... 06&FS=True .
Is that what you're using or do you use something else?
Cat; the other white meat.
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: My RS-232 / 6551 Design
cbmeeks wrote:
The SN75C1406 looks to be a good option. Seems to be much cheaper than the Max238.
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: My RS-232 / 6551 Design
BigDumbDinosaur wrote:
cbmeeks wrote:
The SN75C1406 looks to be a good option. Seems to be much cheaper than the Max238.
Cat; the other white meat.
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: My RS-232 / 6551 Design
cbmeeks wrote:
GARTHWILSON wrote:
They are still in current production at TI, with the number SN75C1406. The MC number was Motorola's / NXP's. Mouser has TI's in five variations, in stock, around $2 each in qty 1. See https://www.mouser.com/Semiconductors/I ... 06&FS=True .
Is that what you're using or do you use something else?
I'm a strong proponent of having these higher voltages available on the board for other things as well. As I've said before, the MC145406 is not the only thing I use them for.
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?
Re: My RS-232 / 6551 Design
OK, I've updated my design to use the MAX238.
I was a little confused on how those caps worked (charge pumps??). So I hope I got that section right.
Thanks to everyone!
I was a little confused on how those caps worked (charge pumps??). So I hope I got that section right.
Thanks to everyone!
Cat; the other white meat.
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: My RS-232 / 6551 Design
cbmeeks wrote:
OK, I've updated my design to use the MAX238.
I was a little confused on how those caps worked (charge pumps??). So I hope I got that section right.
Thanks to everyone!
I was a little confused on how those caps worked (charge pumps??). So I hope I got that section right.
Thanks to everyone!
Looks okay to me. Please see my earlier post about using MLCCs as charge pump and bypass capacitors—you can save a few pennies on the build cost and avoid having to worry about polarity. Also, it would be a good idea to place an electrolytic close by the MAX238 to help stabilize Vcc. I use 100 µF for that purpose, Panasonic part number EEU-FR1A101B.
Four of the capacitors are part of the charge pump circuit, which takes the nominal 5 volt Vcc source and produces approximately +10 and -10 volts to drive the TIA-232 outputs. The fifth capacitor is just a usual bypass capacitor. All capacitors should be as physically close to the MAX238 as possible. If you are doing this on a PCB you can place the four charge pump caps (C21-C24 in the attached illustration—C14 is the bypass cap) at the "south" end of the MAX238, which will make for short traces. The MAX238s (two of them) in POC V1.2 are in SOIC-24 packages, which don't take up a lot of space and may be manually soldered—at least by someone with vision in both eyes.
x86? We ain't got no x86. We don't NEED no stinking x86!
- Firefox6502
- Posts: 44
- Joined: 01 Feb 2021
- Location: Sydney, Australia
Re: My RS-232 / 6551 Design
floobydust wrote:
Here's the schematic for the serial part of the I/O board I made back in 2013. I used a MAX238 with a 65C51. It works perfectly fine.... I later swapped the MAX238 and the DB-9 connector out for a FTDI UART to USB adapter.
Reading Floobydust post, I would like to do this also - have the 65C51 connect to a "FTDI UART to USB adapter", i.e. connect my SBC to my desktop via USB for serial comms.
Are the pins between the 65C51 and "FTDI UART to USB adapter" straight forward to connect? E.g. RTS to RTS, CTS to CTS, Rx to Rx, TX to TX? And ignore DSR... and such? And anything else to connect between them?
Also any recommendations on a particular "FTDI UART to USB adapter" to buy or are they all good?
Greetings Professor Falken.
- floobydust
- Posts: 1394
- Joined: 05 Mar 2013
Re: My RS-232 / 6551 Design
There are several different UART to USB interfaces from FTDI. The one I've mainly used on my SBCs is this:
They offer both male and female versions in interface levels of 3.3V, 5V (TTL type) as well as RS-232 voltage levels. As I'm connecting directly to the UART, I just use the 5V version in MALE... and use a standard DB-9 (also male) connector for the PCB layout.
I've also used their LC234X, which is a small PCB you solder a header on... this one has a jumper for 3.3V or 5V.
Just refer to the doc file for connection. They have drivers for OSX, Windows and Linux.
Regarding the 65C51... if you don't plan on running a fast CPU clock, I'd suggest finding an older CMOS version from Rockwell... as these were available in 4MHz. This will work out better overall... but I still recommend using a NXP UART these days.
They offer both male and female versions in interface levels of 3.3V, 5V (TTL type) as well as RS-232 voltage levels. As I'm connecting directly to the UART, I just use the 5V version in MALE... and use a standard DB-9 (also male) connector for the PCB layout.
I've also used their LC234X, which is a small PCB you solder a header on... this one has a jumper for 3.3V or 5V.
Just refer to the doc file for connection. They have drivers for OSX, Windows and Linux.
Regarding the 65C51... if you don't plan on running a fast CPU clock, I'd suggest finding an older CMOS version from Rockwell... as these were available in 4MHz. This will work out better overall... but I still recommend using a NXP UART these days.
Regards, KM
https://github.com/floobydust
https://github.com/floobydust