This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSPM0L1304-Q1: Questions on BSL bootloader

Part Number: MSPM0L1304-Q1


Tool/software:

Hi, 

in the BSL user guide and implementation guide it is mentioned, that UART pins used by ROM BSL are configurable/selectable.

Could you please confirm, that also the 5V tolerant pins PA0 and PA1 e.g. on MSPM0L130x-Q1 can be configured as UART1_TX and UART1_RX with 5V operation ?

Also is it possible to poll the input level of those UART pins while they are configured as UART function ?

Thanks and best regards,

Gregor

  • Hi,

    If you want to use ROM BSL, you can only select UART0. 

    Could you please confirm, that also the 5V tolerant pins PA0 and PA1 e.g. on MSPM0L130x-Q1 can be configured as UART1_TX and UART1_RX with 5V operation ?

    PA0 and PA1 not support ROM BSL.

    Also is it possible to poll the input level of those UART pins while they are configured as UART function ?

    While you enter BSL mode, you can not run yourself app code. I am not sure how you want to poll the input level...

    Regards,

    Zoey

  • Hi Zoey, 

    thank you for looking into this. 

    In the M0L TRM there is a BSLPINCFG0 register to configure UART pin. It does not seem to mention a limitation for UART0 only. Also in the BSL users guide there is only one reference to UART0.

    But if I understand you correctly then only UART0 instances should be used here if using ROM BSL, correct?

    If only UART0 can be used by ROM BSL, would it be possible to register a flash plug-in BSL interface for UART to override the ROM BSL and use UART1 instead especially pins with 5V capability like PA0 and PA1 in case of M0L130x-Q1?

    Thanks and best regards,

    Gregor

  • Hi Gregor,

    ROM BSL is only use UART0,sorry for unclear in user guide.

    You can use secondary BSL for UART1. And you can find this demo code in SDK.

    Regards,

    Zoey

  • Hi Zoey, 

    thank you for quick reply!

    In the BSL user guide and the bsl_uart_flash_interface example README.html it is stated that 

    BSL user guide:

    README

    So even when overriding the ROM BSL UART with another UART Flash plugin, there is still a dependency on UART0 ?

    I thought, that using the flash plugin interface could be a workaround since it also enables to use interfaces which are not supported by ROM BSL natively like SPI and CAN.

    Could you please confirm ?

    Otherwise I understand, that then the remaining only optino to be able to use the 5V PA0 and PA1 as UART (in this case UART1) for bootloader is to write/use custom secondary BSL. 

    Thanks and best regards,

    Gregor

  • Hi Gregor,

    Yes, you can use flash plugin interface to change.

    Regards,

    Zoey

  • Hi Zoey, 

    thank you for confirmation, that using flash-plugin interface UART1 can be used with 5V pins PA0 and PA1.

    Thanks and best regards,

    Gregor