| Electronics > Projects, Designs, and Technical Stuff |
| What do i need for this DAC ? |
| (1/3) > >> |
| Jan Audio:
Hi, i have this DAC for I2S : WM8521 The MCU i use is : PIC32MX170F256B I thought i generate some MCC, thing is MCC dont has I2S codes, anybody know what to do ? Now i read the manual : The audio interface supports I2S, Right Justified and DSP digital audio formats. What is the difference ?, google dont know. Dont i need more external components for this DAC ?, can i hook it direct to the MCU nothing more needed ? Ofcourse i also need some capacitors, this DAC is SOIC package, if i buy a 100n SOIC, does it fit the pins ?, maybe i can solder it on the smd-converter then, close to the DAC. I saw this PIC32MX170F256B has special audio codec I2S, so i got this one. Maybe a SPI DAC is better or simpler ?, what is the big difference ?, exept that MCC dont has I2S code, then i could buy any PIC32, all has SPI on board. This DAC is also not being made no more, newer smaller DACs are there now, you think this SOIC DAC is different with less quality then the newer ones ?, is is it only smaller package. thanks in advance |
| alex89:
Did you read the DAC datasheet ? |
| Jan Audio:
Yes, did i miss something ? |
| SiliconWizard:
Well, they suggest a typical application schematic, so you'll see there which components you need around this DAC. Mostly a few passive components. As for more recent DACs of this kind, you may take a look at Cirrus Logic, for instance this line: https://www.cirrus.com/products/cs4334-35-38-39/ Regarding using I2S DACs with a PIC32, you could start here: http://ww1.microchip.com/downloads/en/AppNotes/01422A.pdf |
| Buriedcode:
Setting up the SPI module for I2S on the PIC32 (or PIC24) is pretty straight forward, with only a handful of config registers. Master is much easier than slave for timing reasons. It also has a "clock reference module" for generating a wide range of clocks for I2S (so you dont' have to use specific crystal frequencies for standard sampling rates, like 12.288MHz for 48ksps, you can use 16MHz). As for DAC's, some of the older ones are just as good as modern ones - at least in terms of "audio quality" and even if the DAC you have doesn't satisfy you, you can just use that to get the system working, then upgrade to a newer one because almost all DACs support I2S, and only require a few caps. The IC package has little to do with it except for the practical problems of populating the PCB. It sounds like you're not even sure about how to use the PIC32 and DAC given you are asking how to hook it all up. How many projects have you done on the PIC32? |
| Navigation |
| Message Index |
| Next page |