You are here

Behavior of CY_U3P_DMA_TYPE_AUTO_SIGNAL | Cypress Semiconductor


Summary: 1 Reply, Latest post by scutifer on 10 Sep 2014 03:22 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
dennisjm's picture
33 posts

 I have a callback to count Tx buffers on slfifo transactions.   In this mode, we're just interested in a quick count so we can set a flag when the transaction is done.

What I find however, is that the callback doesn't get called as often as it should.  e.g, I transfer 2048 bytes and each buffer is 512 bytes.  I'll see the count end up 512 or 1024 but probably not 2048 even though the buffer was transferred successfully.

So the question is.. isn't the AUTO_SIGNAL mode supposed to notify you for EVERY buffer as long as you're keeping up?  We're not doing much more than adding the buffer count to a total so it doesn't seem like keeping up would be the issue.

We're still on api 1.2.3 since I have other issues with 1.3.1 that I haven't overcome yet.  I'm not sure if that would make a difference.

scutifer's picture
Cypress Employee
134 posts

 Its possible that a PROD_EVENT was sent to the CPU just when either a previous event was being serviced or that the CPU is doing something else. You can try sending larger chunks of data to reduce the frequency of these events.


You can also test in Release mode and see if that helps.

Log in to post new comments.