Skip to main content
NPal.2
Associate III
October 19, 2021
Question

CRC unit usage in STM32MP1

  • October 19, 2021
  • 1 reply
  • 1077 views

Hi ,

How we use the CRC unit on Linux in STM32MP1.

My target is to use the CRC engine for verification of data at application layer.

The link here mentions info about the crypto unit : Crypto API overview - stm32mpu

But in reference no module talks about CRC also OpenSSL does not support CRC.

So how it can be used?

TIA

This topic has been closed for replies.

1 reply

Olivier GALLIEN
Technical Moderator
October 25, 2021

Hi @NPal.2​ ,

In our starter package you can see that "stm32-crc32" module is probed.

root@stm32mp1:~# modinfo stm32-crc32
filename: /lib/modules/5.10.10/kernel/drivers/crypto/stm32/stm32-crc32.ko
license: GPL
description: STMicrolectronics STM32 CRC32 hardware driver
author: Fabien Dessenne <fabien.dessenne@st.com>
alias: of:N*T*Cst,stm32f7-crcC*
alias: of:N*T*Cst,stm32f7-crc
depends:
intree: Y
name: stm32_crc32
vermagic: 5.10.10 SMP preempt mod_unload modversions ARMv7 p2v8
parm: burst_size:Select burst byte size (0 unlimited) (uint)

You can use it in your application.

Olivier

Olivier GALLIEN In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
NPal.2
NPal.2Author
Associate III
November 23, 2021

Hi @Community member​ : Thanks for response. I am trying to figure out where I can probe at sysfs interface level . Can you help figure that out been struggling for sometime now around that. TIA