AnsweredAssumed Answered

Creating narrow pulses with STM32F051R8T6 discovery

Question asked by Mario Rodriguez on Sep 4, 2017

Hi everyone
I'm on a project where i need to create 300 us pulses every 1s so i need 100000 samples on my DAC, but the RAM is not enough to handle with that number of samples. The thing is the pulse information is in the first 300 samples and the rest of the samples (99700) are a constant number.

Is there any way of giving a 300 data array and set the DAC to the last value given for 99700 samples?
Thanks and sorry if i made some grammatical mistakes I'm not native english