LM3S2965 - QIE0 Problem
Hi all,
I have problem with configuration of QIE0.
Because PHA0 is on PC4 and PHB0 is on PH3 so to configure gpio I use these two function below.
GPIOPinTypeQEI(GPIO_PORTC_BASE, GPIO_PIN_4); GPIOPinTypeQEI(GPIO_PORTH_BASE, GPIO_PIN_3);
I found that second function hang uC. Of course befor these two function I call:
SysCtlPeripheralEnable(SYSCTL_PERIPH_QEI0); SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOG)
I'm little confused because QIE1 work just fine.
login or register to reply
|