Is there an example, or document that explains in details how is eQEP Edge Capture Unit supposed to be used?
There are lots of options, but I can't really figure out how to use it properly. One approach that I can think of is try to use QCTMRLAT and QCPOSLAT, and getting a speed by simply dividing change in position by elapsed time. However, this will not work beacuse QCTMR gets reset on every event (UPEVNT). Another simple approach would be to just use QCPRD, but then we would lose lots of accuracy because event prescaler has to be set to some fixed value.