Skip to main content
rthorstensson
Associate II
Sep 1, 2014 10:15 AM UTC
Question

STM32F2 USB Host Virtual COM with DMA

Posted on September 01, 2014 at 12:15

I have a module which I need to communicate with virtual com by USB with a STM32F2.

Which means that I need to STM32F2 to be USB host and then connect to the virtual com over USB and I also need the transfer to be done over DMA.

Unfortunatly I cannot find any examples where STM32F2 is USB host for Virtual com. 

Has anyone seen any example code for this or can help me how to achieve this?
    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    Sep 1, 2014 2:10 PM UTC
    Posted on September 01, 2014 at 16:10

    The 2.1 USB Firmware Library has a VCP that works with the STM32F2

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    rthorstensson
    Associate II
    Sep 1, 2014 4:30 PM UTC
    Posted on September 01, 2014 at 18:30

    Can you please post  link?

    When I google  for 2.1 USB Firmware Library I find:

    https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=https%3a%2f%2fmy%2est%2ecom%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex_mx_stm32%2fSTM32%20Legacy%20Firmware%20Libraries&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&currentviews=8326

    And on the  OTG examples there is no example where stm32 is USB host for VCP (only when stm32 is device for VCP)