Tool/software:
Hi Team,
In the API guide, the information regarding parameters used in the header (.h
) files is available. However, there is no corresponding documentation explaining the intent and usage of certain parameters within the source (.c
) files.
In order to derive the final input parameters to the APIs, we need to understand the intent of intermediate parameters as well. It would be helpful if flowcharts or pseudo-code were provided for these .c
files to explain the logic and parameter flow.
I'm listing a few parameter-related doubts based on the example project located at:
mcu_plus_sdk_am263px_10_01_00_34/examples/sdl/mcrc/full_cpu_mode
-
What is the difference between pattern size, sector size, and pattern count? How are these values affected by the selected CRC polynomial type?
2. How the value of dataBitSie of SDL_MCRC_Config_s structure should be considered based on the selection of crc polynomial type and input data length.
3. In the code (mcu_plus_sdk_am263px_10_01_00_34/examples/sdl/mcrc/full_cpu_mode
), it is unclear why 4 bytes are grouped into 1 word? Does this logic vary depending on the CRC data length selection, CRC polynomial type, or pattern size?