I have successfully ported freemodbus (freemodbus) in slave and master mode for any microcontroller, in a dsPIC33E and STM32, I can solve the CRC by hardware very efficientl