Receive "CYU3P_PIB_ERR_THR1_RD_UNDERRUN" when write to FPGA

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

cross mob
lock attach
Attachments are accessible only for community members.
zqli_4003376
Level 1
Level 1

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
Moderator
10 likes received First like received

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
Level 1
Level 1

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

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