2006-05-09 11:24 PM
2006-05-04 11:05 PM
Hi to all,
Is it possible, for STR71x, to capture an USB interrupt when a IN EP request come? In other words, is it possible to call a USB interrupt just after a Token Packet and before Data Packet occurs? I would trow an interrupt before to CTR bit of USB Control Register is set, that is, before to data transfer from STR7 to PC starts. This because i would prepare data to send on IN EndPoint Interrupt Routine. Thanks to all,2006-05-09 11:24 PM
Hi,
In control, interrupt or bulk transfer mode, With the STR71x µc, the interruption occurs only after a correct achievement of the transaction. In your case you can prepare the first data to send (for example in the USB reset interruption) and after each correct transfer provide the next data to send to the PC Host.