cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G474RE CRC feed from buffer via DMA memory transfer.

Spam4tea
Associate

I want to use the standalone CRC module to offload calculations AND transfers from CPU - using purely DMA memory transfers - is this possible on the STM32G474RE?

1 REPLY 1
Saket_Om
ST Employee

Hello @Spam4tea 

Yes, it is possible to use DMA to offload CRC calculations on the STM32G474RE

Please refer to the AN4187 for more details. 

The recommended steps are as follows:

  1. Configure CRC module.
  2. Configure DMA.
  3. Start DMA transfer.
  4. Wait for DMA transfer complete interrupt/flag.
  5. In the complete callback function read CRC result from CRC->DR.

 

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.
Saket_Om