Cyclic Redundancy Check Drivers (CRC)

Browse source code on GitHub

Overview

This sample demonstrates how to use the CRC driver API.

Building and Running

Building and Running for Renesas RA8M1

The sample can be built and executed for the RA8M1 Evaluation Kit as follows:

west build -b ek_ra8m1 samples/drivers/crc
west flash

To build for another board, change “ek_ra8m1” above to that board’s name.

Sample Output

crc_example: CRC verification succeed.

Note

If the CRC is not supported, the output will be an error message.

Expected Behavior

When the sample runs, it should:

  1. Compute the CRC8 values of predefined data.

  2. Verify the CRC result.

See also

CRC driver APIs