Nadia Jarray

Error with CRC_GetBlockCRC function

Discussion created by Nadia Jarray on Aug 9, 2016
Latest reply on Aug 16, 2016 by Fiona Kuang

I'm trying to use the CRC component to check an SPI communication

but by using the function CRC1_GetBlockCRC this way

CRC1_GetBlockCRC(CRC1_TDeviceData, &RVG_SPIReadBuffer, RVG_SPIReadBufferSize*sizeof(uint8_t), &ResultRead);

I'm getting the error "expected expression before'CRC1_TDeviceData'

Can someone provide an explanation for that ?

Thx

Outcomes