fpga: Introduce CTS signals for UART

Add incoming and outgoing CTS (Clear To Send) signals for the FPGA to
let the CH552 and FPGA signal each other that it is OK to send UART
data. The CTS signals indicate "OK to send" if high. If an incoming
CTS signal goes low, the receiver of that signal should immediatly
stop sending UART data.
This commit is contained in:
Jonas Thörnblad 2024-12-17 17:18:45 +01:00 committed by Mikael Ågren
parent f3706dcfcc
commit ab4ef5fdf9
No known key found for this signature in database
GPG key ID: E02DA3D397792C46
7 changed files with 54 additions and 5 deletions

View file

@ -14,8 +14,8 @@
# UART.
set_io interface_rx 26
set_io interface_tx 25
# set_io interface_cts 27
# set_io interface_rts 28
set_io interface_ch552_cts 27
set_io interface_fpga_cts 28
# SPI master to flash memory.