The goal of this project is to have USB serial working at 50Mhz (TX/RX) and have simple protocol to abstract SPI, PWM decode/encode, OneShot peripherals.
The simple demo shows the RX character value on the LEDs.
Steps:
- git clone https://github.com/tcmichals/cyc1000.git
- start Quartus
- open the fast_serial_test project
- compile and load
- start minicom --device /dev/ttyUSB0
- edit the serial port to remove hardware hardware handshaking. It does not matter what the baud rate is. Just start typing and the LEDs will change values to the RX chacaters. The easiest is to use '0', '1' '0' is 0x30 then 1 is 0x31, so only one LED changes.
Also, must change the EEPROM of the FPGA to use opt serial. For this to work.
More to come. Next is TX.
Made several improvements.
ReplyDelete- Fixed encoding the serial RX stream, bits were reversed
- Added a 7 Segment project ( helps understand verilog case statements
Working on new Python script for simple loop back