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.

TMS320F28076: How to calculate CRC with DSP F28076?

Part Number: TMS320F28076
Other Parts Discussed in Thread: C2000WARE

Hello All,

My customer is developing the firmware for their project, a lift inverter, with the DSP F28076, switching from the previously used and tested in the prototypes, the DSP F28379.

 

One of the differences between the two DSPs is that the 28379 has a VCU unit that is also used for calculating the CRC.

While the 28076 does not have this unit.

Customer’s question is:

What is the most appropriate way to calculate the CRC with the DSP 28076?

Are there any software libraries to do this efficiently? Customer is looking for them, but they haven't found them at the moment.

Could you please give a help here?

Many Thanks for the support,

Antonio

  • Antonio,

    I see two options:

    1. Refer to cla_crc8_cpu01 example in C:\ti\c2000\C2000Ware_1_00_06_00\device_support\f2807x\examples\cpu1\cla_crc8. CRC is computed on the CLA, example illustrates 8-bit CRC.
    2. The VCU library also contains LUT based implementation in C that does not have dependency on the VCU. This should run on the F2807x without issue, even with VCU0 or VCU2 not defined under Processor options of the project. The portion of the example code that is dependent on the VCU can be stripped out. Needs to be explored though.

    Thanks,
    Sira