• Stars
    star
    129
  • Rank 279,262 (Top 6 %)
  • Language GLSL
  • Created over 2 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

TangPrimer-20K-example project

TangPrimer-20K-example



Note

Error code:RP2017

When you meet error code PR2017, just enable corresponding IO as regular IO.

rp2017

Click Project in top menu bar and choose Configuration, then enable the corresponding Dual Purpose Pin to deal with this error.

Examples

This is the test project which is used for testing Lite-bottom and core board(Factory test). Including the DDR-Test project and another demo containing all other usable IO blink.

Thanks ZiyangYE providing this example. Using serial-communication with 115200 baudrates to shows result.

SPI_lcd

This is an example driving 1.14 inch spi screen.

spi_lcd

Screen datasheet: Click me

Cross colorbar on the screen.

480x272_4.3inch_lcd 800x480_5inch_lcd
lcd_4_3_inch lcd_5_0_inch

Colorbar on screen

rgb_lcd_4.3inch_colorbar rgb_lcd_5inch_colorbar
lcd_4.3inch_colorbar lcd_5inch_colorbar

Cam2lcd

There are 4 projects, their name rules are as followings:

Folder name Camera Screen resolution Frame storge mode
OV5640_LCD480_DDR3 OV5640 480x272 DDR3
OV5640_LCD800_DDR3 OV5640 800x480 DDR3
OV5640_LCD480_FIFO OV5640 480x272 FIFO
OV5640_LCD800_FIFO OV5640 800x480 FIFO

These are only for testing, and if you want better results, you need program on yourself.

After burning the .fs bitstream into fpga, press S0 button to reset fpga chip to get right display.

cam2lcd

Micarray

There is demo for micarray board.

This runs a rv32ic rocket core with a UART peripheral attached. This example system outputs A via UART infinitely.

WS2812

A demo for onboard ws2812 led.

USB

Demo of onboard USB3317 Hi-Speed USB serial pool based on LUNA.

UART

A demo of UART, set baudrate and open the onboard COM port to see the message.

hello_gowin

PT8211 (Stereo Audio)

A demo to drive PT8211-S which is the audio DAC on Primer 20K Dock. Be careful of the voice because it's loud.

Ethernet

  • verilog_UDP

A Ethernet example from LAKKA verilog_UDP

Tang Primer 20K Dock pin constrain

Clk pin

The clock pin on primer 20K is H11

Reset pin

The reset pin on primer 20K is T10

RGB LCD

PORT IO Pin PORT IO Pin
lcd_dclk output R9 lcd_de output E15
lcd_hs output A15 lcd_vs output D14
lcd_r[0] output L9 lcd_r[1] output N8
lcd_r[2] output N9 lcd_r[3] output N7
lcd_r[4] output N6 lcd_g[0] output D11
lcd_g[1] output A11 lcd_g[2] output B11
lcd_g[3] output P7 lcd_g[4] output R7
lcd_g[5] output D10 lcd_b[0] output B12
lcd_b[1] output C12 lcd_b[2] output B13
lcd_b[3] output A14 lcd_b[4] output B14

Camera

PORT IO Pin PORT IO Pin
cmos_scl inout F14 cmos_sda inout F16
cmos_vsync input G15 cmos_href input G14
cmos_pclk input F13 cmos_xclk output G12
cmos_rst_n output L13 cmos_pwdn output C10
cmos_db[0] input T12 cmos_db[1] input T11
cmos_db[2] input P11 cmos_db[3] input R11
cmos_db[4] input M15 cmos_db[5] input M14
cmos_db[6] input J16 cmos_db[7] input J14

USB

PORT IO Pin PORT IO Pin
ulpi_stp output K11 ulpi_rst output F10
ulpi_data[7] inout R12 ulpi_data[6] inout P13
ulpi_data[5] inout R13 ulpi_data[4] inout T14
ulpi_data[3] inout H13 ulpi_data[2] inout J12
ulpi_data[1] inout H12 ulpi_data[0] inout G11
ulpi_nxt input K13 ulpi_dir input K12
ulpi_clk input T15 rst_n input T3

Ethernet

PORT IO Pin PORT IO Pin
phyrst output F10 netrmii_clk50m" input A9
netrmii_txd[0] output D16 netrmii_txd[1] output E14
netrmii_txen output E16 netrmii_rx_crs input M6
netrmii_rxd[0] input F15 netrmii_rxd[1] input C9
netrmii_mdc output F14 netrmii_mdio inout F16

DDR

