Hello,
I am aware that none of the C2000 DSPs has a positive ramp generator for the low DAC of the CMPSS module.
However, I would like to implement this feature for bi-directional peak current control. My question is, is there an easy way to 'artificially' generate this ramp for the low-side DAC of the CMPSS using other modules of the DSP (F28004X in my case)?
I was thinking that maybe with the DMA module, I could repeatedly send the DAC values from a look-up vector that contains the ramp, however, I thought afterwards that it would not be possible to synchronize the initial value of the ramp with the start of my main PWM.
Then I thought that maybe the CLB module could be used for this purpose, but it is significantly more complicated and before diving in, i was wondering if it is worth trying it or if there are some examples from TI or someone that has done something similar.
If there are any other suggestions on how to implement it, all are welcome.
Thank you very much.