Skip to main content
zqizh.1
Associate III
Jun 17, 2022 2:25 AM UTC
Question

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

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

ST Technical Moderator
Aug 11, 2022 1:07 AM UTC

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
Aug 15, 2022 6:33 AM UTC

Hi Younes,

I've solved it by myself.

Thanks,

QiZhang

ST Technical Moderator
Aug 17, 2022 11:34 PM UTC

Hi,

Great well done :)

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

BR,

Younes