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.

UCD3138A: UCD3138 vs. sequences of pulses

Part Number: UCD3138A
Other Parts Discussed in Thread: UCD3138

Hello,

in my application I will need to generate sequences of pulses ("pulse trains"). I would like to configure DPWM, run generation of pulses and have the device stop it automatically after a given number (I expect a few thousands) of pulses, or milliseconds (most likely tens or hundreds). I would like to achieve that without involvement of the ARM core other than starting the sequence.

Could you, please, recommend how to achieve that, if that's possible with UCD3138?

Best regards,
Adam

  • Hello,

    An engineer is looking into this and will get back to you.
  • We can probably figure out something with considerably difficulty, but why not just use the ARM core?  That's what it's there for.  It would be a whole lot easier. 

    Are all these pulses going to be the same, or do they need to change over the time of the pulse train?

  • Hello Ian,

    most likely pulses in a single pulse train can be the same, but that I will know later.
    I was hoping to get a higher precision, keep the code for the ARM core as simple as possible, and keep it busy with something else.
    But if you say so, probably the best way is to use a timer and have the code stop DPWM when countdown elapses.

    Thank you and best regards,
    Adam