Why is uart0 blocking uart1 ?
Hello,
I am running example "OpenAMP_TTY_echo" on the board "stm32mp157c-dk2"
I have modified the code a little bit so that channel0 (uart0) doesn't have to wait for a massage from linux side and transmit message every half second. It is sending the messages on every half second without problem.But the problem is now uart1 is not working. I mean on linux side if I write "echo "Hello Virtual UART1" >/dev/ttyRPMSG1" , I can not receive any callback message from the console. This means channel 1 is not working because channel 0 is blocking it. Is it normal ? Why normal ?
while (1)
{
OPENAMP_check_for_message();
" "
" "
VIRT_UART_Transmit(&huart0, Data, size);
HAL_Delay(500);
if (VirtUart1RxMsg) {
VirtUart1RxMsg = RESET;
VIRT_UART_Transmit(&huart1, VirtUart1ChannelBuffRx, VirtUart1ChannelRxSize);
}
}