26.7. Hello demo

26.7.1. Overview

The multi-core example project runs a serial port echo example on Core0 and a GPIO toggles RGB LEDs in GPTMR interrupt example on Core1.

In this project:
  • The serial port outputs “hello world”; Manually input the stirng information through the keyboard and print it through the serial port

  • The RGB leds are switching among RED, GREEN, BLUE respectively.

26.7.2. Board Setting

BOOT_PIN should be configured to 0-OFF, 1-OFF

26.7.3. Generate, Build and Debug Multi-core projects

Please reference Multicore General Description

26.7.4. Running Results

  • Taking HPM6750EVKMINI as an example, when the project runs successfully, the serial port terminal will output the following information:

Copying secondary core image to destination memory: 0x1180000
Hello world for multicore! Secondary core control RGB leds blinking...
  • The RGB leds are switching among RED, GREEN, BLUE respectively.