2023-10-03 12:26 PM
As per errors in AN2606 and this thread https://community.st.com/t5/stm32-mcus-products/stm32h5-bootloader-uses-usart-pins-that-do-not-match-roles-in/m-p/594610#M224078
I need the correct pins that STM32H563/STM32H573 use for USART1/2/3 and FD-CAN bootloader.
Solved! Go to Solution.
2023-10-05 08:02 AM
Hello @MBC ,
For USART the correct pins are :
USART1_RX : PA10
USART1_TX : PA9
USART2_RX : PA3
USART2_TX : PA2
USART3_RX : PD9
USART3_TX : PD8
For FDCAN the correct pins are :
FDCAN2_RX : PB5
FDCAN2_TX : PB13
The AN2606 will be updated soon.
Thank you!
Foued
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.
2023-10-04 02:05 AM
Hello @MBC ,
I think for FDCAN bootloader the pins used for STM32H563/STM32H573 are correct.
For the USART :
USART2_Tx pin is PA3 instead of PA5
USART3_Tx pin is PD8 instead of PA4
Foued
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.
2023-10-04 04:35 PM
Can you double check those CAN pins? Because PB5 and PB13 are on almost every package on completely different sides of the chip. Now, on the CMOS side, these aren't a differential signal, but still... It seems really strange to have pairs of CAN pins all over the chip, then for the bootloader use two completely different sides of the package when at least four pairs are available on most chips. Plus, AN2606 mentions this as FDCAN1, but those pins are FDCAN2.
Also, I'm going to need you to double check the USART pins. Still doesn't look right to me. In fact, all that has changed is nothing because you only sent the TX pins, but overwrote the AN2606's RX pins.
USART2_ TX: PA3 - you
USART2_TX: PA3 - AN2606
USART2_RX: PA5 - AN2606
I'm assuming that you made a mistake and meant TX is PA2 and RX is PA3. Please confirm.
USART3_TX: PD8 - you
USART3_TX: PA4 - AN2606 (unlikely)
USART3_RX: PD9 - AN2606
I think this seems better with one issue. A few packages don't have D8/D9 pair at all. Does the bootloader on say a VQFN68 not have USART3 access?
This is not an inexpensive change if these are wrong, please confirm above! Thanks.
2023-10-05 08:02 AM
Hello @MBC ,
For USART the correct pins are :
USART1_RX : PA10
USART1_TX : PA9
USART2_RX : PA3
USART2_TX : PA2
USART3_RX : PD9
USART3_TX : PD8
For FDCAN the correct pins are :
FDCAN2_RX : PB5
FDCAN2_TX : PB13
The AN2606 will be updated soon.
Thank you!
Foued
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.
2023-10-05 08:17 AM
Hello @MBC ,
I reported this issue internally.
Internal ticket number: 163148 (This is an internal tracking number and is not accessible or usable by customers).
Foued
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.
2023-10-05 08:53 AM - edited 2023-10-05 03:57 PM
Moved follow-up question to a new thread
2023-11-07 01:53 AM
Hello,
Rev60 is now published with corrections : STM32 microcontroller system memory boot mode - Application note
Foued
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.