Announcements
IMPORTANT: Cypress Developer Community is transitioning on October 20th. To learn more and be prepared for this change, check out our latest announcement.
cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 6 MCU

bili_4541431
New Contributor

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.

0 Likes
1 Solution
RodolfoGL
Employee

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:

https://www.cypress.com/documentation/code-examples/ce224073-spi-f-ram-access-using-psoc-6-mcu-smif-...

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.

View solution in original post

0 Likes
2 Replies
RodolfoGL
Employee

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:

https://www.cypress.com/documentation/code-examples/ce224073-spi-f-ram-access-using-psoc-6-mcu-smif-...

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.

View solution in original post

0 Likes
bili_4541431
New Contributor

Hi RodofoG_11,

     Your reply is very helpful to me,Thanks.

0 Likes
Top labels