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.

ADC0 Configuration with TIVAware

Friends,

I am trying to use ADC0 block and channel 0

here attached is my ADC init part,

its working fine with Stellarisware,

but when I am using same code with TIVAWARE I am getting FaultyISR,

Tried debug line by line,  its exactly going to FaultyISR when I am trying to execute

 ADCHardwareOversampleConfigure(ADC0_BASE, 8); //

help me where I am doing wrong,  I am confused,  because same code working with Stellaris Library CC

void ADCInit(void)
{
    // Enable ADC0. ADC Block 0
      SysCtlPeripheralEnable(SYSCTL_PERIPH_ADC0);

      // Enable GPIO Port E. Enable ADC on Port
      SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOE);

      // Configure GPIO pins as ADC input channels.

        GPIOPinTypeADC(GPIO_PORTE_BASE, GPIO_PIN_3); // Temperature Sense
    SysCtlADCSpeedSet(SYSCTL_ADCSPEED_250KSPS);  //Sample rate - Set to 256Ksps
    ADCHardwareOversampleConfigure(ADC0_BASE, 8); //
    ADCSequenceDisable(ADC0_BASE, SEQUENCER); // Disable  Sequencer -> need it before configure

    ADCSequenceConfigure(ADC0_BASE, SEQUENCER, ADC_TRIGGER_PROCESSOR, 0); // Trigger control
    ADCSequenceStepConfigure(ADC0_BASE, SEQUENCER, 0, ADC_CTL_TS);//ADC TSense //
    ADCSequenceStepConfigure(ADC0_BASE, SEQUENCER, 1, ADC_CTL_CH0 | ADC_CTL_IE | ADC_CTL_END); //ADC CH0 & END conversion) //PE3
    ADCSequenceEnable(ADC0_BASE, SEQUENCER); // Sequencer Enable
}

Best Regards

Paddy