Download Print this page
Infineon FCE CRC 1 Manual

Infineon FCE CRC 1 Manual

Fce crc calculation, aurix tc2xx microcontroller training

Advertisement

Quick Links

FCE_CRC_1
FCE CRC calculation
AURIX™ TC2xx Microcontroller Training
V1.0.0
Please read the Important Notice and Warnings at the end of this document

Advertisement

loading

Summary of Contents for Infineon FCE CRC 1

  • Page 1 FCE_CRC_1 FCE CRC calculation AURIX™ TC2xx Microcontroller Training V1.0.0 Please read the Important Notice and Warnings at the end of this document...
  • Page 2: Scope Of Work

    (CRC32, CRC16 and CRC8). The FCE interrupt is enabled to report execution errors. Any CRC kernel calculation error is indicated by switching ON the related LED. 2019-10-17 Copyright © Infineon Technologies AG 2019. All rights reserved.
  • Page 3 – CCITT CRC16 polynomial – SAE J1850 CRC8 polynomial › CRC algorithms are used to calculate message signatures that can be used to check message integrity during transport over communication. 2019-10-17 Copyright © Infineon Technologies AG 2019. All rights reserved.
  • Page 4: Hardware Setup

    Hardware setup This code example has been developed for the board KIT_AURIX_TC297_TFT_BC-Step. 2019-10-17 Copyright © Infineon Technologies AG 2019. All rights reserved.
  • Page 5 FCE Error Interrupt Service Routine The ISR will be executed in case of a CRC calculation error. It will scan all kernels status registers and check if error flags are set. 2019-10-17 Copyright © Infineon Technologies AG 2019. All rights reserved.
  • Page 6 In the setup phase, the port pins of the LEDs have to be configured as push- pull output using the function IfxPort_setPinMode(). If CRC calculation errors occur, the related LEDs are switched on using the function IfxPort_setPinLow(). 2019-10-17 Copyright © Infineon Technologies AG 2019. All rights reserved.
  • Page 7 Run and Test After code compilation and flashing the device, observe the LEDs’ behavior. All LEDs (1) should be switched Off if all CRC algorithms calculation are correct (Result = Expected) 2019-10-17 Copyright © Infineon Technologies AG 2019. All rights reserved.
  • Page 8 FCE CRC kernel which leads to a mismatch with the calculated one, therefore the error flag will be set and the error interrupt will be triggered. 2019-10-17 Copyright © Infineon Technologies AG 2019. All rights reserved.
  • Page 9 More code examples can be found on the GIT repository: › https://github.com/Infineon/AURIX_code_examples › For additional trainings, visit our webpage: › https://www.infineon.com/aurix-expert-training › For questions and support, use the AURIX™ Forum: › https://www.infineonforums.com/forums/13-Aurix-Forum 2019-10-17 Copyright © Infineon Technologies AG 2019. All rights reserved.
  • Page 10 Infineon Technologies in in personal injury. customer’s applications. The data contained in this document is exclusively intended for technically trained staff.