Beware! dsPIC33C with CAN FD requires the data structures to be 4-byte aligned
nothing much to report.. Just that the data structure you allocate in memory needs to be 4-byte aligned.
It is not explicitely written anywhere but in the code examples in the reference manual the buffer is 4-byte aligned. I didn't give it much weight until i saw that the structure i allocated in memory held the data shifted by one word (because is was 2-byte aligned).
I didn't notice that immediately as the peripheral provides registers that point to the current FIFO entry address.. but this will certainly give memory corruption issues if you allocate just the correct amount of data (as i did)
Also explains why the data structures in the code examples are multiple of 4byte in size