Hello,
i search all information about USB host on lpc2478stk board , I have tried the NXP application note example .I have of course changed the USB init for my board like :
PINSEL0 &= 0xFCFFFFFF; // 25:24 P0[12] USB_PPWR2
PINSEL0 |= 0x01000000;
PINSEL1 &= 0x03FFFFFF; // 31:30 P0[31] USB_D+2
PINSEL1 |= 0x54000000; // 29:28 P0[30] USB_D-1
// 27:26 P0[29] USB_D+1
PINSEL2 &= 0xF3FFFFFF; // 27:26 P1[13] GPIO USB_UP_LED2
FIO1DIR |= 0x00002000; // P1[13] as output
FIO1SET |= 0x00002000; // Set USB_UP_LED2 Power Off
PINSEL3 &= 0x0FFFFFFF; // 31:30 P1[31] USB_OVRCR2
PINSEL3 |= 0x50000000; // 29:28 P1[30] USB_PWRD2
PINMODE3&= 0xCFFFFFFF; // P1[30] as neither pull up and pull down
PINMODE3|= 0x20000000;
When i put a usb key , interrupt work but enumeration always failed on first reading 8 bytes of device descriptor .
Anyone can help me , please ?
Thanks a lot per advance