Building a CAN API for Arduino DUE

Hello chamo jeancarlo19,

please, confirm if your ECU is working with extended frames.

By default, all the CAN sample sketches work in the standard frame mode. For extended frames you will have to change the Mailbox ID register to CAN_MID_MIDvB instead of CAN_MID_MIDvA. This register CAN_MID_MIDvB needs to be SET for the mailbox to handle the extended format. Don't worry about the acceptance masking (MAM). The samples ORit depending on the format type.

In the same way as AdderD, I will be revising the extended format and try to bring an example using it. Regards!