Hello and good morning,
I have a question regarding the CAN interface and the can library which comes within the control suite:
I use "CANMessageSet" and "CANMessageGet" for sending/receiving messages over the CAN interface in loopback mode (for testing). The CANMessageGet-Method also sets the Bit TxRqst in CAN_IF2CMD, so the "NewData" Flag for this message object should be cleared, but it does not get cleared.
When I call "CANMessageGet" several times (without a new message), i always get the "NewData" flag set, and of course if new data comes in the "DataLost" flag is also set (even if there is no data lost, but the NewData flag was still set).
Any ideas what might be the problem here?
BR,
Michael