This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/TMS320F28069: VCU CRC calculation on low bytes only

Part Number: TMS320F28069

Tool/software: TI C/C++ Compiler

Hello All,

I tried to make some use of the hardware CRC feature of the VCU on the serial data coming from the SCI, but with no luck. The library routines takes each byte within a 16-bit word (LSB and MSB), and that makes the rutines useless for this purpose. The 8-bit SCI data stream is by default only filled with LSB and MSB is cleared (within the 16-bit word).
This is the same issue as described in this thread:

https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/564496

Vishal Coelho from TI made a assembly routine that does this.
My question is: will similar routines (that calculates CRC for low-bytes only) be added to the VCU libraries in the future? It would be great.

Regards,
Andy

  • Hi AndyP,

    You thread has been assigned to a C2000 expert and should get replied soon. Thanks.

    Best regards,
    Chen
  • Hi Andy,
    Apologies for the delay in responding. I agree that it is a good to have feature as the user has to manually pack the higher bits and then calculate CRC. And its a slow and cumbersome process.
    Currently, there are no plans to include this or similar routines to the VCU library in future. However, we might consider adding it.
    Meanwhile, you can continue using the routine that Vishal has written, and keep an eye on future releases.

    Regards,
    Ritvik