AnsweredAssumed Answered

Nucleo-F103RB + USB

Question asked by lemos.hugo on Nov 3, 2014
Latest reply on Nov 6, 2014 by lemos.hugo
Hello

I have a board Nucleo-F103RB. 
I cut a usb cable and connect:
D+ to PA11 
D- to PA12 
GND to GND pin in morpho headers 
VCC to E5V pin in morpho headers

I am using the libraries. STM32_USB-FS-Device_Lib_V4.0.0. 
And i want make a HID dvice so I copi the source code to my IAR proyect

I use this functions in main function.
  Set_System();
  USB_Interrupts_Config();
  Set_USBClock();
  USB_Init();
    while (1)
    {
    }


But it don't make nothing the PC don't recog

Compile and execute but it don't make nothing the PC does not identify the a new device connected.


What am I making bad?
I must instal first the PC driver?
Where can i find a example code?
Some one can help me?


Best regards

Outcomes