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.

TMS320F28335: How to get the sine wave angle corresponding to "sgen. Out"

Part Number: TMS320F28335
Other Parts Discussed in Thread: CONTROLSUITE

Dear team:

The customer uses ti's own library functions "sghp1c.asm" and "SINTB360.asm" to generate sine wave signals, and performs "sgen.calc" operation every time it is interrupted.

The customer wants to know how to get the angle corresponding to the sine wave every time the "sgen.calc" operation is performed?

Best regards,

Green

  • Hi,

    We will assign this thread to the SGEN expert. We will revert back with a solution to the problem. Thank you!

    -Shantanu

  • Hello Green,

    The documentation for the library can be found in the library's doc folder.  If they are using controlSUITE it is located:

    The description provides details of how the user can specify the frequency of the sin wave and the step used each ISR.  This info would indicate the delta angle each ISR.  Refer to pages 49-52.