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.

TMS320F28379D: How to read PWM states generated from ePWM modules

Part Number: TMS320F28379D

Hi,

Currently, I am working on a project using F28379d launchpad for motor drive control.

I am using ePWM modules to generate PWM signals. MATLAB/Simulink is what I'm using to program. For use in future calculations, I would like to record my PWM signal. As stated in this (https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1168314/tms320f28379d-list-of-registers-and-memory-addresses-to-be-used-for-memory-copy-block ), I have attempted to copy the TBCTR register and reconstruct the PWM signal. Nevertheless, the memory copy block is not providing me with the correct value for TBCTR. I am using a PWM period of 10kHz/1e-4 seconds. Can the switching states be read from the GPIO data registers? My aim is to access my switching states (PWM signals) for further processing.

Any assistance with this would be greatly appreciated.

Thanks