Usart Multiprocessor
I can not find any example for Usart Multiprocessor, It does not work.
I config on CubeMx and
HAL_MultiProcessor_EnableMuteMode(&huart1);
HAL_MultiProcessor_EnterMuteMode(&huart1);
put this 2 lines.
I can not find any example for Usart Multiprocessor, It does not work.
I config on CubeMx and
HAL_MultiProcessor_EnableMuteMode(&huart1);
HAL_MultiProcessor_EnterMuteMode(&huart1);
put this 2 lines.
After doing configuration on Cube and setting Address bit to 7 bits, The master should send first byte (address) or by 0x80. for example if the slave address is 0x01, the master should send 0x81.
but now i can not send data from slave to master. i am working on it...
slave code:
main()
.
.
HAL_MultiProcessor_EnableMuteMode(&huart1);
HAL_MultiProcessor_EnterMuteMode(&huart1);
HAL_UARTEx_ReceiveToIdle_DMA(&huart1, buf, sizeof(buf));
while (1)
{
}
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.