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.

TMS320F28069M: Reading a value from ADC buffer and creating graph on that

Part Number: TMS320F28069M
Other Parts Discussed in Thread: C2000WARE

Hi,

I am new to CCS and C general. I have a problem to ask hope you can help me;

I want to add another ePWM (the third one) to the above project. The first ePWM already generates a 2kHz 25% duty cycle symmetric PWM waveform and the second ePWM triggers the ADC so we can read the values from ADC. When I add the third ePWM it should cycle the duty cycle (0-100%). What I want to do is read ePWM3 from AdcBuf and create a graph with that. To do that, I set configurations on DefaultISR, ePWM, and ADC. However, it did not recognize the epwm3_info on update_compare in Default ISR. The error says it did not define but when I search it with CTRL it goes where I defined it. I did not understand why it gives the error. Can you help me?

Here is my code:

drive.google.com/.../1W12mHtPN2Mozj8K1pLLG2wNEUqT7QtBd