cancel
Showing results for 
Search instead for 
Did you mean: 

Reinitialization of UART and ADC

sudhir467
Associate

Greetings,

I am trying to re- initialize the UART port  which i have already initalized with different settings. I Have used HAL_UART_DeInit() before initializing. The problem i face is after the function is run i see the same configuration which i removed.

i am facing similar issue on ADC peripheral when i configure and init different set of channel in different init function for same ADC.But i just see only one configration being used. I have used Deint () function for the ADC.

 

Kindly suggest me where i might be going wrong

 

Thank you!!

2 REPLIES 2
Andrew Neil
Evangelist III

You're going to need to show the code you're using!

 

Please use this button to properly post source code:

AndrewNeil_0-1713523422399.png

 

 

Aziz BRIGUI
ST Employee

Hello @sudhir467,

Welcome to ST Community !

To increase the chances of getting help from community users, perhaps you need to provide further details, part number used and code snippet as mentioned by @Andrew Neil.

Thanks,

Aziz


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.