What is the impact of hitting a breakpoint upon ongoing DMA operations?

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

cross mob
JoWi_3984961
Level 4
Level 4
First like received First like given

PSoC 4200L

0 Likes
1 Solution
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello

While debugging, DMA operation is happening in the background i.e. even when CPU is halted DMA keeps transferring as long as it is enabled and configured to transfer stuff.

Thanks and regards

Harigovind

View solution in original post

0 Likes
3 Replies
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello

While debugging, DMA operation is happening in the background i.e. even when CPU is halted DMA keeps transferring as long as it is enabled and configured to transfer stuff.

Thanks and regards

Harigovind

0 Likes

It seems correct. No option to stop DMA on BP. So, what does a CySoftwareReset() do to DMA? Also nothing?

0 Likes
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi jowh_2148211

The CySoftwareReset() will reset the DMA component. It has to be configured to transfer again.

CySoftwareReset will stop execution and reset the device to start execution from the beginning of the program.

Thanks and regards

Harigovind