Home/Support/Support Forum/When using quadrature encoders on a BL4S200 board, is there a way to preset the counter values on boot up?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

When using quadrature encoders on a BL4S200 board, is there a way to preset the counter values on boot up?

0 votes
asked Nov 17, 2014 in Rabbit by instantdad New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
Please read Chapter 22 of the processor manual for details on how to set up a quadrature decoder channel. Operation is as follows:

22.3 Operation
The following steps explain how to set up a Quadrature Decoder channel.
1. Configure Timer A10 via TAT10R to provide the desired Quadrature Decoder clock
speed.
2. Configure QDCR to select the input pins for the two channels.
3. Reset the counters by writing to QDCSR.
answered Nov 17, 2014 by trooper2 Veteran of the Digi Community (589 points)
...