Close

New project? So what's new?

A project log for ABN6502 SBC R1

Saving the planet, one obsolete chip at a time

anders-nielsenAnders Nielsen 04/06/2022 at 13:230 Comments

Revision 0 had some major issues and bad design choices.


Revision 1 ended up getting a complete rerouting of the PCB, the VGA interface changed a great deal, and the Padauk PMS171B no longer has a place in this project (though I will absolutely find something else to use a 7 cent MCU with ADC and plenty of IO for!). 

Instead, the only next century tech is the introduction of the nRF24L01+ compatible module neatly tucked away on the back of the board and the 3v3 regulator near the power LED's.

On Rev0 I was happy with the fact that I could seemingly save a couple of logic IC's for the price of 7 cents for a PMS171b, but the frustration of not being able to set the counting outputs to high impedance mode and hence the necessity for two more 74HC245 bus tranceivers just drove me crazy along with the fact that I was using two 4 bit counters for the remaining 8 bits. 
Well - just remove the PMS171B, replace the counting logic with two 74HC590 8 bit counters instead and some glue logic for the sync signals, right? Right? No... That wasn't enough. 

Even though I could connect the counter lines straight to the RAM address lines because I have connected the ~OE line of the '590's to phi2(meaning the counters are only driving the lines while phi2 is LOW and the CPU isn't using the busses) to prevent bus contention, the glue logic I had planned to decode the VSYNC and HSYNC signals was completely messed up - the signals were triggering all over the place because they were also triggered during PHI2 HIGH.. Auch.. Maybe there was no way to avoid the two '245's? 
It turns out it wasn't that hard after thinking through it all a few nights. First I tried to make do with an SR latch - no dice. Then a 74'74 - no luck either. Finally the 74hc109 JnotK flip flop to the rescue, only allowing the sync signals to change in the correct direction, when phi0 goes high(which is a bit before phi2 goes high).  Even better - the jailbars I had seen on the display were a thing of the past, indicating this was an even better solution. 

You might also notice the LED's around the '273 register on the board has funny names - that's another significant upgrade from r0.

...to be continued. 

Here: https://hackaday.io/project/184725/log/204739-so-what-else-is-new

Discussions