Hi all,
I've got basic CAN interrupt driven TX and RX working. Nice. However there are two points that are unclear to me, and I keep thinking that there could be something I could not understand properly. So here it goes:
1. Why, in the SDK, the message buffer index is declared as uint32_t ? Doesn't it seem too many MBs?
2. What are the "*callbackParam" and "*errorCallbackParam" members in FlexCANState struct for? Since I got all data I needed in callback parameters, I just passed NULL for those when installing my callback function (the "event" callback, actually, I haven't implemented the error callback, so far). Am I missing anything here?
Best regards,
Joao