Standard CAN Message with DLC > 8 using SPC5 LLD
Hello,
I know this is a bit of an edge case but during some testing today I noticed that the low level CAN drivers that come packaged with SPC5 studio only use the DLC field to work out how many bytes are in a recieved CAN the message. This isn't strictly correct as ISO 11898-1:2003 permits a standard CAN frame to have a DLC of > 8 which should be interpreted as a message containing the maximum 8 bytes. Unfortunately this ended up causing a hard-fault for me as the driver was trying to work on 64 bytes when only 8 had arrived. I have patched this locally by also checking the EDL bit when working out the frame size and thought this is something you may want to include in future.
Many thanks,
Owen
