Quote:
921600 baud seems (for this old-timer) to be rather ambitious for an initial goal.
It’s serial through USB so it can be fast. I’d go with an even higher baud rate but 921600 was the highest listed for the device in Windows. The rate is high enough that simple text screen can be emulated through the serial. 921k is about 91kB per second. Which is about 3k characters at 30Hz refresh rate.
The ‘816 isn’t actually transmitting directly through the port. Instead it writes to dual port memory. The other side of the dual port memory is connected to the uart transmitter in a DMA fashion. The DMA just loops around repeatedly through the transmit buffer. So, the transmit buffer somewhat resembles a text video buffer.
There’s a program running on the PC workstation that can pick up this repeated transmission and display it in a window. The baud clock (14.7MHz) is about 0.25% too slow but it seems to work okay.
Attachment:
File comment: HelloWorld
HelloWorld.png [ 3.74 KiB | Viewed 1070 times ]
The "hello world" is hard-coded in the transmit at the moment.
The cpu is powered by about 3v and clocked at 6MHz. Two power diodes are used to drop a 4.5v USB power down to about 3v.
Found two bugs yesterday, the reset line going to the cpu was active high and it should be active low, and the ready line needed a pullup resistor. Initially I forgot that the ready line is bi-directional on the ‘816. Then I made it a tri-state I/O on the FPGA but forgot the pullup.