Skip to main content
Application NoteNxp

Using the CRC Module on the Flexis AC Family

This application note explains how to use the hardware CRC module on NXP Flexis AC microcontrollers, including the MC9S08AC128, to verify software integrity and data.

View application note

Overview

AN3795 provides a technical overview and implementation guide for the Cyclic Redundancy Check (CRC) hardware module within the NXP Flexis AC family, specifically the MC9S08AC128. The document compares hardware-based CRC against software solutions, demonstrating significant performance gains in execution speed—reducing a 128K flash check from 6.7 seconds to 170 ms. It details the mathematical foundations of CRC, including modulo two arithmetic and polynomial division, and confirms compliance with the CRC16-CCITT standard (ITU-T V.41). The note includes example C code for module initialization, flash verification, and message augmentation.

Use Cases

  • In-application software integrity verification
  • High-speed data transmission error checking
  • Application startup self-tests
  • Periodic runtime memory corruption detection

Topics

NXP
MC9S08AC128
Flexis AC
CRC module
cyclic redundancy check
data integrity
CRC16-CCITT
ITU-T V.41
error detection
flash memory check

Referenced Parts

MC9S08AC128

NXP

This application note will explain the fundamental principles behind cyclic redundancy checking, it’s implementation in the MC9S08AC128, and how it can be used to meet the embedded control software safety requirements by verifying the softw

Using the CRC Module on the Flexis AC Family | Design Resources