hello~.
There was a problem when checking adc in "telink_mesh_sdk".
It uses an external analog temperature sensor.
This is the input power range from 0.1v to 3.0v.
A reset occurs when coming under approximately 1.2v.
How can I solve this problem?
No related topics |
do you mean the adc pin connect to sensor pin,when the pin under 1.2V,the chip will reset?or any other information
@Soyo
do you mean the adc pin connect to sensor pin,when the pin under 1.2V,the chip will reset
==>right.
The chip reset disappeared when I set the settings as below.
It was different from the contents of the data sheet because I understood it wrong, but it was solved.
Setting of sample code:
adc_set_ain_pre_scaler(ADC_PRESCALER_1F4);
Setting that I modified:
adc_set_ain_pre_scaler(ADC_PRESCALER_1F2);
do you mean the adc pin connect to sensor pin,when the pin under 1.2V,the chip will reset?or any other information
@Soyo
do you mean the adc pin connect to sensor pin,when the pin under 1.2V,the chip will reset
==>right.
The chip reset disappeared when I set the settings as below.
It was different from the contents of the data sheet because I understood it wrong, but it was solved.
Setting of sample code:
adc_set_ain_pre_scaler(ADC_PRESCALER_1F4);
Setting that I modified:
adc_set_ain_pre_scaler(ADC_PRESCALER_1F2);