- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
Solved! Go to Solution.
- Tags:
- dma
- psoc 6 dma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Can you please elaborate on the requirement? Please share the project if possible
Thanks and regards
Harigovind
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.