Rhab got a reaction from altineller in Problems Using QEI with EK-TM4C123GXL
yes and no. i decided to use the clock-direction mode with only one hallsensor, because the signal of both hall-sensors did not fit to what is needed for quadrature-mode (my sensors did not have the state both high, tell me if you need more information...).
i get the direction directly from my montor-controler and only need one hallsensor as "clock" because every flank (up and down) is counted, there are two counts per revolution. if you know this it should be no problem to use this mode if this is a good enough resolution...
sorry for this late answer
it should be possible to monitor two motors because the the EK-TM4C123 has two QEI-moduls. You should use the QEI-Pins to use QEI, so you have no big choice...
Rhab reacted to terjeio in Problems Using QEI with EK-TM4C123GXL
Use QEI_CONFIG_SWAP instead of QEI_CONFIG_NO_SWAP for QEIConfigure to swap inputs, to invert inputs you have to add the constants yourself as they are not defined in the qei.h for some reason, I think the following defines are correct:
#define QEI_INVA 0x00000100
#define QEI_INVB 0x00000200
You may also check if SIGMODE is set correctly for your type of input.
I am using similar code as yours with a stepper motor providing the phase inputs and it works as it should.
Rhab reacted to Rei Vilo in [Energia Library] LCD_screen Library Suite
Glad you've found a solution. So you're using the SPI version of the Kentec 3.5" screen.
By default, Energia seems to compile all the files in the folder of the library, hence the Screen_ILI9340.h.
The SPI.h capitalisation issues comes from older releases of Energia. Now SPI is always capitalised.
White screen... that's strange. Have you checked the jumpers on the BoosterPack are configured in 4-wire 8-bit SPI?