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.

QEI module on LM4F232H5QR

I have two encoders and a custom board, where the two encoders are connected to the same QEI module (QEI1) but on different sets of pins that is PG0, PG1 and Pc5, PC6. I have to switch between the inputs to count velocity for respective encoder. For doing so, I have to configure and re configure the GPIO pins everytime the an encoder is selected. For some reason, there is no output from the QEI1 module. Initially, I was getting an output from the PG0, PG1 set of pins,but now there's no output from them as well. I am using the stellaris LM4F library functions to change the configuration of the GPIO pins. Can anyone tell me what might the problem be? 

Before re configuration, the QEI module is disabled and re enabled after the GPIOs are set. 

Regards, Makarand.

P.S. I could not find a link to the LM4F micro controllers forum, so I am posting here.