The USB host example sent with the kit is only for reading files not sending/receiving serial data. I searched Microchip, forums and google to no avail. As I am sure many of you know the microchip USB libraries are notoriously difficult and I have been unable to make any measurable progress. I tried the microchip USB configuration utility and got errors plus no better understanding of how it works. An example, even a simple byte echo program with the PIC being the HOST should be enough to get me going.
Revision: Let me clear things up a little. Big picture - I am attempting to use the PIC24F starter kit to talk to a TRF7960A EVM board from TI. The TRF7960 board is an RFID reader that communicates via a USB port. I need to be able to send it string commands such as "0109000304F0000000" and then receive similar messages back from the TRF7960. This is why I need to be able to have the PIC24F operate as a host and send the serial data. I likely use a poor choice of words when I mentioned 'serial emulator' but I wasn't sure what else to call it. Hope this helps...
Revision2: The PIC is the master. I will be initializing the RFID reader on power up. When RFID tags are within range the RFID reader will asynchronously send the data over the USB.The data will be a string representing the UID from the RFID chip. The program will have to detect the USB traffic and interrupt to process it. I suppose I could poll for the data but I worry that I could miss it. I will then take that data and decide what to do based on the other inputs. It would be great if the example put the data on the LCD so I could verify that step is working correctly. The PIC will also be reading other inputs such as button pushes, PWM and A/D channels. I will collect all the data then output it over the SPI or UART to a radio at periodic intervals.
Once again...Many thanks.