mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-08-06 21:54:29 -04:00

The FPGA uwg30 package cannot use B3 as an input when an instance of SB_PLL40_CORE is placed. We swap fpga_cts and ch552_cts to make B3 (from here on fpga_cts) an output. For more info check out: FPGA-TN-02052-1-4-iCE40-sysCLOCK-PLL-Design-User-Guide.pdf chapter "5.1 PLL Placement Rules"
47 lines
1 KiB
Text
47 lines
1 KiB
Text
#=======================================================================
|
|
#
|
|
# application_fpga_tk1_uwg30.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.
|
|
# This version targets the UWG30 package.
|
|
#
|
|
#
|
|
# Copyright (C) 2022 - Tillitis AB
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
#=======================================================================
|
|
|
|
# UART.
|
|
set_io interface_rx A2
|
|
set_io interface_tx A1
|
|
set_io interface_ch552_cts A4
|
|
set_io interface_fpga_cts B3
|
|
|
|
|
|
# SPI master to flash memory.
|
|
set_io spi_miso E1
|
|
set_io spi_sck D1
|
|
set_io spi_ss C1
|
|
set_io spi_mosi F1
|
|
|
|
|
|
# Touch sense.
|
|
set_io touch_event B1
|
|
|
|
|
|
# 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 A5
|
|
set_io led_b B5
|
|
set_io led_g C5
|
|
|
|
#=======================================================================
|
|
# EOF application_fpga_tk1_uwg30.pcf
|
|
#=======================================================================
|