This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

STM32 analog-digital converter

Hello.
I am a beginner and i am trying to use one of the ADCs on my stm32f103ze.I have been using the examples from keil, they are well written and understandable. The problem is, they dont have an example showing use of an ADC. I have read the example from the stm firmware library and they use a different way of of setting up things than the examples from keil so i understood nothing.
Can anyone link me to an (understandable,keil-example-like) example describing setting up the adc, and receiving values from it?

Parents
  • There are at least as many different ways to write any program as there are different programmers.

    "so i understood nothing"

    At the end of the day, it's still the same chip with the same functions and the same registers - so, if you've really understood one, you should be able to understand the other!

    What is it, particularly, that you find hard about ST's examples?

    As this is more about the STM32 than about Keil, you'd probably do well to also post on the ST forum:

    my.st.com/.../AllItems.aspx

    But, if you do, be sure to give links between both threads - so that eveyone in both forums can see the full picture.

Reply
  • There are at least as many different ways to write any program as there are different programmers.

    "so i understood nothing"

    At the end of the day, it's still the same chip with the same functions and the same registers - so, if you've really understood one, you should be able to understand the other!

    What is it, particularly, that you find hard about ST's examples?

    As this is more about the STM32 than about Keil, you'd probably do well to also post on the ST forum:

    my.st.com/.../AllItems.aspx

    But, if you do, be sure to give links between both threads - so that eveyone in both forums can see the full picture.

Children
No data