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

cross mob
user_4495571
Level 2
Level 2
5 replies posted 10 sign-ins 5 questions asked

Hi,

what is the behaviour of DMA in low power modes?

My DMA is working but does not restart after wakeup from hibernate.

Reconfiguring does not help.

Greets,

Joerg

0 Likes
1 Solution
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hi @user_4495571 

The DMA is available only in Active and Alternate active mode. It is unavailable in Hibernate mode.

What I would recommend is to disable a DMA channel and free the TD before moving to hibernate mode. Once you come out of hibernate mode the device you can enable the DMA channel and reallocate the TD for it.

There are a DMA appnote for PSoC 5LP device that provides you pointers for debugging DMA related issues: 

PSoC® 3 and PSoC 5 - Getting Started with DMA
PSoC® 3 and PSoC 5LP Advanced DMA Topics
PSoC® 3 and PSoC 5LP Low-Power Modes and Power Reduction Techniques

If this does not help, please attach your PSoC project for us to review.

Best Regards
Ekta

View solution in original post

0 Likes
2 Replies
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hi @user_4495571 

The DMA is available only in Active and Alternate active mode. It is unavailable in Hibernate mode.

What I would recommend is to disable a DMA channel and free the TD before moving to hibernate mode. Once you come out of hibernate mode the device you can enable the DMA channel and reallocate the TD for it.

There are a DMA appnote for PSoC 5LP device that provides you pointers for debugging DMA related issues: 

PSoC® 3 and PSoC 5 - Getting Started with DMA
PSoC® 3 and PSoC 5LP Advanced DMA Topics
PSoC® 3 and PSoC 5LP Low-Power Modes and Power Reduction Techniques

If this does not help, please attach your PSoC project for us to review.

Best Regards
Ekta

0 Likes
user_4495571
Level 2
Level 2
5 replies posted 10 sign-ins 5 questions asked

Hi Ekta,

thanks for your reply.

It seems like it was more of a problem reintializing the DMA target (PWM) properly .

No DMA starts after wakeup with Enable() properly.

Greets,

Joerg

0 Likes