I want to make data trigger by External device

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

cross mob
Anonymous
Not applicable

Hi

This is first time to make USB device by FX3.

I make a board that create A/D data on FPGA and send though FX3 to PC.

I succeed to make a data on FPGA, and receive data from FPGA.

but, transfer trigger is made by PC host software.

So if i want to receive data, always click the Receive button on my C# host program.

I want to make send trigger signal by External device, when A/D conversion is ended.

(The time interval between each A/D conversion is not same. ) .

Is it possible with interrupt endpoint?

If can, how can i detect the trigger signal from external device on PC Software?

0 Likes
1 Solution

Park,

There is no way to trigger the host from the device. If you even use interrupt endpoint, the host needs to poll the interrupt endpoint.

Please refer the USB Spec - Interrupt endpoint. (Or this link: https://www.beyondlogic.org/usbnutshell/usb4.shtml#Interrupt )

For example in USB 2.0: The host must send the IN Tokens over the interrupt or bulk endpoint, then only the device can respond to it with either DATA Packet / ACK/ NACK/ STALL.

View solution in original post

0 Likes
2 Replies
KandlaguntaR_36
Moderator
Moderator
Moderator
25 solutions authored 10 solutions authored 5 solutions authored

Can you explain your query through a block diagram?

0 Likes

Park,

There is no way to trigger the host from the device. If you even use interrupt endpoint, the host needs to poll the interrupt endpoint.

Please refer the USB Spec - Interrupt endpoint. (Or this link: https://www.beyondlogic.org/usbnutshell/usb4.shtml#Interrupt )

For example in USB 2.0: The host must send the IN Tokens over the interrupt or bulk endpoint, then only the device can respond to it with either DATA Packet / ACK/ NACK/ STALL.

0 Likes