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

cross mob
tinic_3847421
Level 1
Level 1
First like given

Hello!

I'm trying to perform two DMA transfers at the same time. So I want to make use of the two different DMA controllers. Is there a way to configure the DMA controller to use for specific tranfer in PSoC Creator?

So far I'm only able to achieve this by manually editing the generated header file.

Grettings!

0 Likes
1 Solution
RodolfoGL
Employee
Employee
250 solutions authored 250 sign-ins 5 comments on KBA

You can add a control file in your project, then write the following line:

attribute placement_force of \MyDMA:DW\ : label is "DMA(0,channel_id)";

Substitute MyDMA with the name assigned to the DMA component. channel_id is calculated as:

channel_id = C * channels_per_controller + N

If you are using PSoC 6-1M, you can set channel_id = 16. It will be placed in the first channel of DW1.

View solution in original post

2 Replies
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi

Can you please elaborate on the requirement? Please share the project if possible

Thanks and regards

Harigovind

0 Likes
RodolfoGL
Employee
Employee
250 solutions authored 250 sign-ins 5 comments on KBA

You can add a control file in your project, then write the following line:

attribute placement_force of \MyDMA:DW\ : label is "DMA(0,channel_id)";

Substitute MyDMA with the name assigned to the DMA component. channel_id is calculated as:

channel_id = C * channels_per_controller + N

If you are using PSoC 6-1M, you can set channel_id = 16. It will be placed in the first channel of DW1.