This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Keyboard not detected in LCDK C6748

Other Parts Discussed in Thread: OMAPL138

Hello !!

I tested the example usb_host_kb.c :  given in :

C:\Program Files\Texas Instruments\pdk_C6748_2_0_0_0\C6748_StarterWare_1_20_03_03\examples\lcdkC6748\usb_host_kb

The project run without issues : I can write on screen however when i plug the keyboard i have no power on it, It requires 5V and 100 mA and the power on the LCDK is 5V and 3A. Normally i should have power on it, I have no things else connected to the LCDK.

Why the keyboard ib not detected ??
Think you very much

  • Hi,

    Could you please elaborate your problem ?

    Which connector (J2 or J5)  are you using for connecting the keyboard on OMAPL138 LCDK board ?

  • Hello !!

    I have before a problem to write on LCD. Now i can do this using the example given in startweare for LCDK. It works. 

    the example as described by TI :

    This example application demonstrates how to support a USB keyboard
    //! attached to the evaluation kit board.  The display will show if a keyboard
    //! is currently connected and the current state of the Caps Lock key on the
    //! keyboard that is connected on the bottom status area of the screen.
    //! Pressing any keys on the keyboard will cause them to be printed on the
    //! screen and to be sent out the UART at 115200 baud with no parity, 8 bits
    //! and 1 stop bit.  Any keyboard that supports the USB HID bios protocol
    //! should work with this demo application.

     

    I would know how  to connect the keyboard on the LCDK. When i connect it i have no power in the keyboard. So i see a message in the screen that show that the device is not connected.

     

    I use the J5 connector 

    Think you very much

  • Hi Anouini,

    In your figure the cables are connected on both the ports. That is USB - OTG port as well as USB 1.1 port.

    To which port the keyboard is connected? If you use the USB-OTG port, you have to connect a jumper to act as a Host port...

    If you connect to the USB Host 1.1 port, jumper is not required. Once the Host port detects a device, it starts supplying power to the device.

     

    Regards,

    Shankari

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------

  • Hello i use this port :

    It the USB Host 1.1 :

    Think you !!

  • Hi Anouini,

    As Shankari replied,

    Have you tried to connect the USB keyboard in USB2.0 OTG port ?

    This example only work with USB2.0 and not USB1.1 port. So, you have to connect (short) jumper in JP1 port (near to USB OTG port) because the USB ID pin should be grounded while work with USB forced HOST mode (keyboard)

  • Hi Anouini,

    We are able to run the USB_host keyboard example successfully and tested that the typed letters through keyboard are getting displayed over the LCD monitor connected through VGA port.

    Hardware connection details and steps to get the output:

    On OMAPL138 LCDK board:-

    1. Connect jumper to JP1

    2. Connect the keyboard into USB-OTG port 2.0

    3. Connect the LCD monitor into VGA port.

    4. Connect the JTAG emulator into J6 connector.

    5. Run the example.

    6. On the monitor, you will see the text "USB host keyboard"

    7. When you type the letters using the keyboard, you will observe those getting displayed on monitor.

    TRY exactly the same steps, definitely, you will get it.

    Best Regards,

    Shankari

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------

  • Hello !!

    Ok think you very much.

    The thread is answred