Hi,
I have designed a pcb with MAX3232 and DB9 male connector to use the UART pins of the C5505 usb stick. I have tested the UART by connecting the interfacing pcb to the serial port of a laptop with a cross cable. All three uart examples, using DMA, interrupt and polling, given in the CSL, run perfectly with hyperterminal.
Now I need to send AT commands from the stick to a SIM300 GPRS modem. I have separately tested the GPRS modem, sending commands to it from the hyperterminal. It responds perfectly, can send sms and data.
I have attached a jpg image to show how I interface the usb stick with the SIM300 GPRS modem with a straight cable. I have also attached a .txt (changed extension from .c to .txt to enable file upload in forum). This .c file is a modification of the polling example c file of the CSL.
If I test this program with hyperterminal, it prints "AT" on the hyperterminal and when I type OK, displays that on CCS console. But when used with modem, this program sometimes gives response and sometimes doesn't. In the latter case, the output is as follows