Author Topic: USB for LPCXXXX  (Read 25887 times)

Offline vini

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: USB for LPCXXXX
« Reply #15 on: January 06, 2011, 03:36:29 PM »
Is there any problem if for USB Device , if we use USB type 'A' connector , instead of usb type 'B' connector

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3036
    • View Profile
    • uTasker
Re: USB for LPCXXXX
« Reply #16 on: January 07, 2011, 01:54:44 PM »
Hi

According to USB2.0 specification the host must use a series "A" receptical and a device must use a series "B" receptical. This means, to respect the specifcation (and ensure inter-operability and avoid risk of damage) the device should not use an "A" receptical.

A low speed device should also not have any receptical - it requires that the cable is fixed (like a mouse).

Regards

Mark

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3036
    • View Profile
    • uTasker
Re: USB for LPCXXXX
« Reply #17 on: January 31, 2011, 04:43:03 PM »
Hi All

Following is the link to the present LPC2xxx Beta containing USB device (in interrupt mode and not [yet] DMA mode):

The following Beta version includes USB device support as well as SDIO controller for the utFAT module.
The password is the same as for the official release. The project is configured for the Olimex 2478 board with TFT where it will show a slide show in the TFT of images in the directors "pics" on the SD card (when inserted). When no SD card is inserted it will run a graphical demo.
http://www.uTasker.com/software/V1.4/uTaskerV1.4-4B_LPC2XXX.zip [9.9.2010]
When USB is activated (in config.h) it will allow the SD card to appear as a disk to the PC. The USB interface is running in interrupt mode whereby the SDIO is on DMA mode. The demo can be seen here with some details of the SDIO configuration: http://www.youtube.com/watch?v=5dD2cZ8FEqo

Regards

Mark