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.