Tang Mega 60K Dock

Update history
Date Version Author Update content
2024-09-26 v0.2 Serika
  • Corrected description of PCIe bus widths
  • Update content TBD before
2024-06-26 v0.1 Serika
  • Create document

Overview

Tang Mega 60K uses the 22nm process GW5AT-LV60P484A FPGA chip with 59904 lookup table units and 118 DSP units. It contains four high-speed transceivers with speeds ranging from 270Mbps to 6.6Gbps, which is suitable for transmitting data on high-speed ports such as PCIe. In addition, the chip contains hard-core PCIe and MIPI C/D PHY controllers, which consume better resources and get better performance when using PCIe. It is suitable for high-speed communication, protocol conversion, high-performance computing and other occasions.

The 60K Dock and 138K Dock share a set of dockboards(TANG MEGA NEO), so the peripherals of the two are exactly the same. Compared with the 138K Dock, the 60K Dock has fewer logic resources and a lower price, and includes a MIPI C/D PHY transceiver. This not only further reduces the cost of high-speed communication, but also brings better compatibility for image processing system integration.

  • Date to Release: October 10th, 2024

  • aliexpress purchase link: Click me

Board Features

  • Medium capacity LUT4
  • 512MiB DDR3 memory
  • PCIe 2.0 x 4
  • USB3.0 x 1(5Gbps)
  • MIPI C-PHY & D-PHY RX/TX
  • HDMI TX/RX x 1
  • Gigabit Ethernet x 1
  • Onboard 3.7V Li-on battery(1-Series) charge/discharge management

Product Appearance

Block Diagram

TBD

Hardware Parameters

SOM Board Parameters

Item Parameter Supplement
FPGA Chip GW5AT-LV60PG484A
Logic Unit (LUT4) 59904
Register (FF) 59904
Distributed SRAM
(S-SRAM) M(Kbits)
468
Block SRAM (B-SRAM) (Kbits) 2124
Number of Block SRAMs (B-SRAM) (pcs) 118
Multiplier (18x18 Multiplier) 118
Phase-Locked Loop (PLLs) 8
Global Clock 16
High-Speed Clock 20
Transceivers 4
Transceivers Rate 270Mbps-12.5Gbps
PCIe HardCore x1
Speed optional x1, x2, x4 PCIe 2.0
LVDS (Gbps) 1.25
DDR3 (Mbps) 1333
MIPI D-PHY HardCore 2.5Gbps(RX/TX),
4x data lane,
1x clock lane
MIPI C-PHY HardCore 2.5Gbps(RX/TX),
=5.75Gbps,RX/TX
3x 3bit data lane
ADC 2
Total I/O Bank 11
Memory 4Gb DDR3 512MB x 1
Flash 128Mbits Flash x 1 See How to Burn to Flash
Debug Interface Jtag + Uart JST SH1.0 8Pins CONN.
Overall Package 35mm x 45mm Size BTB CONN. Connects the SOM and the Dock Board

Dock board Parameters

Item Quantity Remarks
LEDs 4+8 4x Battery-Indicator+ 8x PMOD_LED
WS2812 1 The WS2812 & aRGB strip CONN. share the same pin
Buttons 3+1 3x User-KEY + 1x Reconfig-KEY
PCIe 1 4-lane @ 5Gbps,CH569 16bit HSPI
USB3 2 SuperSpeed @ 5Gbps
GbE 1 1000Mbps Ethernet
DVI 1 DVI supports both RX and TX
PMOD 2 Multiplexed with the the DVP CONN. & 2x20P header at the top of the Dock board
ADC 2 2x differential input channels
WS2812 1 The aRGB strip CONN. & WS2812 share the same pin
DVP Interface 1 Multiplexed with the the PMOD & 2x20P header at the top of the Dock board
RGB Interface 1 Supports RGB888 screen
MIC ARRAY Interface 1 Supports Sipeed 6+1 microphone array
SD Slot 1 1-bit SDIO/MMC or SPI mode
BATT CONN. 1 Supports 3.7V li-on battery, with built-in charge management
PWM FAN CONN. 1 Supports PWM fan with TACHO
Speaker CONN. 2 Support stereo output, 2x 3W Speaker
3.5mm Headphone CONN. 1 Supports stereo output, without Mic
MS5351 1 Provides RefClk for Serdes; control output via onboard UART
USB JTAG & UART 1 Supports FPGA programming and provides UART function
2x20P headers 2 2x20P header at the top of the Dock board multiplexed with the the PMOD & DVP CONN.
Power button 1 Press and hold for 2 seconds to toggle power state
12V DC 1 DC5521

