Hello all,
I am stuck in initialization of the ADC, all that code used to work but now it just stopped working.This code is working fine in Keil IDE and also used to work in CCS.
I tried to debug the code and found at the following instruction it jumps to Fault ISR.
ADCSequenceDisable(ADC0_BASE, 0);
//ADC0_ACTSS_R &= ~(ADC_ACTSS_ASEN0); //Disable Sample Squencer0 before configuring it</span>I also tried to use the direct register access as mentioned above in commented text, but no luck.
The whole code of the program is;
int main(void)
{
volatile unsigned int u