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.

LP-MSPM0C1104: Implementing Specific Timing Features with MSPM0C1104 Microcontroller: Is it Possible?

Part Number: LP-MSPM0C1104
Other Parts Discussed in Thread: MSPM0C1104

Tool/software:

I’m considering using the MSPM0C1104 microcontroller for a project and I have a few specifications in mind:

  1. I want to implement a feature where an output is triggered from a different pin 100us after an input signal switches from ON to OFF, and this output lasts for 200us.
  2. This feature should be implemented for each of the 3 inputs.

I’m wondering if it’s possible to realize this with code. Could you provide some guidance or point me in the right direction? I appreciate your help. Thank you.

  • Hi naka,

    an output is triggered from a different pin 100us after an input signal switches from ON to OFF, and this output lasts for 200us.

    You can use GPIO input capture the signal. For 100us or 200us, you can user delay function or timer peripheral for precise timing, and control GPIO output in timer interrupts

    This feature should be implemented for each of the 3 inputs.

    You can use 3 GPIO input. If edge is captured, the MCU will enter interrupt where you can judge which GPIO result in this interrupr.

    To develop fast, please use our sdk which include lots of demo code.

    Regards,

    Zoey

  • Hi Zoey,

    Thank you for your response.

    Could you provide me with some sample code? As a beginner, I find it difficult to understand how to proceed with just the CCS samples.

    Additionally, is it possible to increase the number of inputs to 6 and outputs to 6 as well?

    Regards,

    Naka

  • Hi Naka,

    Could you provide me with some sample code?

    Firstly you can download our sdk from official line: MSPM0-SDK Software development kit (SDK) | TI.com

    Then, follow this guide to import your our demo projectdesign flow guide.pdf

    is it possible to increase the number of inputs to 6 and outputs to 6 as wel

    Yes, of course. All GPIO can sever as input or output pin.

    Regards,

    Zoey

**Attention** This is a public forum