PSOC63 SMIF DMA DEMO

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
bili_4541431
Level 1
Level 1

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
Employee
250 solutions authored 250 sign-ins 5 comments on KBA

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
Employee
250 solutions authored 250 sign-ins 5 comments on KBA

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.

0 Likes

Hi RodofoG_11,

     Your reply is very helpful to me,Thanks.

0 Likes