Skip to main content
st24
Associate
November 17, 2009
Question

Usb endpoint

  • November 17, 2009
  • 2 replies
  • 726 views
Posted on November 17, 2009 at 10:34

Usb endpoint

    This topic has been closed for replies.

    2 replies

    st24
    st24Author
    Associate
    May 17, 2011
    Posted on May 17, 2011 at 13:29

    I've got it working but i've got an endpoint with 2 bytes and i want to send for example text. I want to have a lager packet size. Where do i need to change that, cause when i change:

    ''0x02, /* wMaxPacketSize: 2 Bytes max */''

    to 0x08 then i can't receive anymore.

    st24
    st24Author
    Associate
    May 17, 2011
    Posted on May 17, 2011 at 13:29

    For school we need to create an application which can connect to a stm32f103 microcontroller. I've downloaded the usb hid test programs and tried the usb CUSTOM_HID project. The computer recognised the hid but the program is not realy working on my test board(olimex STM32-103STK).

    So i wanted to create a simple endpoint which can send a bit to the computer but i don't understand what to put in the CustomHID_ReportDescriptor. Is there somewhere a description what all these items mean or can anyone give an example?

    An other thing is a program om the computer to test a hid device, is there a good application?