Skip to main content

DA7212 eval board configuration

6 months ago

DA7212 eval board configuration

Posted byerictpeters0 points 4 replies
0 upvotes

I am trying to stream MIC1 and MIC2 single-ended audio over I2S using the DA7212 eval board. I'd like to be able to sample at 8, 11.025 and 16 kHz sample rates in PLL bypass mode.

As a starting point, I tried loading the "USB Record" automated sequence in SmartCanvas with jumpers in the default positions (USB_MCLK, PLL enabled, 48 kHz sample rate). However, I found that no audio stream is generated in slave mode. The SAM3 processor does not appear to be generating any clock outputs on BCLK or WCLK. If I switch to master mode, I get what sounds like white noise in Windows. I noticed that DAI_OFFSET is set to 0x01, so I changed it to 0x00 and the noise clears up. I am able to hear a sine wave tone injected into MICL_P or MICL_N, but I am also getting ~1 Hz periodic impulse noise (clicking/buzzing), only when the tone is present. I tried to eliminate the variable of the Windows driver by routing the input mixers to the output mixers and to headphone output port, and the noise is not present. I also notice that the tone frequency of the headphone output and USB output are not the same, indicating an improper sample rate. However, the measured WCLK and BCLK rates are 48 kHz and 1.536 MHz.

There is a demo script that came with the eval board files called "8kHz ultra low power mode 16bit I2S slave mode no pll". I tried running this with an external 12.288 MHz MCLK, but again, the SAM3 does not generate any clocking signals in slave mode. I get no audio in master mode, until I changed several input and sample rate settings, until eventually I get similar results to those above.

The comments in the script file suggest using an Audio Precision SYS-2722 with PSIA-2722 serial interface adapter. I do have a SYS-2722, but I do not have the PSIA-2722 adapter. I can try using a SPDIF connection to the SYS-2722, but the WM8804 transceiver on the eval board only supports sample rates down to 32 kHz.

Is it possible to configure the SAM3 as master? It is not critical for my application, I just want to see what effect it will have on the noise. Please let me know what configuration I should be using for my application.

6 months ago

erictpeters 0 points

For reference, I am using DA7212 smartcanvas version 1.4.0.3.

6 months ago

JE_Dialog

Hi Eric, sorry for the delay. I thought this was a post from one of my colleauges (also called Eric Peters) - apologies. I'm going to have one of the US team reach out to you and go through this with you ASAP to get back on track. BR John

3 months ago

JohnWoodward 0 points

Can you get somewhere PSIA-2722 adapter? Belive me it is more easier as if you use SPDIF connection where WM8804 transceiver supports sample rates down to 32 kHz which can fail all work.

https://www.achieveessays.com/essay-writer.html

3 months ago

erictpeters 0 points

Just to close the loop on this thread, I did ultimately end up purchasing a PSIA-2722 adapter. After that I was successful in making audio measurements down to 8kHz sample rate. I was never able to resolve my issues with USB audio noise.