i'm trying to using CAN_Read API to receive other CAN ID message periodically,but it happens that not every frame of other CAN ID messages can be received.
Does the CCP message receive mechanism had influence on CAN_Read API?
Is any workaround to fix this issue?
Issue about using CAN_Read API in PCAN-CCP
Re: Issue about using CAN_Read API in PCAN-CCP
Hello,
YES. PCAN-CCP, as all other high layer protocols from PEAK-System, uses PCAN-Basic as transport protocol. If you use calls to PCAN-Basic API and PCAN-CCP API simultaneously using the same channel, then you are accessing the same reception queue, what turns in a concurrence between the APIs. In this way, a message read by one API is no more available for the other.Francredy wrote:Does the CCP message receive mechanism had influence on CAN_Read API?
Yes, you have to use a PCAN channel per protocol, both connected to the same CAN network. In this way, each API has its own reception queue and receives the same amount of CAN messages.Francredy wrote:Is any workaround to fix this issue?
Best regards,
Keneth
Keneth