Other Parts Discussed in Thread: C2000WARE
Hello,
I am trying to create a custom assembly routine that leverages the VCU-II for CRC computations.
I used the existing routines as examples and would like the prototype to be the following:
void CRC_calc (uint16_t *data, uint16_t length, uint16_t *result);
I made sure that all the values are being passed properly to the assembly routine, and the correct starting value for VCRC.
Regardless, the computation from the VCU seems off.
if the prototype is the following, I see no issues.
void CRC_calc (void *data, uint32_t length, uint32_t*result);
I would like to understand what is the requirement for calling any of the VCU library functions? Is there a requirement to keep the function prototypes as uint32_t vs. uint16_t?
Thanks,
Jesus Chung