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.

MSPM0C1104: About SWD and bSL

Part Number: MSPM0C1104

Tool/software:

Hi team,

Customer is evaluating M0C1104 16 pin package. They have some questions. Please help clarify. Thank you.

  1. Could the two pins of SWDIO, SWCLK be used for GPIO or ADC usage ? Would this affect flash programming ?
  2. Could M0C1104 use SPI to update ?
  • Hi Jerry,

    Could the two pins of SWDIO, SWCLK be used for GPIO or ADC usage ? Would this affect flash programming ?

    Yes, the SWDIO and SWCLK can be reused for GPIO, and PA20 can be used for ADC usage.

    However, the swd will be disabled in application code if it is reused for other function. So, it is recommend adding some delay before SWD disable code. In that way, you can re-flash code at that time.

    Could M0C1104 use SPI to update ?

    You can use secondary BSL to realize SPI update.

    Regards,

    Zoey