2022-09-19 02:51:11 -04:00
|
|
|
#=======================================================================
|
|
|
|
#
|
2023-05-16 09:40:26 -04:00
|
|
|
# application_fpga_tk1.pcf
|
|
|
|
# ------------------------
|
2022-09-19 02:51:11 -04:00
|
|
|
# Pin constraints file for the Application FPGA design to be used
|
2023-05-16 09:40:26 -04:00
|
|
|
# on the tk1 board with the CH552 MCU used as a USB-serial chip.
|
2022-09-19 02:51:11 -04:00
|
|
|
#
|
|
|
|
#
|
|
|
|
# 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_cts 27
|
|
|
|
# set_io interface_rts 28
|
|
|
|
|
|
|
|
|
2023-05-16 10:14:21 -04:00
|
|
|
# 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
|
|
|
|
|
|
|
|
|
2022-09-19 02:51:11 -04:00
|
|
|
# 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
|
|
|
|
|
|
|
|
#=======================================================================
|
2023-05-16 09:40:26 -04:00
|
|
|
# EOF application_fpga_tk1.pcf
|
2022-09-19 02:51:11 -04:00
|
|
|
#=======================================================================
|