Hi Sarwath, Since the code gets stuck in this part, my first thought is that the REFGENBUSY is true. Thus, making sure that the modules that could be using REF_A are disabled will make it turn false. I would recommend first enabling the ADC Module and then calling the adcRefVoltage setup function. Best Regards, Diego Abad
↧