- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I need a little help here.
I use a UART component in a PSoC4 project and I would like to save incoming bytes to RAM without CPU intervention.
I do not know what I am missing but it does not work to me.
I attach a simple example of using DMA and UART RX facing my issue. It can run directly in the Pioneer kit.
The examples for DMA and UART RX use the SCB blocks, which is not an option for my application since the SCBs are reserved for other serial communication blocks. My only option is the UDB UART mode but IU cannot make it work.
Any ideas?
Thank you very much in advance.
Best Regards,
Yiannis
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your macro callback is not as required, so the cb1() is never called.
I changed DMA to Byte -> Byte and Trigger Mode to "Level 4 cycles"
When setting a breakpoint at end of for-loop you see that all data was transferred into the buffer.
Bob
- 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
Thanks Bob.
I tried the modification you suggested and it worked.
I also found why the callback was not called and then I applied the corrections to the rest of the project.
Thanks again.
Best Regards
Yiannis