In this video, I add serial communications capability to the computer, using the W65C51N UART from Western Design Center. By interfacing to the UART over USB with a MCP2221A adapter, I'm able to talk to the computer for the first time! Now, this specific UART has a well-known hardware bug, and I go over it and how to work around it using a simple waiting loop.
Join me in discussing this project in the 6502 forums: http://forum.6502.org/viewtopic.php?f...
View the source code and schematics shown in this video: https://github.com/adrienkohlbecker/B...
The most recent source code and schematics are available here: https://github.com/adrienkohlbecker/B...
Chapters:
00:00 Intro
01:31 Looking at the W65C51N
06:01 Adding the UART to KiCad
08:30 Discussing the MCP2221A USB-UART adapter
12:33 Adding the USB adapter to KiCad
16:08 Wiring up the circuit
22:20 Troubleshooting
25:17 Putting the UART in echo mode
30:17 Sending and receiving bytes
34:29 Chip hardware bug and workaround
38:18 Working circuit
38:32 Outro