Skip to main content
Uwe Bonnes
Chief
Mar 20, 2024 10:00 AM UTC
Question

Any application note for the changed SPI peripheral in U5 etc available/planned?

Recent series saw a larger changes in the SPI peripheral. Is there already an application note giving a more in-depth explanation. Is such a not planned?

This topic has been closed for replies.

6 replies

STOne-32
ST Technical Moderator
Mar 20, 2024 10:23 AM UTC

Dear @Uwe Bonnes ,

 

We provide some application Note on the migration guide from one serie to another one like this one from STM32L4 to STM32U5 and inside there is a section on SPI ( Chapter 9) : Migrating from STM32L4 and STM32L4+ to STM32U5 MCUs - Application note

 

and Also This one Here that may cover your need AN5543 "Enhanced methods to handle SPI communication on STM32 devices" : Enhanced methods to handle SPI communication on STM32 devices - Application note

 

If I understand correctly, your Request is a standalone specific Migration specific for SPI,  can you please let us know from which series ? we may cover it for example in a new Wiki or Application Note or even Knowledge Article in the Community based on the content.  I would be very grateful if you may participate as well to have your specific use case and also difficulties found , we may take them as a starting point :  if you are using CubeMx ?, HAL or you own code etc , Interrupt , DMA ?

Thank you again.

STOne-32.

Uwe Bonnes
Chief
Mar 20, 2024 10:29 AM UTC

It is for writing own SPI code.  There are (new) concepts  like packets/ transactions/autonoumous mode that will profit from more explanation and example code.

STOne-32
ST Technical Moderator
Mar 20, 2024 10:38 AM UTC

Let me know if This public AN is covering the need ? Enhanced methods to handle SPI communication on STM32 devices - Application note

Autonomous mode using LPBAM on U5 series need to cover indeed ! with an SPI example

Getting started with LPBAM - stm32mcuSPI_LPBAM.png

Petr Sladecek
ST Employee
Mar 20, 2024 11:14 AM UTC

Hello,

LPBAM problematic is not handled in details at AN5543 but only mentioned there as an added feature of the latest IP design versions. I will consider to add some LPBAM reference at the doc. 

Best regards,

Petr