I'm using the FIFOed avalon Uart with HW CTS RTS control flow to send data to a Bluetooth tranceiver at 921Kbps.
The bluetooth tranceiver send the data to a PC through a virtual COM port configured at 921 kbps too.
My problem is that from time to time one byte send by software seems to be sent twice by hardware !!!
I send 1MByte through the Fifoed Uart in high speed so flow control is often used by the bluetooth tranceiver, according to bluetooth datarate..
It seems that when Fifo goes full or goes empty and then goes to in between state, the last or first byte is send twice.
I can see that in the file received : it's almost perfect, but sometines there is a duplicated byte. I can see that all over the file in no coherant manner..
FIFO lenght : 1024
Circular buffer lenght : 4096
Does someone could try to explain what happens ??
Thanxxx