Question
VCP with STM32
Posted on June 01, 2012 at 15:43
Hello,
I am working on virtual serial port to communicate between computer and device through usb. So i downloaded ''STM32F105/7,STM32F2 and STM32F4 USB on-the-go Host and device library.'' from http://www.st.com/stonline/stappl/resourceSelector/app?page=resourceSelector&doctype=FIRMWARE&ClassID=1734 And i selected vcp from project lists, and start reading the code. I found that the main application only contains initialization of the hardware and the interrupts. So the code that is sending data is working in the interrupt, but i cannot find the portion that is responsible to send data... Please if any one can explain me the flow of the program. Note that i read the manuals from ST concerning this project but i didn't get the point, because they wrote 2 papers only about this application. Regards, Hisham