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

cross mob
chwa_1570756
Level 4
Level 4
25 sign-ins 25 replies posted 10 replies posted

Hello,

I need to know IDAC's registers in detail when I use DMA operation, but I can not find those registers description in ralated document, where should I get it?

Regards,

Chris

1 Solution
4 Replies
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

You can use the DIDAC10 custom component as a reference. It exemplifies DMA transfer between RAM and PSoC4200 registers.

DIDAC10: 10-bit dithered current DAC for PSoC4  

lock attach
Attachments are accessible only for community members.

I forgot to mention that registers description can be found in Registers TRM (attached).

There is also example of audio playback using RAM to DMA transfer

PSoC4 Audio Playback using DMA 

 

0 Likes

Hello,

This example is useful that almost meet my project, there is only one question, my original data file is larger than 65536 bytes, that means I have to enable the DMA1 descriptor more times,  it also generated audio noise at every DMA1 validation, I try to use two descriptors to get a seamless audio without noise, but it not worked, how should I set the DMA configuration and deal with data buffer?

regards,

Chris

0 Likes

It appears I posted new project in the other thread

0 Likes