Skip to main content
farouk_ch10
Associate
January 31, 2014
Question

Voltmeter

  • January 31, 2014
  • 28 replies
  • 5286 views
Posted on January 31, 2014 at 21:34

Hello

I want to make a voltmeter using my STM32F4  discovery , actually these are my first steps and I am facing some problems and I need some help.

Thank you very much.

#lmgtfy
    This topic has been closed for replies.

    28 replies

    Tesla DeLorean
    Guru
    January 31, 2014
    Posted on January 31, 2014 at 22:12

    What tool chain are you using? Do you have any experience with micro-processors, C programming, etc.

    Have you downloaded the firmware library code, and examples for the STM32F4-Discovery board?

    Review this example

    STM32F4-Discovery_FW_V1.1.0\Project\Peripheral_Examples\ADC3_DMA

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    raptorhal2
    Lead
    February 1, 2014
    Posted on February 01, 2014 at 15:27

    Step 1 - define your requirements

      AC & DC volts ?

      Voltage ranges

      Accuracy

      User control inputs

      Results display to the user

    Step 2 - Then tell us what the hardware design is to meet those requirements for the first feedback.

    Step 3 - Code and test and explain clearly any problems.

    When you are done, you will know the difference between coding and developing a software application.

    Cheers, Hal

    farouk_ch10
    Associate
    February 2, 2014
    Posted on February 02, 2014 at 16:38

    Thank you very much

    farouk_ch10
    Associate
    February 2, 2014
    Posted on February 02, 2014 at 16:38

    Thank you very much

    farouk_ch10
    Associate
    February 10, 2014
    Posted on February 10, 2014 at 21:48

    Hello, 

    I want to reset my STM32F4 board because I used pins that I should  not use like PA13 and PA14 , I know that I can use the NRST pin but I don't know how .

    Any idea please

    raptorhal2
    Lead
    February 10, 2014
    Posted on February 10, 2014 at 22:48

    Try the Reset button on the board.

    Cheers, Hal

    Tesla DeLorean
    Guru
    February 10, 2014
    Posted on February 10, 2014 at 23:09

    If you have user code locking out the SWD debugging connection, then you can with BOOT0 High (jumper BOOT0 to VDD next to it) and it will start into the System Loader. Once there you can use the ST-LINK Utilities to erase the user code.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    farouk_ch10
    Associate
    February 11, 2014
    Posted on February 11, 2014 at 11:54

    Thank you for your response ,

    I am using th IAR and this is the error : 

    Fatal error: ST-Link, No MCU device found   Session aborted! 

    Buy the way it was working well before I used some pins which are not free as I told you.

    I am a beginner , and I don't know what the BOOT0 is , sorry but could you do a favour and explain to me what to do exactly step by step 

    Sorry 

    Thank you very much.

    farouk_ch10
    Associate
    February 11, 2014
    Posted on February 11, 2014 at 11:55

    Thank you for your response,

    I did ,but it doesn't work, maybe I don't know how to use it .

    Tesla DeLorean
    Guru
    February 11, 2014
    Posted on February 11, 2014 at 16:44

    Jumper the VDD and BOOT0 pins, restart the board, attach via ST-LINK Utilities, Connect and Erase part.

    0690X0000060MnxQAE.gif

    http://www.st.com/web/en/catalog/tools/PF258168

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..