- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, I'm using two DMA channels to transfer data from the filter and ADC this to RAM. Have problems in that the filter is not sent me the signal to activate the second DMA
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You did not increment the DMA address for the sram which is not a peripheral.
You isr_done will trigger 48000 times a second which will be too much, did you place it wrong?
Declare DMA_done as "volatile"
You restart the AD conversion, but you do not restart the DMAs
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You may not increase destination or source address for peripherals. Peripheral DMA will read from a register which has a fixed address.
adc_muestra is declared as uint8, but should be int16.
There is a mismatch between ADC samples/s (48000) and filter sps 1000k samples/s, should be the same.
bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I did the upgrade but no result
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
... and your actual workspace bundle... ?
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
You did not increment the DMA address for the sram which is not a peripheral.
You isr_done will trigger 48000 times a second which will be too much, did you place it wrong?
Declare DMA_done as "volatile"
You restart the AD conversion, but you do not restart the DMAs
Bob