mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-03-12 10:06:47 -04:00

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.
47 lines
1000 B
Plaintext
47 lines
1000 B
Plaintext
#=======================================================================
|
|
#
|
|
# application_fpga_tk1.pcf
|
|
# ------------------------
|
|
# Pin constraints file for the Application FPGA design to be used
|
|
# on the tk1 board with the CH552 MCU used as a USB-serial chip.
|
|
#
|
|
#
|
|
# Copyright (C) 2022 - Tillitis AB
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
#=======================================================================
|
|
|
|
# UART.
|
|
set_io interface_rx 26
|
|
set_io interface_tx 25
|
|
set_io interface_ch552_cts 27
|
|
set_io interface_fpga_cts 28
|
|
|
|
|
|
# SPI master to flash memory.
|
|
set_io spi_miso 17
|
|
set_io spi_sck 15
|
|
set_io spi_ss 16
|
|
set_io spi_mosi 14
|
|
|
|
|
|
# Touch sense.
|
|
set_io touch_event 6
|
|
|
|
|
|
# GPIOs.
|
|
set_io app_gpio1 36
|
|
set_io app_gpio2 38
|
|
set_io app_gpio3 45
|
|
set_io app_gpio4 46
|
|
|
|
|
|
# LEDs
|
|
set_io led_r 39
|
|
set_io led_g 40
|
|
set_io led_b 41
|
|
|
|
#=======================================================================
|
|
# EOF application_fpga_tk1.pcf
|
|
#=======================================================================
|