What timeout xferdata have?

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

cross mob
Anonymous
Not applicable

 Hi

   

in slave fifo bulk mode, if read is faster than write to fifo buffer when xferdata is start,

   

How much have timeout ? (that is maybe stall time). 

   

If i dont write under 512 byte, xferdata is stall forever?

0 Likes
1 Reply
Anonymous
Not applicable
        Hi, Device (FX2LP) NAKs the IN requests whenever it does not have any data to send. Whenever the FPGA connected to GPIF writes some data then it will respond with that data. Otherwise, it will continuously NAK the IN requests. Coming to the timeout value, Xferdata function returns failure if it does not receive any data with in that time out value. You can change this parameter before calling Xferdata function. Thanks, sai krishna.   
0 Likes