613 views|1 replies

15

Posts

0

Resources
The OP
 

[Domestic MCU Pioneer HPM5361] + Start using IO flip test [Copy link]

 

The demo board of the domestic MCU Xianji HPM5361 received for evaluation is compactly designed and supports many functions.

If you are using an MCU with a RISC-V core for the first time, you need to install a compilation environment that supports the RISC-V core. The official recommendation is to install the compilation environment of SEGGER Embedded studio for RISC.

After installing the compilation environment, you can start the next program to try. The example is in the official SDK env_v1.30.

Open the graphical start_gui.exe to generate the gpio project; you need to select the model of the driver board; you can also select the project to be generated and the folder where the project file is generated. Just click Generate.

Because the main frequency of the HPM5361 is as high as 480MHz; we tested how long it takes to flip the IO port once;

1/Use the toggle_pin function; this will flip the IO port at 6.15MHz; test code:

2/ Directly operate the register flip; this way, the IO port is at 16.99MHz; it is twice as fast. Test code:

The above is a rough test of the IO port speed. The main frequency of HPM5361 at 480MHz is still very powerful.

This post is from Domestic Chip Exchange

Latest reply

Boss, this is not the fastest mode, the fastest is to write directly to the output register without shifting.  Details Published on 2023-11-30 11:30
 
 

6821

Posts

11

Resources
2
 
Boss, this is not the fastest mode, the fastest is to write directly to the output register without shifting.
This post is from Domestic Chip Exchange
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list