Dear Esteemed forum members,
I am trying to do ADC conversion with EOC interrupt but it seems the EOCIE bit in ADC_CTRL1 register never sets. I was successful in polling ADC conversion but the interrupt seems elusive. I tried to print out the ADC registers via UART and found the ADC_CTRL1 register is always 0 even though i had OR it with 1<<5. The attached code only prints a polled result and then waits for an interrupt to fire.Requesting forum members to review the code attached an identify the mistake i made. I only know assembly.Appreciate any help/comments
Regards
Sajeev
current result, only one polled result and interrupt never fires