2014-02-28 7:50 AM
i use stm32f4 discovery board with keil ide.
but i can't know from where i can start with stm32 . '' i was use usb with pic microchip '' i just want transfer data between pc and stm32f4 using usb.2014-02-28 8:06 AM
Hi
''i use stm32f4 discovery board .'' Is the board you are talking about this one : http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF252419 '' i want to use usb'' '' i just want transfer data between pc and stm32f4'' HID = Human interface device (eg mouse, keyboard or joystick) CDC = serial comms device (eg virtual RS232) MSC = Mass Storage Device (eg memory stick) CDC is probably the easiest. On the link above - look under ''Related Tools and Software'' ''STM32F4DISCOVERY board firmware package, including 22 examples (covering USB Host, audio, MEMS accelerometer and microphone) (AN3983)
'' Should have some examples for USB devices2014-03-01 11:05 AM
thank you
yes i have this board in your link. ''STM32F4DISCOVERY board firmware package, including 22 examples (covering USB Host, audio, MEMS accelerometer and microphone) (AN3983)
'' i already have this file . and it's use usb host and it's not easy and not why i want. cdc are i have usb to rs232 convertter chip i want to connect stm32 with usb not rs232.2014-03-03 1:44 AM
Hi
''i already have this file . and it's use usb host and it's not easy and not why i want. cdc are i have usb to rs232 convertter chip i want to connect stm32 with usb not rs232.'' Here is the library code for USB : www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1743/PF257882 It should contain examples of USB devices (including USB CDC - serial device). The examples are for the range of processors (not specific for your board). (I think the CDC example also mixes USB CDC with the USART)We’re moving the ST Community to a new platform to give you a better and more reliable community experience.