Skip to content

Zephyr Module that integrates the IO-Link Master stack from RT-Labs

License

Notifications You must be signed in to change notification settings

vChavezB/zephyr-iolm

Repository files navigation

Zephyr IO-Link Master Module

This repository integrates a forked IO-Link Master stack from RT Labs that enables its integration with Zephyr.

Supported PHYS

The RT-Labs stack only supports the MAX14189 PHY. This requires a Zephyr board that has an SPI interface and GPIOs for the Chip select and IRQ.

License

The IO-Link stack (i.e., backend) is provided by RT-Labs as GPLv3.0. Hence This Zephyr port is also licensed as GPLv3.0.

Tested boards

Zephyr version v3.7.0:

  • ESP32 Devkit C
  • NRF52833 DK
  • NRF5340

Testing

A sample to test the current API for this project is located in samples/read_pd.

Current Status

This project is in alpha version and will not provide a stable API/Documentation until the first release.

Currently building API to use easily the IOLM Stack.

Issues

  • Legacy devices (V.1.0) do not go to operate. Some tests have been done and it seems that the RT-Labs stack cannot process events for legacy devices. The device goes to operate but the System Managemen (SM) and SMI Configuration Management (CM) do not report back this change. This happens as it seems that the OD Handler for the event state machine gets stuck.

TODOS

  • Wrapper for direct access to SMI Requests
  • Test SMI Device Read/Write

About

Zephyr Module that integrates the IO-Link Master stack from RT-Labs

Resources

License

Stars

Watchers

Forks

Packages

No packages published