Query: eCAL implementation for Microcontrollers #2510
-
|
Hello eCAL team, I work at a company developing products for scientific instrumentation, where low latency is a strict requirement. We are currently architecting the stack for our next generation of products and considering eCAL. It performed well in our internal benchmarks compared to alternatives, and we liked the development workflow! Our proposed architecture consists of an Embedded Linux system (ARM) communicating with peripheral boards based on STM32 microcontrollers. I would like to ask if there is any experimental implementation or roadmap to bring eCAL support to microcontrollers. Specifically, we are looking for a way to extend the eCAL bus to the STM32 peripherals, ideally tunneling the traffic over USB, to maintain a unified communication architecture. If a native port isn't available, are there recommended patterns or existing gateways for bridging eCAL to embedded MCUs over serial/USB interfaces? Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Hi @fialhomatheus, thanks for reaching out, it's always great to hear back from (potential) users and their usecases, and really glad that you like the development flow. However, unfortunately, we do have very little experience with microcontrollers, and the workflows you are looking it. In general, the eCAL communication has two layers, the registration layer, and the actual data layer. On the registration layer (data sent via UDP, or if only communication locally over SHM) entities broadcast who they are, where and how they will send / receive data. In general, due to eCALs monitoring capabilities, it's pretty easy to write gateways to receive/forward data, and we often do that to e.g. connect sensors (think camera, radar, lidar) to eCAL Systems. We also have gateways that bridge into other systems, like for example our foxglove gateway. I see this approach to be more promising that actual eCAL support on microcontrollers. I do not know if it's on your list, but maybe zenoh could be a better fit for you, or means to implement a gateway. They do have a zenoh-pico implementation, where they also list support for different RTOS's. I hope this answers your question, and please reach out if there is anything else we can help with. |
Beta Was this translation helpful? Give feedback.
Hi @fialhomatheus,
thanks for reaching out, it's always great to hear back from (potential) users and their usecases, and really glad that you like the development flow.
However, unfortunately, we do have very little experience with microcontrollers, and the workflows you are looking it.
At the moment, eCAL is designed to run on full operating systems (Linux/Windows) and relies on OS features such as shared memory, sockets, and process discovery. Because of this, there is currently no native or experimental port of eCAL targeting bare-metal or RTOS-based microcontrollers like STM32.
In general, the eCAL communication has two layers, the registration layer, and the actual data layer. On th…