2 Replies Latest reply on Jul 15, 2014 3:41 PM by userc_42391

    ADC loses configuration after hibernate mode

      I've found that after entering hibernate mode and using the RX pin for the uart as a wakeup interrupt that the adc restarts with different settings.  I'm using an extra command at the moment to force it to reset which seems to work well as a work around but I wanted to check to see if this was an issue or if we might be doing something wrong.  


      The hibernate code is pretty simple:


      Rx_1_ClearInterrupt(); //allow next rising edge to be detected and wake up the chip








      ADC_DelSig_SelectConfiguration(ADC_DelSig_CFG1, 1); //select config, start conversions




       At the moment the other modules appear to be restarting okay but they're all UDB modules so the adc is unique in that aspect.


      Suggestions?  TIA