Skip to main content
Graduate II
March 20, 2024
Question

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

  • March 20, 2024
  • 3 replies
  • 2222 views

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.

    3 replies

    Technical Moderator
    March 20, 2024

    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.

    Graduate II
    March 20, 2024

    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.

    Technical Moderator
    March 20, 2024

    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

    ST Employee
    March 20, 2024

    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