2020-12-06 10:39 PM
Hello,
I have a custom PCB with stm32L562 on it. I'm able to put it low power run mode.
My consumption is 0.2mA, but if I init ADC the consumption jums to 0.3mA.
I've tried to deinit it before going to stop 1 mode but it does not help
HAL_ADC_Stop(&hadc1);
HAL_ADC_DeInit(&hadc1);
HAL_ADCEx_RegularStop(&hadc1);
HAL_ADC_DeInit(&hadc1);
Can you please somebody help me how to completely deinit ADC?
Thank you
2020-12-08 4:37 AM
Hi,
Can somebody help me on this please.
Thank you
2020-12-09 3:39 AM
Hello @Artuan ,
I will see this behavior.
Best Regards,
Mohamed Aymen.
2020-12-10 3:09 AM
Hi Mohamed,
Did you have time to check maybe?
Thank you
2020-12-14 5:52 AM
Hello @Artuan,
Can you please share your project file in order to see the same behavior.
Thanks and Best Regards,
Mohamed Aymen.
2020-12-15 7:40 AM
2020-12-15 7:49 AM
Hello @Artuan,
I will check it and give you my feedback.
Best Regards,
Mohamed Aymen.
2020-12-16 3:01 AM
Hello @Artuan,
After verification :
What is the injected signal on the ADC Pin that you use ?
Best Regards,
Mohamed Aymen.
2020-12-17 10:20 PM
Hello @Mohamed Aymen HZAMI
Thank you for your time.
On this pin I have a pull up which is not connected to anything right now. I removed the pull up and the results are the same.
Is possible somehow to completely deinit ADC ? Because if I don't init the ADC the consumption is ok. So if I can get this state after using the ADC it should work.
Thank you for your help
2020-12-24 8:41 AM
Hello @Artuan,
I test your code on Nucleo-L552ZE-Q Board :
I think you have a problem with your PCB, try to use an ST's board !
Thanks and Best Regards,
Mohamed Aymen.