On 12/15/20 2:30 PM, Marc Kleine-Budde wrote: > For now I've selected the 21 bit CRC, for CAN-FD: > >> #define CANFD_DLL_OVERHEAD_SFF DIV_ROUND_UP(61, 8) > == 8 bytes > > for CRC17 it would be 5 bits less => 56 bit => 7 bytes > > >> #define CANFD_DLL_OVERHEAD_EFF DIV_ROUND_UP(80, 8) > == 10 bytes > > for CRC17 it would be 5 bits less => 75 bits => 8 bytes > > I think that 1 bit is not worth the trouble. s/bit/byte/ Marc -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Attachment:
signature.asc
Description: OpenPGP digital signature