CRC calculation on nRF52840

Hi,

I am using nrf52840 and SDK17.1.0.

I need to calculate CRC16 for communication with an another module. I found that we have an API for that. I would like to know what CRC calculation method the function sys_crc_t sys_crc_calc (const uint8_t * p_data, size_t length) uses. Does it use the same one as CRC16 compute, which is "CRC-16-CCITT (polynomial 0x1021) with 0xFFFF initial value". If not what does it use and does it have any advantages in terms of memory usage, speed, configuration or anything else?

Best,

D

Related