cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F3DISCOVERY USB-Virtual Com Port?

bobot
Associate II
Posted on November 18, 2012 at 14:16

Hi!

May I ask for help about setting up VCP with one?

I am currently looking over the files of STM32_USB-FS-Device_Lib_V3.4.0 (under virtual com port). I can't seem to understand how to tailor it with STM32F3Discovery. Or is it even possible to use it with STM32F3? Can anyone help me understand how to use the library with other USB capable STM32's? I am using IAR starter.

I am very new to STM32 MCUs. Just opened my STM32F3Discovery this week. I choose this board because of its included sensors. The objective simply to forward the readings of the sensor to a host PC. The data gathered will be used for academic purposes. So, for now, I wanted to connect it first with my PC through VCP.

Than you very much.

18 REPLIES 18
Amel NASRI
ST Employee
Posted on February 27, 2013 at 14:48

Also many of the application notes are now the older versions which don't have any mention of F3 in them and they appear under the STM32F3 microcontroller page.

 

Which ones? May be they are the common ANs.

Thanks,

ST.MCU

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Posted on February 27, 2013 at 19:48

Which ones? May be they are the common ANs.

AN4235 was one that seems to disappear into the void. I couldn't find it on the site anywhere, and had to dig it forcibly from Google cached image.

 [DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Discovery/I2C_Timing_Config_Tool%20for%20F0%20and%20F3&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/AllItems.aspx&currentviews=23]https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fSTM32Discovery%2fI2C_Timing_Config_Tool%20for%20F0%20and%20F3&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F&TopicsView=https%3A%2F%2Fmy.st.com%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2FSTM32Discovery%2FAllItems.aspx¤tviews=23

There is a lot of linkage of the web/google which is now broken as a result of the site change. A lot of stuff either moved or disappeared out of view.

I remember Intel tracking 404 errors for referrer information and getting people to fix links. It might be helpful to understand your site metrics to see what people are looking for, and failing.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
lchiu
Associate
Posted on March 08, 2013 at 19:48

Hi STOne-32,

The links no longer appear to be valid. Could you post updated links? I am also interested in stm32_vcp.zip, and any documentation that can be found with it.

Thanks,

L

lchiu
Associate
Posted on March 09, 2013 at 01:34

Thanks, Clive. You're fast.

ramin
Associate
Posted on March 12, 2013 at 18:47

Hi Clive, I am a newbie in st32 world, and just received st32f3discovery and would like to transfer the gyro data to computer via usb port. i have already managed to read the data off the sensor but couldnt make the usb port work as a com port. if you dont mind, can you give me a sample project if u have, or direct me how to do so. I haven't worked with usb port before at all.

Posted on March 13, 2013 at 00:07

From easy of integration a Virtual Com Port would seem to be the least painful. You would probably want to buffer the output string you create from your device, and then report that data back as coming from the ''com'' port. I would probably start by building the examples in the USB FW library and experiment with them. No, I don't have a prebuilt example for this.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
hamdi23
Associate II
Posted on March 19, 2013 at 08:38

is there template files for the application interace layer (usb_prop,usb_istr..)?? and which part of them we should change??

Posted on March 19, 2013 at 14:59

You should perhaps become familiar with

STM32_USB-FS-Device_Lib_V4.0.0\Projects\Virtual_COM_Port

STM32_USB-FS-Device_Lib_V4.0.0\Projects\VirtualComport_Loopback

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