cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

zqli_4003376
New Contributor

Hi,

I got continued "CYU3P_PIB_ERR_THR1_RD_UNDERRUN" flag when wrote about 200K data to FPGA with below setting:

GPIF:32bit

DMA buffer size:16384

DMA count:4

host write 16384 every time

Could U help to explain this?

0 Likes
3 Replies
alamandaa_16
Moderator
Moderator

Hi,

If a read access is performed on an empty buffer, a buffer under-run error will occur.

Could you please explain purpose of FLAG-A and FLAG-B?

Regards,

Anil Srinivas.

0 Likes
zqli_4003376
New Contributor

Hi,

FLAGA for read ACK, FLAG for write ACK, A0 for read ready, A1 for read end.

These signal are controlled by external processor.

0 Likes
alamandaa_16
Moderator
Moderator

Hi,

State transition equations of GPIF state machine are fine.

Please try with write multilple of 16KB data(ex-208KB) to FPGA.

Regards,

Anil Srinivas.

0 Likes