Skip to main content
Visitor II
March 11, 2024
Solved

PSSI_Transmit_Receive_DMA example does not work

  • March 11, 2024
  • 3 replies
  • 1384 views

Hello,

I used two nucleo-H723ZG boards to try the PSSI_Transmit_Receive_DMA example code in the STM32Cube\Repository\STM32Cube_FW_H7_V1.11.1\Projects\NUCLEO-H723ZG\Examples\PSSI directory, the LEDs on both boards do not flash as expected (master board, the LED2 stayed on all the time, and the 3 LEDs on the slave board never turned on).  I followed the instructions in the readme.txt to setup the boards and build the example software.  The only issue that I found in the readme.txt is the identification of PC8 pin wrong, instead as stated "CN12 PIN10", it shall be CN12 PIN3 for the STM32H723 MCU.

Any suggestions to get the example code running on the two boards?

 

Thank you in advance.

 

Patrick

    This topic has been closed for replies.
    Best answer by Imen.D

    Hello @patricky30,

    I would inform you that this issue is fixed in the new release of STM32CubeH7 (v1.11.2)

    Thank you for your contribution.

    3 replies

    Technical Moderator
    March 11, 2024

    Hello @patricky30 and welcome to the Community :) 

    I invite you to follow this FAQ: How to configure and use the PSSI on the STM32H7, this may help you.

    Thank you for your contribution.

     

     

    Visitor II
    March 13, 2024

    Figured it out.  Need to make the following changes:

    1. Change to: hdma_handler_tx.Init.FIFOMode = DMA_FIFOMODE_ENABLE;.

    2. Change to: hdma_handler_rx.Init.FIFOMode = DMA_FIFOMODE_ENABLE;

    3. Change to:

    __IO uint32_t PSSI_HAL_PSSI_TransmitComplete_count = 0;
    __IO uint32_t PSSI_HAL_PSSI_ReceiveComplete_count = 0;
    __IO uint32_t PSSI_HAL_PSSI_ErrorCallback_count = 0;

    Hope STMicroelectronics will make the changes in their next updated package.

    Thanks.

    Patrick

     

    Technical Moderator
    March 13, 2024

    Hi @patricky30 ,

    Thanks for sharing this issue and the solution!

    An internal ticket number 176023 is submitted in order to fix this.

    (PS: 176023 is only for reference and not available outside of ST)

    Imen.DAnswer
    Technical Moderator
    March 20, 2024

    Hello @patricky30,

    I would inform you that this issue is fixed in the new release of STM32CubeH7 (v1.11.2)

    Thank you for your contribution.