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.

MSP430FR6047: MTIF control the amount of pulses

Part Number: MSP430FR6047

Hi,

I had a look on the other threads to this topic but I haven t found anything. 

Scenario: I want to Send x Pulses in one Frame (maybe the frame is 1 second). After finishing this x pulses I want, that the mtif stops sending pulses by itself. I want just send the given amount, without polling any register, to save current. The examples and documentation does not give me a clue how this could work.

Can you give me some advice if this is possible?

Kind Regards

  • Hi tunguskar,

    It sounds like you may want to try using a timer to limit the window where pulses could be sent. Perhaps you could try starting a timer with a period of 1 second immediately before or after enabling the MTIF. Then in the timer interrupt you could disable the MTIF and the timer. Does this flow sound like it would work in your application?

  • Hi Dylan, 

    Sounds not like a good Idea, but if there is no other possibility I have to stick to this. My expectations were:

    - Interrupt after finished frame

    or

    - stop sending pulses after a given amount of pulses.

    Anyway thanks for the answer dylan

**Attention** This is a public forum