Skip to main content
Aurelien1
Associate III
February 10, 2023
Question

STM32U585 : HASH DMA fail with multiple node in linklist : GPDMA never enter in IRQ.

  • February 10, 2023
  • 1 reply
  • 1405 views

Hi,

I want to compute APP's hash (SHA256) from my Bootloader using DMA.

I have 3 non adjacent zone to process the HASH.

If I use one node and call HAL_HASHEx_SHA256_Start_DMA inside HAL_HASH_InCpltCallback, I can compute my HASH.

I hope I can use link list in order to let DMA process all zone and use CPU to process only the last one (to clear MDMAT bit). However, this fail. I never goes in GPDMA IRQ.

What I want is to configure DMA in link-list mode to send all block except last one to HASH without interrupt CPU. The last block will be send when GPDMA run last LLI IRQ (DMA_TCEM_LAST_LL_ITEM_TRANSFER) .

How can I do that?

Thanks for your help.

Have a good day.

Aurélien

This topic has been closed for replies.

1 reply

Ted THOMPSON
ST Employee
February 15, 2023

Thank you for your post. Your request is being handled internally with ST Online Support. We will respond to you as soon as possible.

Regards,

Ted T

STMicroelectronics