4 channel CAN-FD logger with Raspi5
4 channel CAN-FD logger with Raspi5
Hey guys,
i need to make a simple four channel CAN-FD logger for internal use, which just collects the data from the bus lines and saves it to an *.csv file.
Have you already tested your M.2 card with 4 CAN-FD channels and the new raspi5 with a M.2 hat (e.g. "pineberry bottom")? Or can you see any hardware/driver problems here?
Thanks, best regards,
Fabian
i need to make a simple four channel CAN-FD logger for internal use, which just collects the data from the bus lines and saves it to an *.csv file.
Have you already tested your M.2 card with 4 CAN-FD channels and the new raspi5 with a M.2 hat (e.g. "pineberry bottom")? Or can you see any hardware/driver problems here?
Thanks, best regards,
Fabian
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: 4 channel CAN-FD logger with Raspi5
In principle it should be no problem on Windows and on Linux.
If you use our PCAN-Basic API (available on Windows and on Linux when using the CharDev driver), you have the option to generate a TRACE file out of the box - it is part of the API.
It also support own Log-Format (see Documentation of the PCAN-Basic API - Parameter Documentation (PDF File) )
If you do not want to use the ASCI based TRC Format (free converters to CSV are available) you also could directly create your own CSV Format.
If you use our PCAN-Basic API (available on Windows and on Linux when using the CharDev driver), you have the option to generate a TRACE file out of the box - it is part of the API.
It also support own Log-Format (see Documentation of the PCAN-Basic API - Parameter Documentation (PDF File) )
If you do not want to use the ASCI based TRC Format (free converters to CSV are available) you also could directly create your own CSV Format.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
Re: 4 channel CAN-FD logger with Raspi5
Wow, thanks for your fast reply!
I already used your API in different projects with the USB adapters which worked fine. Just wasn't sure about the M.2-PCIe thing but thought too it should work. I will give it a try!
Thanks!
I already used your API in different projects with the USB adapters which worked fine. Just wasn't sure about the M.2-PCIe thing but thought too it should work. I will give it a try!
Thanks!
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: 4 channel CAN-FD logger with Raspi5
Hello,
found this for the Pineberry Pi PCIe Adapter
Tailored for the Raspberry Pi 5: Specifically designed to complement the latest Raspberry Pi 5 single-board computer
Expanded Compatibility for NVMe Drives: Supports NVMe (M-key) drives in M.2 format sizes 2230, 2242, and 2280
Support for PCIe x1 Interface: Compatible with PCIe x1 interface in both Gen2 and Gen3 standards
As we support M-Key with PCIe x1 lane it should work! But we will also test it here ASAP to be sure too...
found this for the Pineberry Pi PCIe Adapter
Tailored for the Raspberry Pi 5: Specifically designed to complement the latest Raspberry Pi 5 single-board computer
Expanded Compatibility for NVMe Drives: Supports NVMe (M-key) drives in M.2 format sizes 2230, 2242, and 2280
Support for PCIe x1 Interface: Compatible with PCIe x1 interface in both Gen2 and Gen3 standards
As we support M-Key with PCIe x1 lane it should work! But we will also test it here ASAP to be sure too...
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
Re: 4 channel CAN-FD logger with Raspi5
Hello,
when you can test it, that would be absolutly perfekt! Do you have a rough timetable when you get the time for this test?
Best regards,
Fabian
when you can test it, that would be absolutly perfekt! Do you have a rough timetable when you get the time for this test?
Best regards,
Fabian
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: 4 channel CAN-FD logger with Raspi5
As we have just ordered a RPI5 PCIe / M.2 Adapter, it will need some days until we have received the parts and setup the Test.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
Re: 4 channel CAN-FD logger with Raspi5
Ah, no hurry! Just wanted to know if we speek about days, weeks or months 

- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: 4 channel CAN-FD logger with Raspi5
___
days
___


--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: 4 channel CAN-FD logger with Raspi5
We have tested the Adapter (M.2) and it works without any problem with our M.2 CAN FD cards.
We use on a RPi 5 the official Raspberry Pi OS 64 Bit. You need to add to the /boot/firmware/config.txt the following lines:
Reboot and, if the Device is plugged in, you could simply test with
After that you could install the driver and configure for your need (CharDev or NetDev)
We use on a RPi 5 the official Raspberry Pi OS 64 Bit. You need to add to the /boot/firmware/config.txt the following lines:
Code: Select all
# Enable the PCIe external connector
dtparam=pciex1
# Force the GEN Speed to GEN1
dtparam=pciex1_gen=1
Code: Select all
pi@TestDevice: ~$ lspci
...
0000:00:00.0 Network Controller: PEAK-System Technik GmbH Device 001a (rev 01)
....
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
Re: 4 channel CAN-FD logger with Raspi5
Thank you very much for your effort! Nice Support!
Sounds great, I will order my pi5 and adapter!
Best regards,
Fabian
Sounds great, I will order my pi5 and adapter!
Best regards,
Fabian