Skip to main content
Visitor II
October 27, 2021
Solved

MDMA seems to do not support CRYP1 pointer address fix, with STM32MP157C-DK2

  • October 27, 2021
  • 1 reply
  • 854 views

Hello experts,

I am in purpose of developing driver of the peripheral CRYP1 with MDMA on STM32MP157C-DK2 board.

I refer to STM32MP157 advanced Arm®-based 32-bit MPUs - Reference manual(RM0436),

0693W00000FDr0zQAD.pngfirstly in page 1160, CRYP1 is AHB5 source, and two stream are supported to MDMA,

and at page 2025, CRYP_DIN address must be fixed.0693W00000FDr21QAD.png 

However according to description of MDMA address update configure register(MDMA_CxTCR) at page 1181,

0693W00000FDr2pQAD.pngconfiguring DINC and SINC , address pointer fix is forbidden when AHB bus setted.

In addition, setting DBUS and SBUS in MDMA_CxTBR, cannot be writen even eEN bit is 0.

I wonder how CRYP1 can be implemented with MDMA.

    This topic has been closed for replies.
    Best answer by CLim.2

    I fix this issue by setting CRYP as AXI.

    1 reply

    CLim.2AuthorAnswer
    Visitor II
    October 27, 2021

    I fix this issue by setting CRYP as AXI.