RetroBrew Computers Forum
Discussion forum for the RetroBrew Computers community.

Home » RBC Forums » General Discussion » Z180 upd7220 GDC SBC (gauging interest in PCBs for project)
Z180 upd7220 GDC SBC [message #9724] Thu, 03 February 2022 04:17 Go to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
Hi
I am interested in pursuing a Z180 upd7220 GDC SBC project and have an initial design. It is not done yet, but the attached files should give you a pretty good idea of where this is headed. I anticipate only cosmetic improvements between now and PCB build and test.

It would have a Z80S180 CPU with two serial ports, 512KB Flash ROM, 1MB SRAM, RTC, PPIDE, and PS/2 keyboard and mouse controller plus a NEC upd7220 GDC graphics controller. It should be capable of 640x480 by 16 color graphics with a 25 MHz dot-clock. The ECB upd7220 GDC was capable of 800x600 by 16 colors with a dot-clock upgrade to 40 MHz. I think this design would as well but would like to keep that as a goal rather than a requirement.

My desire is to gauge what sort of interest, if any, exists here. I would like to order some PCBs from JLCPCB and will ship those inside the US. People outside the US will have to order their own using the Gerber files once they are available. This is a large PCB (8.5"x11") with a lot of components so it would be a sizable investment plus time and effort.

If there is interest here that would be great but if not, I'll probably just keep the project private. Please let me know if you are interested in building one of these boards. Either post in this thread or contact me by PM or email if you have my address already.

Thanks, Andrew Lynch

[Updated on: Fri, 18 February 2022 08:51]

Report message to a moderator

Re: Z180 upd7220 GDC SBC [message #9734 is a reply to message #9724] Fri, 04 February 2022 04:34 Go to previous messageGo to next message
mscane is currently offline  mscane
Messages: 111
Registered: October 2015
Senior Member
Hi Andrew,

That looks like an interesting project.

A couple of thought come to mind:

1. Power consumption. I recall the original 7220 board consumed a fair amount of power, I doubt the linear regulator would handle the load or would get pretty hot. Would it be better to incorporate a switching regulator or just make the board 5V only?

2. PPIDE. 82C55s are getting harder to get these days and using it does slow down data transfers due to the need to bit bang signals. Most likely you would be using a compact flash card which could easily be connected directly to the data bus (eg Mark IV) without needing the 82C55.

3. SD card. Compact Flash cards are also getting scarce. Would it be possible to add an SD card (similar to N8)?

4. Board size. Given you are approaching Micro ATX size (9.6 x 9.6), would it be worth while making it capable of using an PC case/power supply

Cheers!

Max?
Re: Z180 upd7220 GDC SBC [message #9735 is a reply to message #9734] Fri, 04 February 2022 06:07 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
mscane wrote on Fri, 04 February 2022 07:34
Hi Andrew,

That looks like an interesting project.

A couple of thought come to mind:

1. Power consumption. I recall the original 7220 board consumed a fair amount of power, I doubt the linear regulator would handle the load or would get pretty hot. Would it be better to incorporate a switching regulator or just make the board 5V only?

Hi Max, Thanks! Yes, I am concerned about power consumption on both the Z180 and upd7220 sides. Both use a lot of current. I added a 5V DC regulated direct connector and sized the VCC & GND traces for 3 amp draw. I estimate it should be less than 3A but want some margin. The 9V DC unregulated barrel jack has its traces sized for 6 amps draw although I really hope it doesn't come to that.

There is also a 5V regulator (LM7805K) in the TO-3 package which is able to source up to 3A of current in a regular package. With a ground fill zone as a thermal radiator it should be able to produce enough current for the board.

Many of the components on the Z180 are available in CMOS versions although on the upd7220 side it is all 74LS and 74F for speed requirements. Possibly there could be some 74HCT substitutions in a few areas but not a lot. I am looking for CMOS versions of the 32KB cache SRAMs which would save some as well.

Quote:


2. PPIDE. 82C55s are getting harder to get these days and using it does slow down data transfers due to the need to bit bang signals. Most likely you would be using a compact flash card which could easily be connected directly to the data bus (eg Mark IV) without needing the 82C55.

Thanks, I will look into this.

Quote:


3. SD card. Compact Flash cards are also getting scarce. Would it be possible to add an SD card (similar to N8)?

The N8 had an SD card but as I recall it was connected to the Z180 ASCI port which turned out to be a bad idea. The serial port sent the bits in the wrong order to what the SD card format was expecting and so all the data had to be manually reversed in order to get it to work. Apparently, it was dreadfully slow and was unpopular. At least that's what I remember although things may have changed. I think these days to use SD you would have to have some kind of MCU or parallel to serial interface (not a UART) to get acceptable performance.

My goal is 100% RomWBW compliance and I know the PPIDE with CF-IDE adapter works out-of-the-box. It has worked great on the Z80 MBC project and really advanced it much further than I could have all on my own. RomWBW is a breakthrough technology which makes these projects much more achievable. So much that I am designing the project to achieve maximum RomWBW compability.

At one point, RomWBW supported upd7220 and there are still traces of it left in the source code although I think it has been mostly deprecated in recent versions. My plan is to implement a graphics character pseudo-character mode with the upd7220 so it acts like a text console at least at first. Then later implement the more graphical functions like possibly GSX-80 or something similar. Character mode is critical for RomWBW compliance though, so it has to be top priority.

Quote:


4. Board size. Given you are approaching Micro ATX size (9.6 x 9.6), would it be worth while making it capable of using an PC case/power supply

I'm considering that for a subsequent version. I have some ATX PCB layouts but this board is intended to be a prototype for the work bench. Almost certainly there will be a bunch of changes which will require a respin and we can address reformatting the PCB layout then. I am hoping the debug features (spare sockets & prototyping area) can be removed and shrink down the board somewhat.

The other alternative is to use the JLCPCB 3D printing service to make a custom case for it. Dan Werner did this for his WE816 SBC and it turned out great. I can see something akin to that for a large flat PCB like this one.

Quote:


Cheers!

Max?
Great feedback, let me consider your ideas. Thanks, Andrew Lynch
Re: Z180 upd7220 GDC SBC [message #9736 is a reply to message #9735] Fri, 04 February 2022 08:41 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
Hi Max,
I went back and re-read the 7805K datasheet and I must have mis-read it. It can't handle 3A current so I am going to remove it and just use the 5V DC connector from a power supply.

Good catch! Thanks, Andrew Lynch

PS, correction, there are 7805s that can handle 3A but they are mostly TO-220 packages, so I switched over to the TO-220 footprint with a lot of room left for a large heat sink. That should help dissipate the heat. Specifically, it is the MC78T05. I must have gotten my wires crossed somewhere

[Updated on: Fri, 04 February 2022 13:05]

Report message to a moderator

Re: Z180 upd7220 GDC SBC [message #9738 is a reply to message #9735] Sat, 05 February 2022 09:08 Go to previous messageGo to next message
etchedpixels is currently offline  etchedpixels
Messages: 333
Registered: October 2015
Senior Member
lynchaj wrote on Fri, 04 February 2022 06:07

Hi Max, Thanks! Yes, I am concerned about power consumption on both the Z180 and upd7220 sides. Both use a lot of current. I added a 5V DC regulated direct connector and sized the VCC & GND traces for 3 amp draw. I estimate it should be less than 3A but want some margin. The 9V DC unregulated barrel jack has its traces sized for 6 amps draw although I really hope it doesn't come to that.
I've taken to just using PC power supplies. They are cheap, reliable and provide all the voltages and signals for power control, reset and floppies as well. Doesn't avoid the need for fuses and good sized tracks obviously.

Quote:

Many of the components on the Z180 are available in CMOS versions although on the upd7220 side it is all 74LS and 74F for speed requirements. Possibly there could be some 74HCT substitutions in a few areas but not a lot. I am looking for CMOS versions of the 32KB cache SRAMs which would save some as well.
74AHCT look like they would be fast enough for much of it ?


Quote:

The N8 had an SD card but as I recall it was connected to the Z180 ASCI port which turned out to be a bad idea.
Most Z180 RC2014 systems use SD card on the CSIO bus. The bit ordering is not a problem and the Z180 is fast enough to flip a byte in the operating time of the CSIO so the cost is basically nil. It's faster than the PPIDE in my experience and works reliably unlike the direct bus attach hacks for CF that violate timing rules and also put very very sharp edges onto the board because modern CF cards have drivers designed to handle 33MHz at 5v over several inches of cable. CF production is also nowdays pretty much over. It's a very dead technology.

Quote:

The other alternative is to use the JLCPCB 3D printing service to make a custom case for it. Dan Werner did this for his WE816 SBC and it turned out great. I can see something akin to that for a large flat PCB like this one.
Another option is just to make it mini-itx or similar then you can use all those nice Mini-PC cases. That's what I've done with my rather less ambitious Z180 board.

For the 7805 there are better options - even in the classic 7805 form factor you can get modern switched mode 12v/5v convertors. Most of the 7805's are also end of lifed. I had to buy myself a stash from mouser for repairing old boxes

Cypress still make fast (10ns) 5v SRAM but nothing smaller than 128Kx8 any more that I've seen and also no longer in through hole.


Alan
Re: Z180 upd7220 GDC SBC [message #9760 is a reply to message #9738] Mon, 14 February 2022 04:13 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
Hi
A quick update on this project; I have the PCB in FreeRouting optimizing. It's been there for over a week and will likely be there a while longer. It is a big and complicated board so it takes a long time to get a decent autoroute completed. FreeRouting can only do so much so some work has to be done by hand.

When it completes or is at least close enough I will order some PCBs from JLCPCB. Normally I get 5 PCBs per order. I will use one for certain and probably 2 or 3 to others. I think there might be a spare board left over so if you're interested in building please let me know. I can order more PCBs but I doubt that many people are willing to build the prototype.

Thanks, Andrew Lynch

PS, I have been slowly ordering parts for my build and gathering up the stuff I have already on hand. It's a lot of parts although I have a lot from previous projects. The initial build will use a Z80180 I've had for a long time with a 7.3728 MHz clock. I have a upd7220 chip from before and am going to order a BT478 RAMDAC. Along with the 82C55 and VT82C42 those are the big ICs and the rest are mainly glue logic and memory.

[Updated on: Fri, 18 February 2022 03:44]

Report message to a moderator

Re: Z180 upd7220 GDC SBC [message #9766 is a reply to message #9760] Fri, 18 February 2022 08:52 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
Hi
Made an update on the Z180GDC to improve consistency in component naming and some other clean ups. Thanks, Andrew Lynch
Re: Z180 upd7220 GDC SBC [message #9812 is a reply to message #9766] Wed, 09 March 2022 11:36 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
Hi
Based on how the PCB trace route optimization is going, I think it is approaching complete. I am hoping to order some PCBs in the next few days. The usual order is for 5 PCBs from JLCPCB but if anyone else wants to build one of these boards please let me know so I can include yours in the order.

Thanks, Andrew Lynch
Re: Z180 upd7220 GDC SBC [message #9814 is a reply to message #9812] Fri, 11 March 2022 10:29 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
Hi
OK, the PCB finally finished trace route optimizing today so I ordered some PCBs from JLCPCB. You can see the technical data at the github repo here: https://github.com/lynchaj/rhyophyre

Thanks, Andrew Lynch
Re: Z180 upd7220 GDC SBC [message #9818 is a reply to message #9814] Tue, 15 March 2022 05:00 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
Hi
JLCPCB says the PCBs have shipped. I expect they'll arrive next week sometime. I'll post an update once they arrive. Should be exciting!

Thanks, Andrew Lynch
Re: Z180 upd7220 GDC SBC [message #9828 is a reply to message #9724] Mon, 21 March 2022 04:07 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
Hi
The Z180GDC V1 PCBs have arrived and I've distributed them to the build and test team. I've kept one for myself and have started installing components such as resistors and capacitors. So far seems to be going well. I am keeping notes on things to improve on the V2 version such as to add a power LED indicator. I thought I had one but apparently not. Being a prototype board there will almost certainly be more findings. One of my major concerns is ensuring power and ground nets are correct and early testing indicates they are working.

/forum/index.php?t=getfile&id=2702&private=0
Re: Z180 upd7220 GDC SBC [message #9829 is a reply to message #9828] Mon, 21 March 2022 04:15 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
Hi
If you want to build your own Z180GDC V1 board you can order your own from JLCPCB using the Gerber files on the Github repo here: https://github.com/lynchaj/rhyophyre

I have distributed all the ones I have to the build and test team so any addition people will need to order their own from the manufacturer. There is also a BOM for what parts you'll need plus I'm available to answer questions. I do not recommend this project for inexperienced builders due to size and complexity
Re: Z180 upd7220 GDC SBC [message #9836 is a reply to message #9829] Wed, 23 March 2022 07:57 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
Hi,
If you are building your own Z180GDC from the Gerbers on the Github repo, please monitor the prototype page for build and test notes as I go through my own build. I've discovered a couple relatively minor issues so far and it will be much easier for your build if you are aware of them. If you discover any of your own please post

https://github.com/lynchaj/rhyophyre/tree/main/Prototype

Re: Z180 upd7220 GDC SBC [message #9848 is a reply to message #9836] Sun, 03 April 2022 08:11 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
Hi
Build and test of the Z180GDC V1 prototype is going well. All systems are checking out good including the uPD7220. There are a couple of test programs. Things are going well and have really advanced.

This is an intermediate step to the Z180GDC V2 board however if you'd like to build your own you can use the Gerbers and technical data on the Github repo. The more build and test the better so feel free to dive in.

If multiple people want to build their own maybe organize a group buy of the PCBs? I got five PCBs from JLCPCB for $30 plus $30 shipping which seemed like a pretty good deal for an 88 sq inch board.

https://github.com/lynchaj/rhyophyre

fully populated (except for missing DS1302 RTC) with all connectors installed

/forum/index.php?t=getfile&id=2710&private=0

T7220 test program results

/forum/index.php?t=getfile&id=2711&private=0

D7220 test program results

/forum/index.php?t=getfile&id=2712&private=0
Re: Z180 upd7220 GDC SBC [message #9875 is a reply to message #9848] Thu, 28 April 2022 06:06 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
Hi
It's been a while since an update on the Z180GDC V1 board. The hardware seems to have checked out fine with some adjustments as expected with a prototype board. There is some mysterious blanking that happens with some LCD monitors and we're trying to figure out what is causing it. Software development is going well. There are a few test programs which demonstrate operations quite well such as D7220, KOCH, SHOWPCX, and TEXT. It can show 16 colors at VGA frequencies and even smooth vertical scrolling. The team is building a text mode demonstration that seems to work quite well. Plans are for an eventual integration into RomWBW as a console display and use the PS/2 keyboard as an input for a stand alone SBC.

I think most of the high risk items have been addressed and now it would be good to have more people build and test the board to shake out any remaining bugs and/or write additional software programs. You can get all the design information here including KiCAD files, Gerbers, test software, & reference material here: https://github.com/lynchaj/rhyophyre

Definitely hoping more people would join the project. I think this may be the only uPD7220 SBC available as far as I know. If anyone knows of any others (especially with software) please post here

Thanks, Andrew Lynch
Re: Z180 upd7220 GDC SBC [message #9890 is a reply to message #9875] Mon, 02 May 2022 10:50 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
Hi
Someone on the build team discovered the root cause of the mysterious random blanking during drawing operations. It turns out it is related to DRAM refresh during drawing operations video memory writing. The fix is to disable DRAM refresh and the random blanking goes away. A pretty simple patch that makes a big difference if you are using an LCD monitor effected by the blanking. Not sure why DRAM refresh was doing this but it is certainly not needed since the design uses SRAM for video memory. So that's good news.

The Z180GDC V1 really makes a pretty good SBC and it is fast too. Have some ideas for a Z180GDC V2 design and am looking forward to getting going on it in the near future.

Thanks, Andrew Lynch
Re: Z180 upd7220 GDC SBC [message #10171 is a reply to message #9890] Tue, 06 December 2022 15:57 Go to previous message
etchedpixels is currently offline  etchedpixels
Messages: 333
Registered: October 2015
Senior Member
Stumbled on another 7220 based design

https://hc-ddr.hucki.net/wiki/doku.php/z1013/module/gdc

This one seems to be text mode
Previous Topic: Interested in a Z280 SBC
Next Topic: Z380 usage examples?


Current Time: Tue Mar 25 22:23:04 PDT 2025

Total time taken to generate the page: 0.02472 seconds