Hi,
Thank you so much for your interest in our products and for using our community.
To use the encoder mode, in addition to following the Getting Started you have to do the following:
- Connect the encoder to connector JP1 (check DEVKIT-MOTORGD Schematics if necessary).
- Change the macro #define ENCODER 1 and load the program on the board.
- In FreeMASTER, Sensors tab define the resolution of the encoder (in my case 1000 pulses).
nxf86756_1-1675728646336.png
- In the Project tree, go to Encoder Sensor/Speed
nxf86756_3-1675728700844.png
- In the variable watch define the speed required
nxf86756_4-1675728735661.png
- Finally change the state from STOP to RUN
nxf86756_5-1675728770724.png
- And you can see the speed in encoder mode in the scope.
nxf86756_6-1675728797987.png
Hope it helps you. Please let me know if you have more questions about it.
Have a nice day!