How to calc CRC16 for Modbus?
My controller is STM32L462. I need to compute CRC16 for Modbus application. There is CRC initialization function:void MX_CRC_Init_CRC16(void) { hcrc.Instance = CRC; hcrc.Init.DefaultPolynomialUse = DEFAULT_POLYNOMIAL_DISABLE; hcrc.Init.DefaultI...