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.
Tool/software: Code Composer Studio
Hello all,
I'm trying to generate space vector PWM in order to grid current controlling purposes. I have used 'SVGEN_MF' macro in order to generate space vector PWM signals. But my space vectors are bit different from the conventional space vectors. I would like to know whether I can compare the generated PWM signals(ex. ePWMxA and ePWMxB) and change the GPIO pims accordingly irrespective of the generated PWM signals. For an example I do not want to attach ePWMxA and ePWMxB to any of the GPIO and according to generated ePWMxA and ePWMxB signal I required to control the GPIO pin. Please let me know this is feasible o not.
Thanks in advance.
Lahiru
Lahiru,
There are several GPIO Mux locations that are available for each PWM output. For example PWM1A can be routed to: GPIO0 or GPIO145. PWM1A cannot simply output on another GPIO with a couple of exceptions.
Regards,
Cody
Hello Cody,
Thank you very much for the reply. I don't want to route any of the ePWM outputs to the GPIO. But I want to process further the ePWM output (for an example performing the 'OR' logic operation between three ePWM outputs. After that I want the output of the ORed signal to be present at the GPIO. Can you suggest a methodology for this. As far as I understood I can use the ePWM x - bar to perform this task.
Ragards,
Lahiru
Lahiru,
as of right now we cannot logically 'OR' the outputs of PWMs inside of the device. You will need to use external logic to preform this task.
I don't know the timeline for your product, but stay tuned!!! We be releasing a programming tool for the CLB in the coming months.
Regards,
Cody