- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to read the voice data using smif dma,then playing audio using I2s interface.Can you provide smif dma read and write demo.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This code example does most of what you need:
https://www.cypress.com/documentation/code-examples/ce222221-psoc-6-mcu-voice-recorder
However, it doesn't use DMA to access the SMIF.
You could configure the SMIF to run in XIP mode, so you could use the external memory the same way you use the internal memory. Refer to this code example:
For the DMA part, refer to this code example:
https://www.cypress.com/documentation/code-examples/ce221120-psoc-6-mcu-spi-master
SMIF in XIP + DMA should be very similar to SPI + DMA.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This code example does most of what you need:
https://www.cypress.com/documentation/code-examples/ce222221-psoc-6-mcu-voice-recorder
However, it doesn't use DMA to access the SMIF.
You could configure the SMIF to run in XIP mode, so you could use the external memory the same way you use the internal memory. Refer to this code example:
For the DMA part, refer to this code example:
https://www.cypress.com/documentation/code-examples/ce221120-psoc-6-mcu-spi-master
SMIF in XIP + DMA should be very similar to SPI + DMA.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi RodofoG_11,
Your reply is very helpful to me,Thanks.