cancel
Showing results for 
Search instead for 
Did you mean: 

PSSI_Transmit_Receive_DMA example does not work

patricky30
Associate

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

1 ACCEPTED SOLUTION

Accepted Solutions
Imen.D
ST Employee

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.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

View solution in original post

4 REPLIES 4
Imen.D
ST Employee

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.

 

 

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
patricky30
Associate

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

 

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)

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Imen.D
ST Employee

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.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen