• 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