Hi ,
I want to use my ADC with the SYS/BIOS for Tiva C. The program without SYS/BIOS works fine but when i modify it for use with SYS/BIOS it does not run. It shows no error during build.
To be more specific it runs into an infinite loop when executing the statements starting with "ADC"
void main()
{
SysCtlClockSet(SYSCTL_SYSDIV_1 |SYSCTL_USE_OSC | SYSCTL_XTAL_16MHZ | SYSCTL_OSC_MAIN);
SysCtlPeripheralEnable(ADC0_BASE);
SysCtlPeripheralEnable(GPIO_PORTE_BASE);
GPIOPinTypeADC(GPIO_PORTE_BASE,GPIO_PIN_3);
ADCSequenceDisable(ADC0_BASE,3);
ADCSequenceConfigure(ADC0_BASE,3,ADC_TRIGGER_PROCESSOR,0);
BIOS_start();
}
Kindly help
Thanks