Other Parts Discussed in Thread: TAS6424, TAS6424E
Tool/software:
Having a difficult time getting coordinated to reading these values.
I set my data to the amp. as 16bit for each channel in I2S mode at 48KHz sample rate
I set my MCU code to read I2S from SDOUT with the same settings then start the stream
out going from the MCU to the amp SDIN pin. I hear my tone with no errors, great.
I am using a 4xBTL mode, 48Ksample rate, 16 bits per channel.
I get data and it doesn't make sense. I also setup with PP3 and did get good data on
all readings I'm looking for. Now it's time for my code to setup the amp. to do the same.
I logged I2C setups going to the amp from PP3 which has more than I need to do perhaps.
I am guessing that the SDOUT data MUST be the same SCKL, FSYNC as SDIN so the
data would have to match in size? I.E. I'm sending ch1=16bit, ch2=16bit, this should be
the size of the returning data on SDOUT data right?
Any offsets would 'push' valid data bits out of the FSYNC (ch1,ch2) framing. So I have set
he registers 0x27 to 0x2F to 0's to not have an offset as I don't use any on SDIN.
My FSYNC is 48K as measured and SCLK has 16 cycles as it should in 1/2 cycle of FSYNC.
So I am expected to see read back Vpredict and Isense in the same framing.
UPDATE: I just noticed register 0x26 was set for 24 bits, I missed this one. I changed to
setting to 0x02 and it's better, still sort of out of kilter but getting there.
What gives, any suggestions or help, great!
Marc Y.