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.

PWM unsynchronization problem.

Other Parts Discussed in Thread: TMS570LS3137, HALCOGEN

Hello.

 

I'm making PWM with HET1 and HET2 modules of TMS570LS3137.

HALCOGEN can not control HETGCR Register.

 

HALCOGEN generated code ad follows :

hetREG1->GCR = 0x01030001U; // master

 

I want to change this to the following.

hetREG1->GCR = 0x01020001U; // slave

 

Must be set to Slave. Otherwise, HET1 PWM and HET2 PWM are unsynchronized.

(Same the Period & Duty Cycle)

 Help.

 Thanks.

 regards.

 Won-yong Kim.