PORT IO Pin PORT IO Pin
ddr_bank[0] output H4 ddr_bank[1] output D3
ddr_bank[2] output H5 ddr_odt output R3
ddr_addr[0] output F7 ddr_addr[1] output A4
ddr_addr[2] output D6 ddr_addr[3] output F8
ddr_addr[4] output C4 ddr_addr[5] output E6
ddr_addr[6] output B1 ddr_addr[7] output D8
ddr_addr[8] output A5 ddr_addr[9] output F9
ddr_addr[10] output K3 ddr_addr[11] output B7
ddr_addr[12] output A3 ddr_addr[13] output C8
ddr_cke output J2 ddr_we output L2
ddr_cas output R6 ddr_ras output R4
ddr_dm[0] output G1 ddr_dm[1] output K5
ddr_ck output J1,J3 ddr_reset_n output B9
ddr_dqs[0] inout G2,G3 ddr_dqs[1] inout J5,K6
ddr_dq[0] inout G5 ddr_dq[1] inout F5
ddr_dq[2] inout F4 ddr_dq[3] inout F3
ddr_dq[4] inout E2 ddr_dq[5] inout C1
ddr_dq[6] inout E1 ddr_dq[7] inout B3
ddr_dq[8] inout M3 ddr_dq[9] inout K4
ddr_dq[10] inout N2 ddr_dq[11] inout L1
ddr_dq[12] inout P4 ddr_dq[13] inout H3
ddr_dq[14] inout R1 ddr_dq[15] inout M2
ddr_cs output P5

SPI LCD

PORT IO Pin PORT IO Pin
lcd_bl output P12 lcd_data output L15
lcd_rs output J13 lcd_cs output C16
lcd_clk output F12 lcd_resetn output G13

UART

PORT IO Pin PORT IO Pin
uart_tx output M11 uart_rx input T13

SD card/SDIO

PORT IO Pin PORT IO Pin
CLK output N10 CMD input R14
DAT0 inout M8 DAT1 inout M7
DAT2 inout M10 DAT3 inout N11
DET_A input D15

Audio DAC

PORT IO Pin PORT IO Pin
PA_EN output R16 HP_DIN output P15
HP_WS output P16 HP_BCK output N15

More Repositories

1

NanoKVM

NanoKVM: Affordable, Multifunctional, Nano RISC-V IP-KVM
TypeScript
1,867
star
2

MaixPy-v1

MicroPython for K210 RISC-V, let's play with edge AI easier
Python
1,681
star
3

TinyMaix

TinyMaix is a tiny inference library for microcontrollers (TinyML).
C
877
star
4

MaixPy-v1_scripts

micropython scripts for MaixPy
Python
622
star
5

Maix-Speech

Maix Speech AI lib, a fast and small speech lib running on embedded devices, including ASR, chat, TTS etc.
Python
312
star
6

Maixduino

Arduino port on Maix board ( k210 )
C++
213
star
7

TangNano-9K-example

TangNano-9K-example project
GLSL
211
star
8

platform-gd32v

GD32V: development platform for PlatformIO
Python
182
star
9

MaixPy3

Python sdk for Sipeed Maix-II-Dock(v831). Other board please use https://github.com/sipeed/MaixPy
Python
173
star
10

kflash_gui

Cross platform GUI wrapper for kflash.py (download(/burn) tool for k210)
Python
150
star
11

MaixPy

Easily create AI projects with Python on edge device
Python
142
star
12

RV-Debugger-BL702

RV-Debugger-BL702 Project, an opensource debugger implement
C
140
star
13

sipeed_wiki

sipeed wiki:https://wiki.sipeed.com
JavaScript
94
star
14

TangNano-4K-example

TangNano-4K-example project
GLSL
87
star
15

Longan_GD32VF_examples

example project for Longan Nano (GD32VF)
C
85
star
16

Maix_Toolbox

Maix Toolbox: Collections of model scripts
Python
82
star
17

maix_train

k210(MaixPy)/V831 model example train code, include mobilenet classifier and YOLO V2 detector
Python
81
star
18

platform-kendryte210

Kendryte K210: development platform for PlatformIO
Python
78
star
19

MaixUI

This is the MicroPython UI framework.
Python
76
star
20

bl602-hal

Hardware Abstract Layer for BL602 RISC-V WiFi + BLE SoC in embedded Rust
Rust
75
star
21

LicheeRV-Nano-Build

LicheeRV-Nano-Build
C
75
star
22

Longduino

