2021-09-06 01:15 AM
Hello,
I would like to receive data on STEVAL-IOD003, mounted on Nucleo-G071Rb.
I tried to receive the data just by coding uart from L6362A to the nucleo board, but it's not working.
Some lines i used :
HAL_UART_Receive(&huart1, buf, strlen((char*)buf), HAL_MAX_DELAY);
HAL_Delay(20);
sprintf((char*)buf, "Value : %i\n\r", buf[0]);
HAL_Delay(20);
HAL_UART_Transmit(&huart2, buf, strlen((char*)buf), HAL_MAX_DELAY);
So is it possible, if yes, how can i do it ?
Thanks !