Hi,
I'm trying to wrap my head around the DCAN module of F28377S compared to the ECAN module of F28035. I'm trying to see the best way to register a message object for transmission but access it at runtime to change the associated CAN ID and CAN DATA. Since it's for TX, there's no need for filtering. I'd just wait for transmission interrupt, fetch data ready to be sent and fill in ID + Data. From the driverlib API, it seems the only available access to configure an object and send it is to use CANMessageSet. This seems a bit overweight to set an ID and some data. Should I just write my own wrapper or is there a reason why this is done like this?
CANDataRegWrite could be used to fill in data but looking at the comments, I don't think that's a good idea...
Any input will be appreciated!
Regards,