Hello,
I am using the platform 5509A DSK, TLV320AIC23B as the codec. I Selected LINEIN as the input and PHONEOUT as the output. Now, I use 16bits for TLV320AIC23B data word length and 32KHz for sampling rate. There is something not correct I think in the digital data read from the ADC. For illustrating the problem more clearly, I use the 1KHz sinewave as the input. The figures in the attachment is the result of the ADC I get and view in the CCS.
Illustration for the figures:
Figure1: Magatitude 140mV, 16bits signed sampled result
Figure2: Magatitude 140mV, 16bits unsigned sampled result
Figure3: Magatitude 150mV, 16bits signed sampled result
Figure4: Magatitude 150mV, 16bits unsigned sampled result
Figure5: Magatitude 750mV, 16bits signed sampled result
Figure6: Magatitude 750mV, 16bits unsigned sampled result
For every circumstances, the output from DAC is the right wave as input with no distortion. What I think is that if I use the 16bits word length for sampling, the range for the unsigned digital data should be 0~65535. But now, you see, is not that true. My problem is:
How does it come?And how can I solve this problem?
My configure is as follow:
McBSP as the data port of the TLV320AIC23B, single phase, one frame containing two data word, each 16bits.
I2C as the controling port of the TLV320AIC23B, 2-wire mode.
TLV320AIC23B word length 16bits, DSP mode.
I appreciate what you will do for me.
andi
l.