Ai
15 Star 82 Fork 40

hpmicro/hpm_sdk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
README_en.rst 5.29 KB
一键复制 编辑 原始数据 按行查看 历史
Ryan QIAN 提交于 2025-04-01 07:15 +08:00 . hpm sdk release v1.9.0

HPM6300EVK

Overview

HPM6300EVK 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.

hpm6300evk

Hardware

  • HPM6360IPA MCU
  • Onboard Memory
    • 16bit 256Mb SDRAM
    • 128Mb Quad SPI NOR Flash
  • USB
    • USB type C (USB 2.0 OTG) connector x2
  • Ethernet
    • 100Mb PHY
  • Others
    • TF Slot
    • CAN FD
    • FT2232
  • Expansion port
    • Motor control port
    • Raspberry PI extension port

Note

The 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.

DIP Switch S1

bit[2:1] Description
OFF, OFF Boot from Quad SPI NOR flash
OFF, ON Serial boot
ON, OFF ISP

Button

Function Position
PBUTN (SW1) Power Button, TinyUF2 Boot Button, GPIO Button
WBUTN (SW2) WAKE UP Button
RESETN (SW3) Reset Button

Plug-in

  • The ADC/DAC reference voltage is selected as follows:

    Connection

    Description

    J108[2, 3]

    Reference voltage

Pin Description

  • SPI Pin:

    Function

    Position

    SPI3.CSN

    J28[24]

    SPI3.SCLK

    J28[23]

    SPI3.MISO

    J28[21]

    SPI3.MOSI

    J28[19]

  • I2C Pin:

    Function

    Position

    I2C0.SCL

    J28[13]

    I2C0.SDA

    J28[15]

  • ACMP Pin:

    Function

    Position

    CMP.INN5

    J26[7]

    CMP.COMP_1

    J26[8]

  • GPTMR Pin:

    Function

    Position

    Remark

    GPTMR2.CAPT_0

    J28[40]

     

    GPTMR2.COMP_0

    J28[35]

    MCLK of i2s emulation

    GPTMR2.COMP_1

    J28[12]

    LRCK of i2s emulation

    GPTMR2.COMP_2

    J28[16]

    BLCK of i2s emulation

  • ADC16 Pin:

    Function

    Position

    ADC16 Reference Voltage

    J108[2]

    ADC0.INA6

    J28[38]

  • DAC Pin:

    Function

    Position

    DAC Reference Voltage

    J108[2]

    DAC0.OUT

    J26[11]

  • PWM Pin:

    Function

    Position

    PWM2.P0

    J26[14]

    PWM2.P1

    J26[13]

  • Ethernet PPS Pin:

    Function

    Pin

    Position

    ENET0.EVTO0

    PC21

    J28[19]

    ENET0.EVTO1

    PC20

    J28[23]

    ENET0.EVTI0

    PC27

    J28[22]

    ENET0.EVTI1

    PC26

    J28[18]

  • UART pin:

    The UART2 is used for some functional testing using UART, such as uart_software_rx_idle, uart_rx_timeout, uart_software_lin, MICROROS_UART, USB_CDC_ACM_UART, MODBUS_RTU etc.

    Function

    Position

    Remark

    UART2.TXD

    J28[18]

     

    UART2.RXD

    J28[22]

     

    UART2.break

    J28[24]

    generate uart break signal

  • TRGMUX pin for uart_software_rx_idle sample:

    Function

    Position

    TRGM1_P4(PA24)

    J28[16]

  • Motor Pin:

    Refer to section :ref:`drv_lv50a_mp1907` for configuration

  • Tamper Pin:

    Function

    Pin

    Position

    Mode

    TAMP.06

    PZ06

    J28[8]

    Active Mode

    TAMP.07

    PZ07

    J28[10]

    Active Mode

  • CS Pin of i2s emulation:

    Function

    Position

    Remark

    PA07

    J28[11]

    the pin that controls SPI slave CS

Board Know Issue

  • USB VBUS pin resistance issue

    • Impact

      • This issue may affect the Host's ability to enumerate USB as a device.
    • Solution

      • Replace the 1kohm resistors R135 with 10ohm resistors.
      hpm6300evk_known_issue_1
    • Revised Status

      • HPM6300EVKRevD has been revised, HPM6360-EVK-A3 and previous versions have this issue.
  • USB ID pin pull down resistance issue

    • Impact

      • When using USB OTG, this issue may affect the role recognition of USB connected device or connected host.
    • Solution

      • Remove the pull-down resistors R127, R128 from the CC port of the USB interface.
      hpm6300evk_known_issue_2
    • Revised Status

      • HPM6300EVKRevD has been revised, HPM6360-EVK-A3 and previous versions have this issue.
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hpmicro/hpm_sdk.git
git@gitee.com:hpmicro/hpm_sdk.git
hpmicro
hpm_sdk
hpm_sdk
main

搜索帮助