[Fx2lib-devel] Sourcing slave FIFO packets
Status: Beta
Brought to you by:
mulicheng
From: Chris M. <fx...@m3...> - 2011-02-26 18:59:56
|
Has anyone managed to get an FX2 firmware to compose a packet from scratch (i.e not originating from the USB host) and commit it to a slave FIFO? The TRM seems to suggest it's only necessary to disable AUTOOUT, write the packet to the endpoint buffer (e.g EP6FIFOBUF) and writing the packet length to EP6BCH/EP6BCL, but I can't get it to work. See http://bit.ly/hQxIR1 for example code (composes a packet to send to EP6's FIFO when a certain control request is received). Chris |