Basically, when testing DUTs (device under test), I want to be able to (from the Peak device perspective):
- Send several cyclic messages
- Receive and post-process several cyclic messages data
- Send diagnostic commands where a feedback from the DUT is expected on a specific CAN ID
I still need to make longer time testing to see how reliable the timing is (especially when sending several cyclic messages).
So the main functions that I am using are:
- Initialize
- Uninitialize
- Reset
- Write
- Read
Which means I want to be able to keep my functions for items 1) and 2) with "normal" CAN or CAN-FD messages, and still be able to send ISO-TP frames.
I went through the documentation of the PCAN ISO-TP driver, and I am a bit confused because the api has its own initialize function:
- Initialize_2016
- Uninitialize_2016
- Reset_2016
- Write_2016
- Read_2016
So if i want to perform simultaneously standard CAN and ISO-TP CAN, does it mean that I should implement my own ISO-TP functions on top of the Peak.Can.Basic api?
I am sure I could use two different channels from the PCAN USB pro, but I want to understand the possibilities when using only one channel.
Thank you in advance for the advices!