How can we conduct the output signal generated by simulation to a particular pin?

1 view (last 30 days)
We intend to implement a control system on this board to switch the eight Mosefets of a DC-DC converter. We designed the system in Matlab Simulink software and then compiled the simulation using the C compiler and the DSP compiler V3.3. The desired output of the simulation is four Square wave signal with the 20 kHz frequency. At first we tried to convert on square wave signal to the DSP for test. In the simulation we have obtained the square wave properly. An also it has been compiled and converted on DSP correctly and without any error. But we can not see the square wave on the Oscilloscope device. To conduct the output signal of the simulation to the DSP P8 pins, we connected the output signal to a "Digital output" block which has been considered in the Matlab by Texas Instruments for C2000/ C28x3x processors. As the catalog of DSP says the GPIO0 is the ninth pin of P8 I/O pins which is considered for EPWM1. According to this, we selected the GPIO0 pin of the block and expected to get the signal from this pin on the DSP board. But it did not work.
Please let me know where the problem is,
Thanks

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!