Longduino is an Arduino port for gd32v mcu.
C
69
star
23

libmaix

New MaixCDK will replace this repo: https://github.com/sipeed/MaixCDK
C++
68
star
24

Maix-EMC

Maix-EMC: Embedded Model Convertor, convert NN model for embedded systems
Python
66
star
25

sipeed_keyboard

sipeed opensource mechanical keyboard make with BL706
C
64
star
26

TangNano-20K-example

TangNano-20K-example
GLSL
64
star
27

Tang-Nano-examples

Tang-Nano-examples
GLSL
62
star
28

M1s_BL808_example

M1s_BL808_example
C
61
star
29

M1s_BL808_SDK

M1s(BL808)SDK
C
56
star
30

Tang-Nano-Doc

Document for Tang Nano FPGA board
CSS
56
star
31

TangMega-138KPro-example

Tang Mega 138K Pro examples
F#
52
star
32

sipeed2022_autumn_competition

sipeed2022_autumn_competition
47
star
33

MF1-User-Manual

MF1 Face Recognition Module User Manual
Python
46
star
34

Longan-DOC

Longan RV32 Boards Document
CSS
46
star
35

MaixCDK

C/C++ development kit for Sipeed Maix ecosystem boards
C
42
star
36

axpi_bsp_sdk

linux bsp app & sample for axpi (ax620a)
C
34
star
37

bl602-rust-guide

Instructions and examples for BL602 Rust support libraries
Rust
32
star
38

LicheePi4A

LicheePi4A info&sdk
32
star
39

TangPrimer-25K-example

TangPrimer-25K-example project
Verilog
31
star
40

TangMega-138K-example

TangMega-138K-example project
Verilog
28
star
41

Sipeed_HardWare

Sipeed_HardWare wiki
27
star
42

M0S_BL616_example

M0S BL616 example (M0S dock)
C
25
star
43

MF1_SDK

C
22
star
44

bl602-pac

Embedded Rust's Peripheral Access Crate for BL602 microcontrollers
Rust
19
star
45

R329-Tina-jishu

Roff
18
star
46

M0sense_BL702_example

M0sense_BL702_example
C
16
star
47

Maixduino_DOC

Docs of Maixduino
CSS
14
star
48

MaixPy_Doc_Us_En_Backup

Python
14
star
49

Tang-Hex-BSP

Tang-Hex-BSP: BSP for ZYNQ 7020 based FPGA Board Tang-Hex
13
star
50

sipeed2022_spring_competition

sipeed2022_spring_competition
Python
11
star
51

Maix-Keras-workspace

Keras workspace for Sipeed MAIX boards
Python
11
star
52

Maix-TF-workspace

Maix-TF-workspace: collections of tensorflow works
Python
11
star
53

rpyc_ikernel

more lightweight remote calling Python on jupyter.
Jupyter Notebook
11
star
54

Maix-Face-Uart-Lib

Sipeed Maix Uart Face Recognition Module/Firmware's Protocol Parse Library
C
10
star
55

TangNano-1K-examples

TangNano-1K-examples (GW1NZ-LV1)
GLSL
10
star
56

Tang-Hex-Doc

Tang-Hex-Doc: Documents for ZYNQ 7020 Based FPGA Board Tang-Hex
HTML
10
star
57

LonganPi-3H-SDK

LonganPi 3H SDK
Shell
7
star
58

MetaSense-ComTool

MetaSense A010's ComTool
Python
6
star
59

r329-linux-4.9

C
5
star
60

MaixSense_ROS

ROS package for MaixSense RGBD/ToF Sensor
C
5
star
61

M0P_BL618_examples

M0P_BL618_examples
C
5
star
62

LicheePi4A-Build

LicheePi4A-Build
C
5
star
63

libomv

Transplantation of openMV core algorithm imlib
C
5
star
64

Nano-Doc-Backup

The backup of Lichee Nano Doc,building with sphnix. http://nano.lichee.pro
Python
4
star
65

r329-target

Roff
3
star
66

ullama2.c

ullama2.c: run llama2 on MCUs (minimum 480KB SRAM)
3
star
67

r329-package

C
2
star
68

platform-riscv-e203

platform IDE for E203 RISC-V core, based on Lichee Tang board
2
star
69

BL702_Si2c_uart_translation

BL702 Slave i2c uart translation.
C
2
star
70

MaixPy_Doc_Zh_Cn_Backup

Python
2
star
71

TangMega-60K-example

TangMega 60K example
Verilog
1
star