- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I setup the transfer using the auto-out mode. Everything the PC sends to the device is transferred using GPIF transfer.
Unfortunately, I need to skip the first packet, transmit 300 packets, skip 301 packet, transmit another 300 packets and so on.
In the ISR_Ep2inout I check the packet content and try to ignore it before the setting the GPIF transfer.
The code:
EP2FIFOCFG = 0x01; // manual mode
SYNCDELAY;
OUTPKTEND = 0X82; // skip packet
SYNCDELAY;
EP2FIFOCFG = 0x11; // back to auto out mode, disable PKTEND zero length send, word ops
SYNCDELAY;
Is it any way to skip exactly one packet from EP2 buffer and preserve others intact?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Meanwhile, I would recommend you to create a tech support case (MyAccount --> MyCases) regarding this. One of our engineer will look into this.
Regards,
sai krishna.