Other Parts Discussed in Thread: MOTORWARE
Dear team:
Device: 28069M+drv8301, xds100v3
Based on lab12a/b, one of my customers rewrites the code of sensor and configures GPIO. The parameters in user.h are also configured.
The lab05c.out compiled by Hal.c, user.h and their header files can be read by general GUI and run normally with speed regulation and inertia identification functions.
However, when the .out file compiled based on lab12a/b is read through GUI, the relevant settings in user.h cannot be correctly recognized and can not run normally.
The situation of lab05a:

The situation of lab12a/b:

The main program of lab12a is only changed in the statement of calculating the electrical angle of the main interrupt. Instead of reading the encoder count from QEP to reading the encoder count from the GPIO port according to the personal function (located in Hal.c), there is no other difference between the files used in the two projects.
May I ask what are the possible problems?
Best Regards