- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
In my project I need a DMA to write values to a Timer counter register (according to some SW logic).
When I implement this using a UDB-based Timer - it works.
When I changed the Timer to Fixed - it doesn't.
Is there some limitation regarding DMA and Fixed peripherals?
Thanks.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please attach the project in which you are observing the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unfortunately I can't do this. But I guess it's easy to reproduce. Just create a project with DMA and a Fixed Timer, and write some basic logic that writes to Timer's counter register via DMA.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, Michael but I think the best way for you to get an answer to your question, is that YOU create the reproduction and post the project. That way, many details are included that might be of importance. Now we don't even know which processor you use, which PSoc Creator Version, wich Component Versions etcetera
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you look at the WriteCounter() API description you will see that altering the counter value requires the component to be stopped to function properly.
Very interesting is that the FF version does not allow for a direct write to the counter. Probably you are acting a bit (or byte 😉 off limits here.
Bob