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.

MSPM0L1306: STM32 to MSPM0 interrupt comparison

Part Number: MSPM0L1306

Hi team,

My customer is considering to migrate from STM MCU to our MSPM0L1306.

Here are some questions from customer regarding the migration guide documents.

  1. The following 3-10 Interrupt comparison table shows only the contents of each interrupt based on the NVIC number, right ?
    Or is it to recognize that the contents described correspond respectively ? ( ex: NVIC3, flash group interrupt of STM32G0 and UART3 of MSPM0 correspond respectively.)
  2. If the above table shows only the contents of each interrupt based on the NVIC number,
    There are three types of STM32G0: EXTI0 and EXTI1 interrupts, EXTI2 and EXTI3 interrupts, and EXTI4-EXTI15 interrupts, but MSPM0 has only one type, INT_group1.
    1.  What should I do if I have three types of GPIO interrupts from STM32G0 and want to migrate to MSPM0?
      For example, in the case of STM32G0, PA0, PA2, PA4 detect input.
      PA0 is "EXTI0 and EXTI1 interrupt", PA2 is "EXTI2 and EXTI3 interrupt", Because PA4 jumps to the interrupt destination of the "EXTI4-EXTI15 interrupt"
      The program can be configured separately, but in the case of MSPM0, no matter which GPIO detects the input, it goes to "INT_GroupP1".
      I think you can't distinguish between programs like STM32G0, but how do you deal with them?
    2. Also, is it possible to separate the destination of GPIO interrupts of MSPM0 like STM32G0 such as set interrupt destination other than "INT_group1"? 

Thank you in advance.

Best regards,

Kenley

  • Hi Kenley,

     What should I do if I have three types of GPIO interrupts from STM32G0 and want to migrate to MSPM0?

    You can arrange them as one interrupt group and then chech each one in the interrupt routine, we give the example code in sdk: gpio_simultaneous_interrupts

    Also, is it possible to separate the destination of GPIO interrupts of MSPM0 like STM32G0 such as set interrupt destination other than "INT_group1"? 

    I assume the answer is no, I think the software method to distinguish each GPIO interrupt source is OK for most application. If they have any concern, please let me aware.

    B.R.

    Sal