I would like to scan for all CAN IDs on a CANbus network. Using a scope,I have checked the baudrate. To get IDs, I change reception slot IDs and look for whether an interpput is occured or not for that ID. But this process takes too much time when I realize that some IDs are sent in every 10 seconds. Can anyone give me some advice about this issue?
Set the CAN mask to all '1's for the mask register of a mailbox. This mailbox will then receive all CAN IDs. All you need to do then is empty it as fast as you can and build the array of IDs received.