RIO PWM

Hi,

I would like to use in some way the RIO as pulse generator (at specified frequency) stopping pulses at prefixed counts. Can you give me suggestions as I tried but only have free running:(

thanks in advance

I think you probably want to use a timer rather than a PWM for this.

could be a soution but same way how it is possible to have only a prefixed number of pulses and stop it?? Pulses I prefere not be managed with rabbit 4110 dynamic C and realy seems PWM would be solution but can one of the counter be used to stop after some steps either to control frequency (duty cycle is not important realy for me and could be any)?

Right. Let’s try this again. I would look at using Timer C & write an interrupt handler that does the counting and stops the output after the aprropriate number of pulses.

thanks sgt for replay. Let me see if I understood. I will use RIO internal counter and managing the interrupt with cpu 4110 I will reset the timer. But is it enought fast to not have more pulses? Anyway it is a road to test, thanks:o