2025-05-21 7:47 AM
Dear ST Team,
I am currently working with the STM32MP257x-EV1 evaluation board to validate the BSP, following the official setup procedure provided on your Wiki.
At this stage, I am verifying OpenAMP communication between the Cortex-A35 and Cortex-M33 cores. However, I have encountered an issue where the VIRT_UART0_RxCpltCallback function in the M33 firmware does not produce any output, and it appears that the callback might not be triggered.
I would appreciate your assistance in clarifying the following:
Are there any specific operational steps I might have missed?
Could there be any misconfigurations in my current setup?
How can I verify whether VIRT_UART0_RxCpltCallback is actually being executed?
Thank you for your support.
void VIRT_UART0_RxCpltCallback(VIRT_UART_HandleTypeDef *huart)
{
LOG_INFO("UART0 RX Callback, %d bytes received", huart->RxXferSize);
VirtUart0ChannelRxSize = huart->RxXferSize < MAX_BUFFER_SIZE? huart->RxXferSize : MAX_BUFFER_SIZE-1;
memcpy(VirtUart0ChannelBuffRx, huart->pRxBuffPtr, VirtUart0ChannelRxSize);
VirtUart0RxMsg = SET;
}
M33 Project:
stty -onlcr -echo -F /dev/ttyRPMSG0
cat /dev/ttyRPMSG0 &
stty -onlcr -echo -F /dev/ttyRPMSG1
cat /dev/ttyRPMSG1 &
echo "Hello Virtual UART0" >/dev/ttyRPMSG0
echo "Hello Virtual UART1" >/dev/ttyRPMSG1