Allow dlc greater than 8.#87
Conversation
|
I'm definitely interested in supporting CAN-FD. Are you also trying to support 64-byte SDO/PDOs? I'm not sure if this is meant as a preliminary step to more changes, or if you actually just want 64-bytes in the My main concern is that I'd rather not impose the memory penalty on applications that don't use CAN-FD. I think the ultimate solution probably involves splitting into two types, |
|
My primary goal was bigger message sizes (to have some space for encryption/authentication nonce / associated data) but I have used this for bigger PDOs too - just added more items to the mappings and it seemed to work fine. I haven't done anything with SDOs yet but want to look at some software update soon so will see how that is impacted (should make it a fair bit faster to have bigger packets available?) Definitely take your point about the memory penalty, I'll have a look at a separate type and/or feature flag. |
|
Just thinking about this a little bit:
|
|
Yes you're right about just using more data outside of the canopen payload - you can just do that in the translation to CAN interface. The main thing it allows is having bigger PDOs (which again is sort of optional because you can just have more PDOs if you need to - just a little bit less clean if you are sending more than 8 bytes every time). I think when I first did this I was using the |
For what I'm wanting to do it would be useful to have more than the 8 byte data packets that classic CAN allows. I'm not sure if this is the right approach but keen to hear your thoughts on extending the allowed CanMessage length.