Titan_Mini_rpmsg_remote Inter-Core Communication Example (M33)
English | Chinese
Introduction
This project is the Remote side of the Titan Board Mini dual-core RPMSG communication example and runs on Cortex-M33 (Core1). It is started by M85, initializes the RPMSG remote endpoint, and waits for incoming messages. When it receives hello from M85, it automatically replies with hello.
Companion project: project/Titan_Mini_rpmsg/Titan_Mini_rpmsg_master.
Project Structure
src/hal_entry.c: RPMSG remote initialization, receive handling, and automatic reply logicboard/linker_scripts/fsp.ld: Core1 linker script, Flash starts at 0x020C0000 with length 0x30000packages/rpmsg-lite-latest: RPMSG Lite packagert-thread,libraries: shared code linked from the repository root
Communication Flow
M33 initializes the RPMSG remote and waits for the RPMSG channel with M85 to be ready.
After
rpmsg_hellois entered on the M85 console, M85 sendshelloto M33.M33 receives it, prints
M33 RX: hello, and automatically replies withhello.M33 prints
M33 TX: helloafter replying, and M85 printsM85 RX: helloafter receiving it.
Usage
Build and flash this project to Core1 Flash (0x020C0000) first.
Build and flash
Titan_Mini_rpmsg_masterto Core0 Flash (0x02000000).The M33 debug console uses UART2; the M85 debug console uses UART1.
After resetting the board, enter
rpmsg_helloon the M85 console to verify bidirectional communication.
Expected Output
M33 console:
M33 RX: hello
M33 TX: hello
M85 console:
RPMSG master ready
M85 TX: hello
M85 RX: hello