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.

CC2652RB: Sensor Controller Studio: Quadrature Encoder example / ideas

Part Number: CC2652RB

Hi,

The datasheet lists one of the uses for the sensor controller as being "Quadrature decoder for polling rotation sensors".  However when I look at the available configuration options for the GPIO event detection, it only allows a single edge to be selected.  So it seems that it would be either quite complicated, or quite restricted in regards to implementing a quadrature decoder.

Is there an example project for reference on the quadrature decoding (to provide a position indication)?

I've looked through the included examples, and nothing appears to come very close.  The Hall Effect sensor project is really only a stall monitor.

What would have been ideal is if it were possible to have the Sensor Controller get triggered based on either a rising or falling edge from either Channel A or Channel B.  Then it would be a simple case of testing the inputs against previous input state, to determine if rotating CW / CCW.

Regards,

Bevan Weiss