README_en.md
1# HPM5301EVKLITE
2
3## Overview
4
5HPM5301EVKLite is a development board based on Xianji's entry-level high-performance MCU HPM5301. HPM5301EVKLite provides a USB Type-C interface for high-speed USB-OTG functionality, with onboard buttons and LEDs for convenient user interaction. It also provides an extension interface that is compatible with Raspberry Pi and a standard JTAG debugging interface.
6
7
8
9## Console information printing
10
11By default, UART0 is used for console printing. Connect UART0.TXD (J3.36) and UART0.RXD (J3.38) externally through the USB to serial port tool.
12
13## Boot Switch
14
15- KEY&BOOT controls boot mode
16
17 Note:
18- The default working mode is flash boot mode.
19- Follow the below steps to enter ISP boot mode:
20 1. press reset
21 2. press key
22 3. release reset
23 4. release key
24
25| KEY | Description |
26| -------- | ---------------------------- |
27| OFF | Boot from Quad SPI NOR flash |
28| ON | ISP |
29
30## Button
31
32(lab_hpm5301evklite_board_buttons)=
33
34| Name | FUNCTIONS |
35| -------- | -------------------------------- |
36| RESET | Reset Button |
37| KEY&BOOT | User Key & Boot switch |
38
39## Pin Description
40
41(lab_hpm5301_evklite_board)=
42
43- UART Pin:
44
45| Function | Position |
46| --------- | -------- |
47| UART3.TXD | J3[8] |
48| UART3.RXD | J3[10] |
49| UART0.TXD | J3[36] |
50| UART0.RXD | J3[38] |
51
52- SPI Pin:
53
54| Function | Position |
55| --------- | -------- |
56| SPI1.CSN | J3[24] |
57| SPI1.SCLK | J3[23] |
58| SPI1.MISO | J3[21] |
59| SPI1.MOSI | J3[19] |
60
61- I2C Pin:
62
63| Function | Position |
64| -------- | -------- |
65| I2C2.SCL | J3[5] |
66| I2C2.SDA | J3[3] |
67
68- ACMP Pin:
69
70| Function | Position |
71| -------------- | -------- |
72| ACMP.CMP1.INN4 | J3[13] |
73| ACMP.COMP_1 | J3[3] |
74
75- ADC16 Pin:
76
77| Function | Position |
78| ---------- | -------- |
79| ADC0.INA11 | J3[5] |
80| ADC1.INA1 | J3[3] |
81| ADC1.INA2 | J3[26] |
82| ADC1.INA3 | J3[13] |
83
84- TinyUF2 Pin :
85
86 Note:
87 - PA9 connect GND, and press reset, board enter DFU mode, then PA9 connect 3.3V, drag app to U disk, will download app and enter app directly if successfully;
88 - PA9 connect 3.3V,and press reset, board enter bootloader mode, if flash has the valid app, will directly enter app;
89
90| 功能 | 位置 |
91| -------------- | ------ |
92| TinyUF2 Button | J3[32] |
93
94