Skip to main content
zqizh.1
Associate III
June 17, 2022
Question

How to port "SPI_FullDuplex_ComDMA_Slave" to "TFM_SBSFU_Boot" on STM32U585

  • June 17, 2022
  • 3 replies
  • 1335 views

Hi,

I want to port "SPI_FullDuplex_ComDMA_Slave" to "TFM_SBSFU_Boot".

My MCU is STM32U585.

I can port "SPI_FullDuplex_ComDMA_Slave" to "TFM_Appli NonSecure" success, but fail to port it to "TFM_SBSFU_Boot".

Do you have any suggestion for it?

Please advise.

Thanks,

QiZhang

This topic has been closed for replies.

3 replies

Technical Moderator
August 11, 2022

Hi QiZhang,

which kind of error message you got ?

I guess there are configuration issue of security for SPI + SRAM + GPDMA.

Refer to RM0456 Rev chapter 5 Global TrustZone controller (GTZC), 5.6.2 GTZC1 TZSC secure configuration register 1 (GTZC1_TZSC_SECCFGR1) for SPI for example.

Best Regards,

Younes

zqizh.1
zqizh.1Author
Associate III
August 15, 2022

Hi Younes,

I've solved it by myself.

Thanks,

QiZhang

Technical Moderator
August 17, 2022

Hi,

Great well done :)

I was in vacation thisweek, my colleague is working on your case.

BR,

Younes