Skip to main content
Visitor II
April 19, 2024
Question

Reinitialization of UART and ADC

  • April 19, 2024
  • 2 replies
  • 1248 views

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!!

    This topic has been closed for replies.

    2 replies

    Super User
    April 19, 2024

    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

     

     

    Technical Moderator
    May 20, 2024

    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