Skip to main content
antonius
Associate III
September 5, 2013
Question

How can I use PA11 and PA12 as USB connection ?

  • September 5, 2013
  • 2 replies
  • 1347 views
Posted on September 06, 2013 at 01:25

Guys,

I made my own development board with STM32F103VCT6,

My question is,

How can I use PA11 and PA12 as USB connection ?

and how to modify the code from ST,

Mass_storage application, so it can be used for my board ?

Please have a look from the screen shot :

http://i129.photobucket.com/albums/p231/picture_77/st_code_zps0dcb21ec.jpg

I want to use this library :

https://my.st.com//public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Attachments/23342/STM32F10xUSBLib_V2.2.1.zip

Thank you

null
    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    September 5, 2013
    Posted on September 06, 2013 at 01:48

    Does your camera have a macro mode? Might help with the close-up work.

    Suggest you review the

    http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00039084.pdf

    for the STM32F4-Discovery board, or one of the others, which use a USB connected STM32F103 to provide ST-LINK support. This is a pretty minimal USB implementation.

    I don't know much about your board, the changes you'd need to make to the example code would depend a lot on how different it is to the EVAL series boards instantiated in the Utilities directory.
    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
    September 6, 2013
    Posted on September 06, 2013 at 02:22

    Ok, thank you,

    I don't have special connection on my board,

    only header, crystal and USB....