Hm, it's late so I hope my cluelessness isn't going to start arguments.
BigDumbDinosaur wrote:
BTW, are you using the NMOS 6502 or the 65C02?
Using the 65C02 for now, but may switch up to the `816 for a subsequent SBC. It's on order.
BigDumbDinosaur wrote:
You shouldn't gate any chip select with the Ø2 clock.
I'm guessing that's desirable rather than mandatory, as I have seen I/O devices that only have a CS or E, and RWB. Directly attaching an HD44780 LCD to the bus
is an example, where I wanted to preserve VIA pins.
http://6502.org/mini-projects/optrexlcd/lcd6502.gifI guess I was implying in my original post though, that for non-65* devices that don't have a Ø2 input, is it always mandatory to honor Ø2 for all devices that accept bus writes? Eg: a DS1511Y or HD44780, as well as SRAM.
BigDumbDinosaur wrote:
Write operations require more detailed qualification. Succinctly stated, the data bus is not valid when Ø2 is low, which means /WE on the device being written must be qualified by Ø2. The logic is:
So if I am reading it right: It is better to qualify RWB with Ø2, to avoid wild writes on devices that have no Ø2 input, and let address-decode generate CE. In general. The only issue there is that the device might try to assert the data bus while Ø2 is low, even though nothing cares what information is on it. I guess the 65C02 won't care about that enough (electrically) for it to be any concern?
BigDumbDinosaur wrote:
Note that in the case of the 65C22 and 65C51, chip and register selection must occur before Ø2 goes high in order for the device to respond.
That is why my old Datasheet for my R65C52P4 is a head-scratcher, it appears to have no Ø2 input yet has NC pins. I've searched high and low for a more recent datasheet to no avail. Yours and Garth's points regarding substituting a better UART are noted. It's just I have this part plugged into my breadboard right now. If I can get things running (and TBH I am not yet at the point of cutting code) I'll report any findings on the device for completeness sake. I have a 65C51 on order anyway, but promise I won't sully an `816 with it.
BigDumbDinosaur wrote:
I guess the point that Garth and I are trying to make is to carefully consider all aspects of your design before choosing parts and heating up the soldering iron. Also, be sure to thoroughly peruse each device's data sheet so as to avoid being tripped up by some obscure characteristic.
Thanks for your responses, I am still in the research phase and my iron is still cold. I had already taken your recommendations for 74AC parts while studying your POC pages. Starting out, my plan was to begin at 1MHz with a 65C02, 65C22, 65C52(51), 27C512, 61512, DS1511Y, and a HD44780 and improve from there while keeping it as simple as possible.