Hello all
I use PSIM example "Buck Converter with Current Feedback (for F28069M DSP) to test PIL block function.
(I add red circle circuit to test sin and cos function)
The result of IL and Vm between simcoder and PIL is the same.

However sin and cos waveform is quite different.
Can anyone tell me how to solve this problem?
thanks a lot