Hardware Resources

Getting Started

Note that 60K is currently not supported by the education version, and you need to download V1.9.10.01 or a newer version of the commercial IDE for use.
There are serious problems with the Programmer version V1.9.10.02, and this product cannot be programmed.
Lic can be applied on the Gowin official website, or you can use the online Lic service provided by Sipeed. In the IDE, select Float Lic and fill in the following information:

ip: 106.55.34.119
port: 10559

if the ip not work, try use "gowinlic.sipeed.com" domain's IP.

Install IDE Click me

Example code github

Precautions

Item Precautions
Chip Model The specific model of the FPGA chip used by Tang Mega 60K is GW5AT-LV60PG484A

Please select the package model PBG484A in the IDE.
Static Electricity Please avoid static electricity hitting the PCBA; release the static electricity from your hands before touching the PCBA.
Tolerance Voltage When using GPIO pin headers for external communication, ensure that the IO voltage is 3.3V. Excessive voltage will permanently damage the PCBA.
FPC Socket When connecting the FPC soft cable, please ensure that the cable is completely and correctly inserted into the socket without any deviation.
PCIE Gold Finger When testing the PCIE gold finger, ensure that both the host and the board are in the off or unpowered state to avoid short-circuiting the gold finger due to displacement during the insertion process.
Plug and Unplug Please completely power off before plugging and unplugging.
Avoid Short Circuit Please avoid any liquid or metal touching the solder pads of the components on the PCBA during the power-on process, otherwise it may cause a short circuit and burn the PCBA.

Contact

Tang Mega 60K can meet different needs of customers in various scenarios. For technical support and business cooperation, please contact support@sipeed.com

Frequently Asked Questions (FAQs)

After powering on the board, only four indicator lights on the dockboard are on, the SOM indicator light is not on

  1. Please check if the board’s power has been turned on, press and hold the PWR button (next to the HDMI port) for 2 seconds to turn on the power.

After powering on the board, the Battery-Indicator light on the dcokboard is flashing

  1. This is normal behavior, usually, the last LED (near the 12V DC connector) is flashing;
  2. When the board is connected to a 3.7V lithium battery, these LEDs will serve as battery level indicators.

After pressing and holding the PWR button for 2 seconds, all the indicator lights on the dockboard turn off and then light up in sequence

  1. Check your power supply method, this situation means that the power supply is insufficient;
  2. Solutions (choose one):
    a. Connect both the board’s USB-3.0 and USB-DEBUG for power supply, i.e., dual 5V USB power supply;
    b. Connect a 12V DC power supply to the board, if using the USB-C to 12V DC connector from the accessories, a PD power source with 12V output capability is required;
    c. Connect a 3.7V lithium battery to power the board, note that the battery voltage must be ≥3.6V and the continuous discharge capacity must be ≥600mA.

IDE cannot find the model GW5AT-LV60PG484A

  1. The educational version does not support 60K, please switch to the commercial version. The following image shows the educational version (which does not support 60K);
  1. IDE version is too low to use, update the IDE version ≥ 1.9.9.

How to burn the bitstream to FLASH

  1. Setting the Programmer as shown in the figure below:
flash_mode
  1. Check the position of the DIP switch; the correct position is shown in the figure below:
dip-key_defualt

No Response or Undesirable Pin Phenomenon After Burning

  1. First, ensure that the IDE has selected the correct model GW5AT-LV60PG484AC1/10; every parameter in the figure below MUST be consistent.
device_choose
  1. Then, check your code and the corresponding simulation waveforms to meet the requirements. The GAO tools in GOWIN IDE maybe helpful. For more information, please refer to the GOWIN document SUG100(require login).

For more questions and solutions, go to Related Questions to view