PiCAT Xenomai 3 for Raspberry pi 4
PiCAT Xenomai 3 for Raspberry pi 4
0
Project description
Prepare Xenomai 3 kernel
EtherCAT master
git clone -b rpi4-xenomai-3 git://github.com/thanhtamh/soem-w5500-rpi.git
cd soem-w5500-rpi
chmod +x *.sh
./build.sh
cd test/slaveInfo/
sudo ./slaveinfo wiz -map
Important notes
wiznet_hw_config(16, 0, 0); //15.625 Mhz on previous rpi versions
With Raspberry pi 4, default? core frequency is 500 Mhz, with the same divider value, spi speed is 2 times faster, e.i.?a divider of 16 will provide the spi speed of 31.25 Mhz.
wiznet_hw_config(16, 0, 0); //31.25 Mhz on rpi4