Hello Mathworks Team,
I have implemented PEAK USB CAN Custom simulink Library with S-function and PCAN-Basic as HSP to read/write CAN data from Raspberry pi.
please find the library in following link : https://in.mathworks.com/matlabcentral/answers/417367-how-can-i-speed-up-simulation-of-my-peak-usb-can-simulink-library-on-raspberry-pi-in-external-mode
The Custom Library depends on PCAN-Basic Library. while testing the library i have faced a problem with PCAN Over run error on Raspberry Pi External Mode after some time. unable to receive CAN data from PCAN hardware. the same Library is working fine in normal mode. The custom PCAN library should work as Matlab VNT CAN configuration/CAN receive blocks in vehicle network tool box.
If anyone working on HSP package and VNT tool box Please help on this issue.