I am trying to connect a hid joystick to the LPC1768 using the Blueboard. I used the usb host lite example that was with the board. I got it to partially work but when I tried to modify the program to get the descriptor of the flash drive, I couldn’t make heads or tales of the example. I was wondering If anybody could point me in the right direction or had a better example.
I’ve made some progress and I found the main failure point. When the program goes to send a packet it checks “HOST_TDControlStatus” which is equal to 5 but should be equal to 0. Does anybody know why it would be equal to 5? “HOST_TDControlStatus” is equal to (TDHead->Control >> 28) & 0xf but what is it checking? Any information would be of great help.