cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L431 CAN BOOTLOADER on PA11-12

Sirk77
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
SofLit
ST Employee

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 on "Accept as Solution" on the reply which solved your issue or answered your question.

View solution in original post

3 REPLIES 3
STTwo-32
ST Employee

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.

SofLit
ST Employee

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 on "Accept as Solution" on the reply which solved your issue or answered your question.

thx for feedback