PSoC5LP : Timing of the DMA trq terminal

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

cross mob
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

Hi,

We are considering DMA for PSoC5LP.

We would like to confirm at what timing the positive edge of tqp trq becomes valid.

Could you tell us the detailed timing when the positive edge of trq becomes effective?

The data sheet of DMA componet does not include detailed timings.

Regards,

0 Likes
1 Solution

A short positive impulse trq will allow you to interrupt the transmission if it is already active but for too long long and should be interrupted.

The nrq signal will be generated immediately after trq.

Perhaps this is useful for hardware control, but I could not find a use for this. My comments and link to an my example.

View solution in original post

5 Replies
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

MaMi,

DMA termination happens only if trq terminal (terminate request) is high during drq (DMA request) rising edge. To be honest, it is not very useful.

/odissey1

Screenshot_20200701-032701.png

MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

Odissey1-san,

Thank you for your reply.

The following description is included in the data sheet.

pastedImage_0.png

I understand that the meaning of "This signal is only used when the channel is trying to transfer data. A positive edge on this line is ignored at other times." is valid during the rising edge of the drq pin.

The DMA started the first transfer, and interpreted the subsequent transfer as a burst transfer, generating the positive edge of trq during that time, but the DMA did not end at all.

Regards,

0 Likes
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

Hi,

Let us confirm for only one point.

(a) "The positive edge of trq is valid when the drq pin is at H level" and the DMA ends.

(b) “When the trq pin is H level, the positive edge of drq is valid” and DMA ends.
(c) Both ends DMA

I think it corresponds to (a) in your explanation,
Which action is correct?

Regards,

0 Likes

A short positive impulse trq will allow you to interrupt the transmission if it is already active but for too long long and should be interrupted.

The nrq signal will be generated immediately after trq.

Perhaps this is useful for hardware control, but I could not find a use for this. My comments and link to an my example.

MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

Thank you for your reply.

I understood that it is difficult to stop DMA at the desired timing by hardware.

Regards,

0 Likes