Why is my PEAK-System CAN device not detected in Vehicle Network Toolbox?

Illustration
sunil_shah - 2023-11-21T13:28:56+00:00
Question: Why is my PEAK-System CAN device not detected in Vehicle Network Toolbox?

Why isn't my PEAK-System device detected by the "canChannelList" or "canHWInfo" functions in MATLAB, or using the CAN Configuration / CAN Receive / CAN Transmit blocks in Simulink?  

Expert Answer

Profile picture of Kshitij Singh Kshitij Singh answered . 2025-11-20

To have the PEAK-System CAN device detected in MATLAB or Simulink you need to install the vendor device drivers and PCAN-Basic API DLL as described below.
 
The PEAK-System device would not be detected if:
  • The vendor PEAK-System CAN device drivers are not installed or are not configured properly during installation, or 
  • The vendor drivers installed the 32-bit version of PCAN-Basic API DLL instead of the 64-bit version.
Follow these steps to manually install the vendor drivers:
 
1. Navigate to "C:\Windows\System32" and look for "pcanbasic.dll" ( if there is no pcanbasic.dll, continue to step 2 ). Right-click on the DLL, and click on "Properties". On the Details tab, if the "File description" indicates that this is a 32-bit DLL, then delete this DLL. 
 
2. Uninstall any existing PEAK-Drivers from Windows Control Panel > Programs and Features
 
3. Go to the manufacturer's website, Downloads section to download the driver package:
 
Click on "Device Driver Setup Windows" to download.
4. Extract the downloaded zip file.
 
5. Execute PeakOemDrv.exe, and during setup make sure the following options are checked/enabled:
- CAN device drivers
- PCAN-Basic
 
 
5. Reboot computer.
 
6. Connect the PEAK-System device.
 
7. Open vendor utility PCAN-View and confirm that the device is detected, then close PCAN-View.
 
8. Restart MATLAB and execute canChannelList to confirm that the device is detected.
 
 
Once the vendor drivers are installed, to use the PEAK-System CAN device with MATLAB or Simulink, note that:
  • You need to close the vendor app PCAN-View before MATLAB is started.
  • To have the PEAK-System CAN device detected in Simulink, the device needs to be plugged in before MATLAB is started.


Not satisfied with the answer ?? ASK NOW

Get a Free Consultation or a Sample Assignment Review!