I wish to use the FCE module to generate a CRC16 checksum. I have looked for examples but have only found an old DAVE example that cannot be opened with DAVE4. I have looked at the code but it seems quite complicated and does not use the XMClib.
The XMClib lists a lot of functions, but as usual there is no help as to the correct sequence. DAVE4 does not seem to know about the FCE module, there is only a software CRC APP. I have not been able to find an Application Note on the FCE.
Is there any help anywhere?
The XMClib says the CRC kernel must be configured before using the XMC_FCE_Init() function, this seem a bit strange and I do not know which functions to use to configure the kernel. Does anyone know?
The XMC_FCE_CalculateCRC16() function returns a result in an in/out parameter, but a note says the XMC_FCE_GetCRCResult() must be used to get the final CRC. Is the returned parameter then incorrect? If so what sense does it make to return it?
What do I need to do to re-initialize der module for the next calculation? Is XMC_FCE_InitializeSeedValue() enough?
The XMClib lists a lot of functions, but as usual there is no help as to the correct sequence. DAVE4 does not seem to know about the FCE module, there is only a software CRC APP. I have not been able to find an Application Note on the FCE.
Is there any help anywhere?
The XMClib says the CRC kernel must be configured before using the XMC_FCE_Init() function, this seem a bit strange and I do not know which functions to use to configure the kernel. Does anyone know?
The XMC_FCE_CalculateCRC16() function returns a result in an in/out parameter, but a note says the XMC_FCE_GetCRCResult() must be used to get the final CRC. Is the returned parameter then incorrect? If so what sense does it make to return it?
What do I need to do to re-initialize der module for the next calculation? Is XMC_FCE_InitializeSeedValue() enough?