Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
The clock might be running at a very low speed and it is very clear from the code snippet that you haven't set up the processor clock. Initialize the processor clock first and then enable the clock for the peripherals.
void SysClockConfig (void)
{
/*************>>>>>>> STEPS FOLLOWED...
I don't See any "GPIOPinTypeADC" is being called. Select the analog ADC function for the pins which you are using, consult the datasheet to see which functions are allocated per pin for Example:
SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOE);
GPIOPinTypeADC(GPIO_PORTE_BASE, GPIO_PIN_3);
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.