Skip to main content
Associate
June 19, 2024
Solved

STM32L431 CAN BOOTLOADER on PA11-12

  • June 19, 2024
  • 3 replies
  • 1224 views

I use alternatives CAN pins PA11&PA12, based on spec standard CAN pins to use CAN bootloader are PB8-9. Is it possible to use PA11-12 to enter CAN bootloader or NOT? so far it does not work.

This topic has been closed for replies.
Best answer by mƎALLEm

Hello,

The CAN config is hardcoded in the bootloader and as per table Table 145. STM32L43xxx/44xxx configuration in system memory boot mode from AN2606 / Rev 63 page 332, the only GPIO resources available for STM32L431 chip are PB8 and PB9:

SofLit_0-1718796807356.png

You may connect PA11 / PB8 and PA12 / PB9 in bootloader mode in your HW (while insuring PA12 pin is kept as input mode) then disconnect them after or using an external MUX.

3 replies

STTwo-32
ST Technical Moderator
June 19, 2024

Hello @Sirk77 

For the CAN bootloader on the STM32L431, you have to use the PB8 and PB9 pins as indicated on the AN2606.

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.
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
June 19, 2024

Hello,

The CAN config is hardcoded in the bootloader and as per table Table 145. STM32L43xxx/44xxx configuration in system memory boot mode from AN2606 / Rev 63 page 332, the only GPIO resources available for STM32L431 chip are PB8 and PB9:

SofLit_0-1718796807356.png

You may connect PA11 / PB8 and PA12 / PB9 in bootloader mode in your HW (while insuring PA12 pin is kept as input mode) then disconnect them after or using an external MUX.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Sirk77Author
Associate
June 19, 2024

thx for feedback