2024-10-15 04:12 AM
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?
Solved! Go to Solution.
2024-10-15 06:19 AM - edited 2024-10-15 06:39 AM
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.
2024-10-15 06:19 AM - edited 2024-10-15 06:39 AM
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.
2024-10-15 07:53 AM
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?
2024-10-16 09:20 AM
2024-10-17 01:35 AM
Hi,
please see my active post where I try to follow AN4286. It "almost" works, so I guess I miss some little detail.
https://community.st.com/t5/stm32-mcus-products/stm32h563-bootloader-command-over-spi/m-p/731973