Skip to main content
Associate III
Oct 15, 2024 11:12 AM UTC
Solved

STM32H563 bootloader SPI configuration

Hi,

in AN2606 rev 64, I cannot find the SPI settings for STM32H563 bootloader, i e CPOL, CPHA etc. For the other MCU:s in this document, this information is provided.

For example H72xxx comes with CPOL = CPHA = low.

Using these settings, and a rather slow clock at 0.5 MHz, I send 0x5A, and get 0xA5 in return. This looks good, but the problem is that no matter what I send, I get 0xA5 in return.

What am I missing here?

 

 

This topic has been closed for replies.
STTwo-32
STTwo-32Best answer
ST Technical Moderator
Oct 15, 2024 1:19 PM UTC

Hello @Dimlite 

As it is not mentioned on the on the AN2606, that means they should be the kept as they are on rest value. I've submitted a ticket to our team so they can add this information on the AN2606 (ticket number 193801).

Best Regards.

STTwo-32

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

4 replies

STTwo-32
STTwo-32Best answer
ST Technical Moderator
Oct 15, 2024 1:19 PM UTC

Hello @Dimlite 

As it is not mentioned on the on the AN2606, that means they should be the kept as they are on rest value. I've submitted a ticket to our team so they can add this information on the AN2606 (ticket number 193801).

Best Regards.

STTwo-32

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
DimliteAuthor
Associate III
Oct 15, 2024 2:53 PM UTC

Thanks for the fast response. I've been playing around with the synchronize message, and it seems to me that it takes repeated attempts before I get an acknowledge. It often takes around 10 attempts of sending 5A + sync before I get the ack. Is this the expected behavior?

STTwo-32
ST Technical Moderator
Oct 16, 2024 4:20 PM UTC

Hello @Dimlite 

The Full procedure to get the acknowledgement is explicated well on the AN4286. 

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.