Skip to main content
Graduate
September 11, 2025
Question

STM32G474RE CRC feed from buffer via DMA memory transfer.

  • September 11, 2025
  • 1 reply
  • 242 views

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?

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    September 11, 2025

    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.