README_en.md
1# HPM6300EVK
2
3## Overview
4
5HPM6300EVK provides interfaces for most of the peripherals of the HPM6300 microcontroller, including 1 SD card slot, 1 USB Type-C interface, a 100M Ethernet port, CAN FD interface, etc., and expands NOR Flash, SDRAM and other external memories , and integrates an on-board debugger.
6
7
8
9## Hardware
10
11- HPM6360IPA MCU
12- Onboard Memory
13 - 16bit 256Mb SDRAM
14 - 128Mb Quad SPI NOR Flash
15- USB
16 - USB type C (USB 2.0 OTG) connector x2
17- Ethernet
18 - 100Mb PHY
19- Others
20 - TF Slot
21 - CAN FD
22 - FT2232
23- Expansion port
24 - Motor control port
25 - Raspberry PI extension port
26
27:::{note}
28
29The sdram pins are multiplexed with the 15-20pin of the motor interface J26, so the motor interface and sdram can't be used at the same time.
30
31:::
32
33## DIP Switch S1
34
35- Bit 1 and 2 controls boot mode
36
37| bit[2:1] | Description |
38| -------- | ---------------------------- |
39| OFF, OFF | Boot from Quad SPI NOR flash |
40| OFF, ON | Serial boot |
41| ON, OFF | ISP |
42
43(lab_hpm6300_evk_board)=
44
45## Button
46
47(lab_hpm6300_evk_board_buttons)=
48
49| Function | Position |
50| ------------ | ---------------------------------------------- |
51| PBUTN (SW1) | Power Button, TinyUF2 Boot Button, GPIO Button |
52| WBUTN (SW2) | WAKE UP Button |
53| RESETN (SW3) | Reset Button |
54
55Plug-in
56
57- The ADC/DAC reference voltage is selected as follows:
58
59 | Connection | Description |
60 | ---------- | ------------------- |
61 | J108[2, 3] | Reference voltage |
62
63## Pin Description
64
65- SPI Pin:
66
67| Function | Position |
68| --------- | -------- |
69| SPI3.CSN | J28[24] |
70| SPI3.SCLK | J28[23] |
71| SPI3.MISO | J28[21] |
72| SPI3.MOSI | J28[19] |
73
74- I2C Pin:
75
76| Function | Position |
77| -------- | -------- |
78| I2C0.SCL | J28[13] |
79| I2C0.SDA | J28[15] |
80
81- ACMP Pin
82
83| Function | Position |
84| ---------- | -------- |
85| CMP.INN5 | J26[7] |
86| CMP.COMP_1 | J26[8] |
87
88- GPTMR Pin
89
90| Function | Position |
91| ------------- | -------- |
92| GPTMR2.CAPT_0 | J28[40] |
93| GPTMR2.COMP_0 | J28[35] |
94| GPTMR2.COMP_1 | J28[12] |
95
96- ADC16 Pin
97
98| Function | Position |
99| ------------------------------ | -------- |
100| ADC16 Reference Voltage | J108[2] |
101| ADC0.INA13/ADC1.INA9/ADC2.INA5 | J26[6] |
102
103- DAC Pin
104
105| Function | Position |
106| ----------------------- | -------- |
107| ADC16 Reference Voltage | J108[2] |
108| DAC0.OUT | J26[11] |
109
110- PWM Pin
111
112| Function | Position |
113| -------- | -------- |
114| PWM2.P0 | J26[14] |
115| PWM2.P1 | J26[13] |
116
117- Ethernet PPS Pin
118
119| Function | Position |
120| ----------- | -------- |
121| ENET0.EVTO0 | J28[19] |
122| ENET0.EVTO1 | J28[23] |
123
124- UART pin for uart_software_rx_idle sample or uart_rx_timeout sample
125
126| Function | Position |
127| --------- | -------- |
128| UART2.TXD | J28[18] |
129| UART2.RXD | J28[22] |
130
131- TRGMUX pin for uart_software_rx_idle sample
132
133| Function | Position |
134| -------------- | -------- |
135| TRGM1_P4(PA24) | J28[16] |
136
137- Motor Pin:
138
139 Refer to section [DRV-LV50A-MP1907 Motor Driver Board ](lab_drv_lv50a_mp1907) for configuration
140