Skip to main content
Visitor II
May 10, 2006
Question

IN EndPoint Interrupt

  • May 10, 2006
  • 2 replies
  • 758 views
Posted on May 10, 2006 at 08:24

IN EndPoint Interrupt

    This topic has been closed for replies.

    2 replies

    Visitor II
    May 5, 2006
    Posted on May 05, 2006 at 08:05

    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,

    Visitor II
    May 10, 2006
    Posted on May 10, 2006 at 08:24

    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.