<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Low latency communication between raspberry pi and arduino </title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/ffac4c9499/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/ffac4c9499/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/ffac4c9499/</id><updated>2020-02-27T16:48:47.608000Z</updated><subtitle>Recent posts to Low latency communication between raspberry pi and arduino </subtitle><entry><title>Low latency communication between raspberry pi and arduino </title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/ffac4c9499/?limit=25#8d5a" rel="alternate"/><published>2020-02-27T16:48:47.608000Z</published><updated>2020-02-27T16:48:47.608000Z</updated><author><name>lbabycl-88</name><uri>https://forge.codesys.com/u/lbabycl-88/</uri></author><id>https://forge.codesys.com2ebd30660afcc1bca59e5875fbb1d8927c0684b7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi all&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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 ?&lt;/p&gt;
&lt;p&gt;Sent from my SM-N9500 using Tapatalk&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>