Skip to main content
Explorer
June 19, 2024
Solved

STM32L431 CAN BOOTLOADER on PA11-12

  • June 19, 2024
  • 2 replies
  • 1200 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.

    2 replies

    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 

    mƎALLEmAnswer
    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.

    Sirk77Author
    Explorer
    June 19, 2024

    thx for feedback