cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to receive data from IO-Link on STEVAL-IOD003 ?

LMarg.1
Associate II

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 !

0 REPLIES 0