This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Running aic3254 in master mode

 Hi all,

 I'm trying to run aic3254 for different sampling rates in master mode. When I loopback it without minidsp it runs ok, but when I compile it in PPS (minidsp active) only 8khz sf works correctly. Is it due to minidsp (clock) limitations?

Thanks

  • Metusa,

    Some functions only work at 8 kHz sampling.

    Can you describe exactly what you're trying to do, and the results you're getting?

    -d2

  • Hi Don,

    Thanks for quick replying. I try to use AGC and NR utility of miniDSP. I use evm5505 board. Firstly, I used codec in slave mode and it run perfectly at any samling frequency. But when in master mode only 8khz sampling rate is ok. Even I loopback, I hear only noise for sampling frequency higher than 8.  This is my trial in aic3254 master mode:

    1- Loopback with minidsp active. Result is ok only for 8.

    2- Loopback without minidsp. Works ok at any sr.

    Thanks

  • Hello,

    You need to make sure that the whole clock tree is configured properly. For instance, when doing 16ksps, you need to make sure to re-adjust the BCLK divider to ensure that there are at least 32 (or 64 for 32 bit or...) BCLK cycles per WCLK. Take a look at the Design and Configuration Guide app note to make sure you have everything set up correctly for PLL settings as well. For instance, MDAC*DOSR >= IDAC, etc.

    Regards,

    J-

     

  • Hi,

    Ok. Now it works. I didn't notice that, because I havent seen any constraint about DOSR and IDAC neither in 3254 datasheet nor in configuration guide.

    Thanks for all