How to generate CRC-16 in javascript and validate the checksum on STM32F373
I need to generate a simple CRC16 checksum from a unit8_t array[64] in javascript and validate the checksum on the STM32F373.
I have been looking at the CRC unit and all of its options. I see STM32 use a non-standard scheme.
Does anyone know of a sample library or function examples showing how it can be done in javascript with matching c function?
Here is the javascript function i could potentially use if I can match up a c function or STM32 CRC config settings to match:
