The IOL HAT can be used with the binary iol-master-appl that is provided in the /bin/ folder of the GitHub. This binary has been compiled with the aarch-linux toolchain for 64-bit version. For other versions and targets, please follow the instructions to build: https://github.com/Pinetek-Networks/iol-hat/blob/main/src-master-application/README.md
The following instructions apply to Raspberry Pi, for other targets, please check with the corresponding instructions how to enable SPI and GPIO.
The communication between Master Application iol-master-appl and the IOL HAT is done over SPI, so SPI communication needs to be enabled on the host. To enable SPI for Raspberry Pi hosts, the following instructions can be used:
-sudo raspi-config -go to: Interface Options -go to: SPI -select: Enable SPI
If you use another target, please verify with the documentation how to enable the SPI
The interrupt line on between host and IOL HAT is a GPIO line. To operate, gpiod is used as library. To install gpiod, please use the following command:
sudo apt install gpiod