CODESYS - the IEC 61131-3 automation software
https://forum.codesys.com/

Low latency communication between raspberry pi and arduino
https://forum.codesys.com/viewtopic.php?f=21&t=9802
Page 1 of 1

Author:  lbabycl_88 [ Sun Jun 09, 2019 3:05 pm ]
Post subject:  Low latency communication between raspberry pi and arduino

Hi all

I'm looking for a very low latency communication option between raspberry pi running codesys and arduino, I know that spi is fast but i dont know how to setup spi com in codesys, anyone with experience doing so I would love some advice, my setup contains 2x teensy 3.6 slaves and 1 raspberry pi master.

I'm currently using modbus TCP to do my comunication but so far my average latency for a round trip around 10 -20 ms and as my project size increases I expect this latency also to increase, so any suggestions to get lower latency ?

Sent from my SM-N9500 using Tapatalk

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/