Synchronize multiple CAN channel writing
Posted: Fri 14. Jun 2019, 17:49
I have on same physical CAN bus(CAN wire) 3 PCAN channels initialized with :
1.PCANBasic - simulate Rest Bus fatsest message every 2 msec
2.PCAN-TP - Query diagnostic data
3.PCAN-XCP - Query measurements via XCP
Above 3 channels realized with 3 ports of an PCAN PCI-e 4 channel card connected on same CAN bus.
Randomly diagnostic querys return with timeout, tracing with a 4th PCAN-USB adapter, I can't see the Diagnostic data on the trace , however CanTpApi.Write returned with TPCANTPStatus.PCANTP_ERROR_OK. If once the diagnostic data is lost all following frames are lost.
Question: Is it necessary to synchronise the 3 channels transmition steps or this will be done on low level driver or by the PCANBacis API based on CAN arbitration?
1.PCANBasic - simulate Rest Bus fatsest message every 2 msec
2.PCAN-TP - Query diagnostic data
3.PCAN-XCP - Query measurements via XCP
Above 3 channels realized with 3 ports of an PCAN PCI-e 4 channel card connected on same CAN bus.
Randomly diagnostic querys return with timeout, tracing with a 4th PCAN-USB adapter, I can't see the Diagnostic data on the trace , however CanTpApi.Write returned with TPCANTPStatus.PCANTP_ERROR_OK. If once the diagnostic data is lost all following frames are lost.
Question: Is it necessary to synchronise the 3 channels transmition steps or this will be done on low level driver or by the PCANBacis API based on CAN arbitration?