Part Number: TMS320F280049C
Here are a few questions regarding VCU0 CRC support on F28004x.
1. Regarding the function getCRC32_vcu(): Is the polynomial fixed as POLYNOMIAL32 0x04c11db7, or can this be changed?
2. How exactly can the reflected table be used? In the docs, this is implied, but it is not clear. In general, is there any additional documentation which can shed some light?
3. There could be an issue with the code. It seems that when set to Even Parity, it functions correctly, but there may be an issue with Odd Parity... Is there a working example for Odd Parity? Can this operation be verified?
4. When will we have F28004x VCU0 CRC examples in C2000ware? I think this would help out greatly.
1. No, polynomials in VCU are fixed. I can send you additional details via email if you are interested.
2. Reflected adds an additional option where the CRC computation is done with bytes taken from memory but flipped before input to the CRC calculator.
3. The Pass/Fail tests in the example should catch this if you changed Parity to Odd. Did you try that?
4. I don't believe there are plans for now. But you should easily be able to adapt the existing examples from 2837x to 28004x. The 2837x examples are vcu2 based, so you will have to change that to vcu0 and also select the appropriate library.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Sira Rao80:
Can you please provide more information about point (2) How to use the reflected input for the CRC ?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.