This is an excerpt from Garth's RS-232 Primer page:
"We should mention that although UARTs are mentioned throughout this introduction, it is possible (as you probably already figured out) to do the UART job in software, doing what we call "bit-banging" with individual parallel port bits of I/O ICs like the 6522. "Bit-banging" is where the software handles the shifting, timing, error-checking, etc., instead of letting a UART do it in its hardware shift registers, timers, counters, and other circuits. I believe the Commodore 64 did it with a 6526 (which is a general parallel-I/O IC). This should only be considered a last resort however. (There is a forum topic here on bit-banging 57,600bps on a 1MHz 6502.) Using a real UART is much easier from the programming perspective, usually allows higher speeds, and allows the processor to work on other things between byte transmissions or receptions. Don't confuse asynchronous serial (like RS-232) and synchronous serial (like SPI, Microwire, and I²C). Synchronous serial interfaces with their separate clock line usually do not have the tight timing requirements that RS-232 does, so they're much easier to bit-bang if you have to, and to do so at comparatively high speeds. "
http://wilsonminesco.com/RS-232/RS-232primer.htmlI've been thinking it over and over and last night while lying in bed I had an idea to 'bit-bang' UART with a 6522. Why COULDN'T it be done? After researching this morning, I find that Garth mentioned it, and some other places on the net have as well.
In an effort to reduce chip count, board size, cost, and overall complexity, is it possible to use UART on a 6522? Yes, with a low baud rate. And yes, I will probably need some 1-2 MHz oscillator can that would effectively divide for said low baud rate. I was going to run a 1 MHz clock anyways. This is just for talking back and forth with my Linux box, nothing fancy here, no high speeds needed. This is still assuming I'd be using floobydust's suggestion to use something like this:
https://protosupplies.com/product/ft232 ... e-adapter/Thoughts? I know y'all are professionals, but I gotta start small. I'm already going to be including the 6522 so why not multi-purpose the thing?
Thank you all.