Skip to main content
antonius
Associate III
April 14, 2015
Question

How to use STM32CubeF4 ?

  • April 14, 2015
  • 9 replies
  • 1231 views
Posted on April 14, 2015 at 11:46

Hi Guys,

Does anyone know how to use STM32CubeF4 with STM32F4 Discovery board ? Is it similar like using Keil ?

Any clues please ?

Thanks
    This topic has been closed for replies.

    9 replies

    l239955_stm1
    Associate III
    April 14, 2015
    Posted on April 14, 2015 at 13:33

    Hi, STM32Cube contains:

    - STM32CubeMX - graphical software to design of microcontroller configuration and generating initialization code, it´s very useful for me in order wide application. For Win you can install STM32CubeMX

    and under Linux there is Eclipse plugin.

    - STM32Cube HAL - it´s new abstraction layer, ensuring portability across STM32 portfolio. Latest microcontrollers are not supported in STM Standard Peripheral Library and you have to use HAL ''library''

    antonius
    antoniusAuthor
    Associate III
    April 14, 2015
    Posted on April 14, 2015 at 23:44

    How can I initialize and use Ethernet (ETH): media access control (MAC) with

    DMA controller on STM32F407 Discovery ?

    I can't find any examples on STM32F4 Cube and if I want to initialize myself,

    I tried following

    STM32F4 cube manual, document name : DM00107720.pdf

    page 16, am I on the right track ?

    Thanks

    l239955_stm1
    Associate III
    April 15, 2015
    Posted on April 15, 2015 at 08:59

    I have no experience with stm32f4 and ETH but tool STM32CubeMX generate initialization code for all peripherals that you want to.

    There is window in CubeMX with ETH setting

    0690X000006052EQAQ.png

    antonius
    antoniusAuthor
    Associate III
    April 15, 2015
    Posted on April 15, 2015 at 23:32

    Where can you find this tool STM32CubeMX?

    STM32Cube_FW_F4_V1.5.0\Utilities\ ?

    Tesla DeLorean
    Guru
    April 16, 2015
    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    antonius
    antoniusAuthor
    Associate III
    April 16, 2015
    Amel NASRI
    Technical Moderator
    April 16, 2015
    Posted on April 16, 2015 at 15:41

    Hi h.rick,

    These are some helpful links containing packages to be used besides to required documentation:

    - STM32CubeMX: http://www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1533/PF259242

    - STM32CubeF4: http://www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1743/LN1897/PF259243

    Some Ethernet examples are available in the package STM32CubeF4 under STM32Cube_FW_F4_V1.5.0\Projects\STM324x9I_EVAL\Applications.

    -Mayla-

    To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.
    antonius
    antoniusAuthor
    Associate III
    April 17, 2015
    Posted on April 17, 2015 at 15:28

    Ok,

    Thanks for the links...

    Is this the application ?

    0690X000006030wQAA.jpg

    l239955_stm1
    Associate III
    April 20, 2015
    Posted on April 20, 2015 at 08:22

    Yes :)