Technical discussions about the TI C55x DSPs (including the c5501, c5502, c5503, c5507, c5509, c5510 and OMAP5910).
Hi Group, I'm trying to send data through a usb in endpoint to a host pc using a linked list. I've been through spru511 backwards and forwards, and have also looked at the csl source, and I'm still not clear on a couple of points. It would save me a lot of experimentation if someone knew the answers. Specifically: 1. There appear to be three places I can put the byte count - as a postTransaction parameter, as the first word in the USB_DataStruct, or as the first word in my data buffer. Do I put the same value in all three places? 2. The data buffer pointer in USB_DataStruct - does it point to the first word (containing the byte count) or to the first word containing data? Thanks, Don
Don, 1. Byte count has to be in the postTransaction parameter. It's not necessary to put the count as the first word of datastruct -- you just leave a word space there and postTransaction will overwrite the word with byte count. 2. It points to the byte count. Good luck Wei --- In c...@yahoogroups.com, donald@... wrote: > > Hi Group, > I'm trying to send data through a usb in endpoint to a host pc using a linked list. I've been through spru511 backwards and forwards, and have also looked at the csl source, and I'm still not clear on a couple of points. It would save me a lot of experimentation if someone knew the answers. Specifically: > 1. There appear to be three places I can put the byte count - as a postTransaction parameter, as the first word in the USB_DataStruct, or as the first word in my data buffer. Do I put the same value in all three places? > 2. The data buffer pointer in USB_DataStruct - does it point to the first word (containing the byte count) or to the first word containing data? > Thanks, Don >