- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm playing around with a psoc4m pioneer kit, and I'm trying to initiate a dma transfer from a buffer to a gpio port data register (CYREG_GPIO_PRT0_DR). I couldn't find any documentation specifically saying this won't work, but I haven't had any luck so far. If I'm not using DMA, I can write directly to the port register no problem. Any thoughts? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Welcome in the forum!
Can you please post your complete project, so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. I think I actually figured it out on my own after playing around for a bit. It looks like I need to configure the transfer for 32 bits, and then the top 24 bits get dropped. Weird, but I guess that's how it works when dma-ing directly into gpio registers?
Sample code is attached if anyone wants to take a look or has any thoughts.