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.

TMS570LS3137: Instruction configuration about N2HET software angle generator

Part Number: TMS570LS3137

As mentioned by document,the N2HET provides three specialized count instructions to generate an angle referenced time base synchronized to an external reference signal (the toothed wheel signal) that defines angular reference points. It seems that more informational support is required to set up a full instruction set when applying the SWAG feature. The core problem is that the randomness of the external input signals suggests that SWAG requires a synchronous processing mechanism. This mechanism is not mentioned in the documentation. To sum up, it’s difficult to get a ideal result when instruction set only contains APCNT-SCNT-ACNT and I will be great appreciate if I could take suggestions about how to configure a SWAG instruction set.