usb multiple packet transmission problem

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi all,

I configured xmc4500 in a device mode. And i'm using user interface tool(UI) for transmitting data to usb device(xmc4500).

i configured txfifo[1] of 512bytes, global rxfifo of 512 bytes.

For these i also configured endpoints.
TX-EP[1] is of 512bytes and direction is IN(device to host).

RX-EP[2] is of 512bytes and direction is host to device[OUT].

so my question is 1-> when i transmit data of 512 bytes,my device firmware needs to receive 512 bytes or 64 bytes?
bcoz in mutliple packet transfer when we send morethan 64bytes of data,it is splitted into 64byte packets.

so within single read or write call,cant i transmit or recive 512 bytes.
can anyone suggest me how to implement it.
0 Likes
0 Replies