Part Number: CC2640R2F
Hello,
we're using a very stripped down version of SCS code to enable the chip's ADC. We then use a HWI on INT_AUX_ADC_IRQ that triggers when a measurement is done, read the value there and start the next measurement with AUXADCGenManualTrigger. Everything is working fine so far.
But as soon as the CPU goes to standby and wakes back up, the HWI will never trigger again. All used elements should be completely uninitialized before the standby starts (maybe the sensor controller isn't?) and are freshly initialized after waking up. We're using the standby in a kind of special way.
What I noticed when comparing the registers was that AUX_EVCTL.EVSTAT1.ACLK_REF is 1 all the time during the first run and right after wakeup, but will change to zero or jump around after some time. I've tried to uninitialize and initialize the sensor controller and ADC multiple times while the software was running if the ADC HWI didn't trigger for a while, but I could not get the TDC reference clock back running.
Do you have any hints what could be the problem? Thanks in advance!