SDL API Guide for J721E
Memory Cyclic Redundancy check(MCRC)

Introduction

This file contains the prototypes of the APIs present in the device abstraction layer file of MCRC. This also contains some related macros.

Overview

MCRC programming sequence:

  1. SDL_MCRC_channelReset()
  2. SDL_MCRC_init()
  3. SDL_MCRC_config()
  4. SDL_MCRC_enableIntr() - if needed
  5. Transfer data to PSA signature for generation of signature value
    • DMA is utilized in Semi-CPU mode
    • CPU need to pump data into PSA register in Full CPU mode.
  6. SDL_MCRC_getPSASectorSig()
    • After complete transfer read MCRC signature.

MCRC signature generated depends on amount of data copied into PSA register at a time/in single write. Though data pattern can be 8, 16, 32, or 64 bit, data copied into PSA register is always 64 bit wide. If data pattern is less than 64 bit, then it is padded with zeros to make it 64 bit write.

Sub Modules

 MCRC Data Structures
 
 MCRC Enumerated Data Types
 
 MCRC Functions
 
 MCRC Macros
 

Files

file  sdl_mcrc.h
 This file contains the prototypes of the APIs present in the device abstraction layer file of MCRC. This also contains some related macros.