• sales

    +86-0755-88291180

Lichee-Tang-Primer-20K FPGA User Guide

【Introduction】

Tang Primer 20K is a core board with DDR3 sodimm shape based on GW2A-LV18PG256C8/I7 as the main chip, with 2 ext-boards are prepared, the Dock and the Lite.

 


【Parameters】

ItemParameterAddition
FPGA ChipGW2A-LV18PG256C8/I7
Logic units(LUT4)20736
Flip-Flop(FF)15552
Shadow SRAM S-SRAM(bits)41472
Block SRAM B-SRAM(bits)828K
Number of B-SRAM46
18x18 Multiplier48
PLLs4
I/O Bank8
Memory128M DDR3
Flash32Mbits NOR FlashRead burn Flash
DebuggerJtag + UartJST SH1.0 8Pins connector
SD card slot1Push-pull type
Display8Pins spi lcd connector
Package204P DDR3
Avaliable IO117


【Comparison between ext-board】

】Dock ext-board appearance

The corresponding pins numbering of LED2 and LED3 is N16 and N14. See the mark on left of the right picture.

 

】Lite ext-board appearance

The corresponding pin numbering between R8 and P9 is P8. See the mark on the top left of the right picture.

 

】Comparison between peripherals of ext-board

ItemDockLite
NumberAdditionNumber
RGB Interface1RGB565 40P FPC Connector
DVP Interface124P FPC Connector
Mic array Interface110P FPC Connector
Touch Interface16P FPC Connector
PMOD Interface44
3.5mm headphone Jack1LPA4809MSF driver
DIP switch15P DIP switch
Slide switch1Switch USB function2
Type-CUSB-JTAG&UART1Onboard BL702 used to download bitstream file and provide serial communication
User-defined USB1USB3317 with Slide switch to change USB Interface function
Wireless antenna1BL702 wireless function
Key6One used for burning BL702,
five for Users
2
LED6
HDMI Interface1
Ethernet Interface1RTL8201F
RGB LED1WS2812


【Hardware information】


【User guide】

Install IDE -> Learn coding programmer -> Read Tutorial -> Program by yourself -> Read more official documents

  1. Install IDE: Click me.

  2. Visit Start to use to avoid some problems, and we can start coding for FPGA there.

  3. After coding for FPGA, if you think it difficult, here we collect some useful learning resource.

    If you have trouble using IDE, we have packed all documents about IDE, visit Download station and download what you need.


【Reference examples summary】

】Examples

github :https://github.com/sipeed/TangPrimer-20K-example


【Additional message】

The default bank voltage of bank 0、bank 1、bank 7 on the core board is 3.3V, so their bank IO voltage is 3.3V output. If you want to custom the input IO bank voltage, please remove R5 and R9, see Assembly Click me to see where is R5 and R9.


And the corresponding golden finger on core board are as following:


【Questions】

】Dock ext-board not work

For 20K Dock kits, it's necessary to enable the core board before using debugger debug the chip, just put the 1 switch on the dip switch down, otherwise LED0 and LED1 are on and core board dose not work.


】How to burn into flash

Do following configurations:


】No reaction after burning or phenomenon is wrong

Make sure you hace selected right device, and all parameters are the same as following.

Then make sure your code logic is right and your


】Successfully burned once, but can't burn after that

Note that the description is there was a successful Flash burnt one time.

In this case, the default reason is that the wrong Dual-Purpose pin is enabled and the debugger can no longer scan the FPGA's JTAG. You can short pin 1 and pin 4 of Flash, by which the chip cannot read FLASH normally when it is powered on.


Besides, if you have dock ext-board, this can be solved by the enable pin of dip switch. Here art the steps

Firstlt, enable the core board, put the 1 switch on the dip switch down, then do something (like burnning fpga or erasing FPGA) in Programmer application, when the progress bar shows, switch the 1 switch on the dip switch up and down, after which you will find the progress bar works and finish your operations on fpga.


Enable the core board first


Do operation on board, when progress bar shows, switch the 1 switch on the dip switch up and down


put the 1 switch on the dip switch up and down


Progress bar works and finish your operations on fpga

】Visit Questions for more


【Support】

Monday-Friday (9:30-6:30) Saturday (9:30-5:30) -China time
Email: services01@spotpear.com


TAG: Raspberry Pi 4/5 UPS Uninterruptible Power Supply HAT Lithium Battery Module ESP32 S3 Development Board 2.1 inch Round Rotary Knob LCD Smart Screen 2.1inch Display 480x480 LVGL for Arduino Core3566104032 DDSM315 Direct Drive Servo Motor All-In-One Design Hub RS485 Motor Raspberry Pi 3 LCD HAT NVIDIA Jetson ESP32-P4 ESP32-C6 Development Board RISC-V WiFi6 MIPI CSI Camera 7/10.1 inch DSI Display /RJ45 Ethernet /Mic /Audio Size Compatible with Raspberry Pi MPUUART Raspberry Pi 5 PCIe to ISO 2-CH RS485 /2-CH RS232 / USB /UART / TTL Raspberry Pi PICO Long-Range Communication Power Pico-DALI2 Expansion Board For ESP32 C6 S3 DALI communication control multiple LED 0.85inch Display 7inch-DSI-LCD-H User Guide ESP32-S3 3.49-inch Development Board DeepSeek AI Chat Box 3.49inch LCD Capacitive TouchScreen Display 172×640 N16R8 USB Binocular Camera 2MP OS02G10 Distortion Free Binocular Synchronous Frame USB 2.0 Plug and Play Jetson Nano Development Board ESP32 H2 ESP32-H2-Zero MINI Development Board For BLE/Zigbee/Thread ESP32 C3 ESP32 P4 Development Board 7inch Display 7 inch TouchScreen Onboard ESP32-C6 Camera 1024×600 ESP32-C3FN4