CANAPI4/PCAN-USB X6: Init of 1 interface blocks others
Posted: Fri 19. May 2017, 12:10
Hello,
when I trigger the initialization of an physical interface on the PCAN-USB X6 with a call to CAN_ConnectToNet or CAN_SetParam(<Bitrate>) this results in blocking out other threads that are writing to and reading from any other of the 5 remaining interface for about 20 milliseconds. I suppose this is due to a shared Mutex inside the API.
I am using the CANAPI4 Beta.
Question: Will the CANAPI4 Release fix this issue? (20 milliseconds are a long time in which 400 CAN FD messages with 1 byte payload and 1/8 MBit/s may by received)
Kind regards
Martin Mödlinger
when I trigger the initialization of an physical interface on the PCAN-USB X6 with a call to CAN_ConnectToNet or CAN_SetParam(<Bitrate>) this results in blocking out other threads that are writing to and reading from any other of the 5 remaining interface for about 20 milliseconds. I suppose this is due to a shared Mutex inside the API.
I am using the CANAPI4 Beta.
Question: Will the CANAPI4 Release fix this issue? (20 milliseconds are a long time in which 400 CAN FD messages with 1 byte payload and 1/8 MBit/s may by received)
Kind regards
Martin Mödlinger