Skip to main content
LMarg.1
Associate II
September 6, 2021
Question

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

  • September 6, 2021
  • 0 replies
  • 637 views

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 !

This topic has been closed for replies.