AnsweredAssumed Answered

AD74111 Data

Question asked by SEBADESIGN on Nov 6, 2016
Latest reply on Feb 26, 2018 by Pra@5456

Hi, 

 

I have developed a board using the AD74111 and am  using it in 16Bit Data mode, see the setup registers below:

 

The problem I seem to be having is that every second word is 32,255 (0x7DFF) This is the data that I get from my 127 word buffer when recording: 

Details:{32255, 57, 32255, 41, 32255, 49, 32255, 47, 120, 32255, 119, 32255, 130, 32255, 122, 32255, 119, 32255, 125, 32255, 122, 32255, 120, 32255, 104, 32255, 103, 32255, 82, 32255, 97, 32255, 101, 32255, 84, 32255, 83, 32255, 90, 32255, 84, 32255, 102, 32255, 117, 32255, 98, 32255, 76, 32255, 80, 32255, 64, 32255, 63, 32255, 67, 32255, 65, 32255, 51, 32255, 63, 32255, 86, 32255, 85, 32255, 97, 32255, 93, 32255, 82, 32255, 90, 32255, 109, 32255, 107, 32255, 92, 32255, 101, 32255, 103, 32255, 96, 32255, 107, 32255, 110, 32255, 107, 32255, 112, 32255, 120, 32255, 102, 32255, 111, 32255, 104, 32255, 63, 32255, 91, 32255, 98, 32255, 85, 32255, 92, 32255, 78, 32255, 73, 32255, 81, 32255, 80, 32255, 70, 32255, 79, 32255, 74, 32255}

putting a scope on the DOUT pin verifies this is true.

 

The signal is (about 0.6Vp-p) on the Mic pin

 

The setup registers are as follows:

#define CODECA1 0b1000000001111100
#define CODECB1 0b1000100000000000
#define CODECC1 0b1001000000000000
#define CODECD1 0b1001100000000000
#define CODECE1 0b1010000000000000
#define CODECF1 0b0010100000000000
#define CODECG1 0b1011001000000000
#define CODECN1 0b0000000000000000

 

setup_audio[0] = CODECA1;
setup_audio[1] = CODECA1;
setup_audio[2] = CODECB1;
setup_audio[3] = CODECB1;
setup_audio[4] = CODECC1;
setup_audio[5] = CODECC1;
setup_audio[6] = CODECE1;
setup_audio[7] = CODECE1;
setup_audio[8] = CODECG1;
setup_audio[9] = CODECG1;
setup_audio[10] = CODECD1;
setup_audio[11] = CODECD1;
setup_audio[12] = 0;
setup_audio[13] = 0;
setup_audio[14] = 0;
setup_audio[15] = 0;

 

When I start the unit it is in Slave mode (DIN is high), I then send the setup registers in 16bit Data mode (Mixed mode is not supported by my processor, hence the reason I send Reg D last.)

 

I get audio coming out when I play the data back, however it is very digitized. do you have a solution? why is the data like this?

 

I have checked the MCLOCK and BCLOCK and they correctly timed however the BCLOCK is slightly lagged by 20%.

 

Kind regards,

Steve

Outcomes