cancel
Showing results for 
Search instead for 
Did you mean: 

?STM32F4 RECEIVE DATA FROM PC

PINI BITON
Associate II
Posted on December 09, 2016 at 09:35

Hi

I'm using a STM32F4

07 discovery 

and

 used vcp (Virtual COM port)

 i want to receive data  from pc(sending through  the terminal )

How to do it?and If you can attach an example?

(sending data to pc is not a problem is the easy part )

Thank you very much 

1 REPLY 1
Imen.D
ST Employee
Posted on December 09, 2016 at 09:56

Dear

biton.pini

‌,

Look at the

CDC_Standalone

example in your STM32CubeF4:

STM32Cube_FW_F4_V1.0\Projects\STM324xG_EVAL\Applications\USB_Device\CDC_Standalone

The hardware components are managed by a lower layer interface( usbd_cdc_interface.c) and can be modified depending on yourapplication needs.

I recommend you to check the 'STM32Cube USB device library' User manual

http://www.st.com/content/ccc/resource/technical/document/user_manual/cf/38/e5/b5/dd/1d/4c/09/DM00108pdf/files/DM00108pdf/jcr:content/translations/en.DM00108pdf

.Hope this helps you.

Best Regards

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen