- Sun Jun 24, 2007 12:40 pm
#31771
I have programmed CC1010 Chipcon evaluation module to sample a temperature, transmit it via wireless link to the next node and display on the PC screen. However, due to energy considerations I put module to the sleep mode. It should reman in sleep mode if temperature is constant and awake from sleep mode if temperature changes.
The idea is to use Analog to Digital converter to Generate system RESET if temperature changes.
Maybe somebody have experienced similar problems and know how to use ADC to generate RESET while sampling a temperature?
Many thanx.
The idea is to use Analog to Digital converter to Generate system RESET if temperature changes.
Code: Select all
Reset should be generated if temperature exeeds value "25" however this doesnt work. // ADC setup
halConfigADC(ADC_MODE_MULTI_RESETTING | ADC_REFERENCE_INTERNAL_1_25, CC1010EB_CLKFREQ, 25);
ADC_SELECT_INPUT(ADC_INPUT_AD1);
ADC_POWER(TRUE);
Maybe somebody have experienced similar problems and know how to use ADC to generate RESET while sampling a temperature?
Many thanx.