FX2LP-CY7C68013A sourcing packets into isochronous autoin stream!

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

cross mob
DaBo_288066
Level 2
Level 2

Hi all,

   

I'm trying to realize this design found on TRM, to source a packet from firmware with autoin and isochronous transfer (in order to create an header).  Unfortunately only a small part of the firmware-created packets are sent.

   

Have you got some clue to get this design working?

   
while( !( EP68FIFOFLGS & 0x20 ) ) { // EP8EF=0, when buffer not empty ; // wait ‘til host takes entire FIFO data } FIFORESET = 0x80; // initiate the “source packet” sequence SYNCDELAY; FIFORESET = 0x06; SYNCDELAY; FIFORESET = 0x00; EP8FIFOBUF[ 0 ] = 0x02; // <STX>, packet start of text msg EP8FIFOBUF[ 1 ] = 0x06; // <ACK> EP8FIFOBUF[ 2 ] = 0x07; // <HEARTBEAT> EP8FIFOBUF[ 3 ] = 0x03; // <ETX>, packet end of text msg SYNCDELAY; EP8BCH = 0x00; SYNCDELAY; EP8BCL = 0x04; // pass newly-sourced buffer on to host   Thanks in advance.
0 Likes
0 Replies