|
| 1 | +# HPM5301EVKLITE |
| 2 | + |
| 3 | +## Overview |
| 4 | + |
| 5 | +HPM5301EVKLite 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 | + |
| 11 | +By 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: modbus_rtu sample |
| 44 | + - The UART0 used for debugger console or some functional testing using UART |
| 45 | + - The UART3 is used for some functional testing using UART, such as MICROROS_UART, USB_CDC_ACM_UART, MODBUS_RTU etc. |
| 46 | + |
| 47 | +| Function | Position | Remark | |
| 48 | +| --------- | -------- | ------ | |
| 49 | +| UART3.TXD | J3[8] | |
| 50 | +| UART3.RXD | J3[10] | |
| 51 | +| UART0.TXD | J3[36] | |
| 52 | +| UART0.RXD | J3[38] | |
| 53 | +| UART3.break | J3[24] | generate uart break signal | |
| 54 | + |
| 55 | +- SPI Pin: |
| 56 | + |
| 57 | +| Function | Position | |
| 58 | +| --------- | -------- | |
| 59 | +| SPI1.CSN | J3[24] | |
| 60 | +| SPI1.SCLK | J3[23] | |
| 61 | +| SPI1.MISO | J3[21] | |
| 62 | +| SPI1.MOSI | J3[19] | |
| 63 | + |
| 64 | +- I2C Pin: |
| 65 | + |
| 66 | +| Function | Position | |
| 67 | +| -------- | -------- | |
| 68 | +| I2C3.SCL | J3[28] | |
| 69 | +| I2C3.SDA | J3[27] | |
| 70 | + |
| 71 | +- ACMP Pin: |
| 72 | + |
| 73 | +| Function | Position | |
| 74 | +| -------------- | -------- | |
| 75 | +| ACMP.CMP1.INN4 | J3[13] | |
| 76 | +| ACMP.COMP_1 | J3[3] | |
| 77 | + |
| 78 | +- ADC16 Pin: |
| 79 | + |
| 80 | +| Function | Position | |
| 81 | +| ---------- | -------- | |
| 82 | +| ADC0.INA2 | J3[26] | |
| 83 | +| ADC1.INA1 | J3[3] | |
| 84 | + |
| 85 | +- TinyUF2 Pin : |
| 86 | + |
| 87 | + Note: |
| 88 | + - 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; |
| 89 | + - PA9 connect 3.3V,and press reset, board enter bootloader mode, if flash has the valid app, will directly enter app; |
| 90 | + |
| 91 | +| 功能 | 位置 | |
| 92 | +| -------------- | ------ | |
| 93 | +| TinyUF2 Button | J3[32] | |
| 94 | + |
| 95 | +- GPTMR Pin: |
| 96 | + |
| 97 | +| Function | Position | Remark | |
| 98 | +| ------------- | ----- | ------ | |
| 99 | +| GPTMR0.CAPT_1 | J3[3] | |
| 100 | +| GPTMR0.COMP_1 | J3[5] | |
| 101 | +| GPTMR0.COMP_3 | J3[8] | BCLK of i2s emulation | |
| 102 | +| GPTMR0.COMP_2 | J3[26] | LRCK of i2s emulation | |
| 103 | +| GPTMR1.COMP_1 | J3[7] | MLCK of i2s emulation | |
| 104 | + |
| 105 | +- CS Pin of i2s emulation |
| 106 | + |
| 107 | +| Function | Position | Remark | |
| 108 | +| ---- | ----- | ------ | |
| 109 | +| PA31 | J3[11] | the pin that controls the SPI slave CS | |
| 110 | + |
| 111 | + |
0 commit comments