Technical discussions about the TI C54x DSPs (including the c5401, c5402, c5402a, c5404, c5407, c5409, c5409a, c5410, c5410a, c5416, c5420, c5421, c5441, c549, c5470 and c5471).
|
Gurjeet- > i am working on c5402 and using 16 bit codec AD50,how > can is convert the sampled data which is 16 bit to DAC > which is 12 bit. The AD50 already has 16-bit output. Why do you want to convert? Jeff Brower DSP sw/hw engineer Signalogic |
|
|
|
Gurjeet- > My objective is to take the analog signal through > ad50 and send it out on DAC .Now my problem is when > AD50 ADC conevert the analog signal to 16 bit samples > which is received in DSP5402 serial port 0x0021.now i > want to sent the sample word to DAC TLV5639 which is > 12 bit .AD50 digital sample is signed. If both ADC and DAC are signed: DAC = ADC >> 4; If DAC is unipolar (unsigned): DAC = (ADC >> 4) + 2048; You will lose least significant 4x lsb of AD50 samples, but that's the way it is. Jeff Brower DSP sw/hw engineer Signalogic > --- Jeff Brower <> wrote: > > Gurjeet- > > > > > i am working on c5402 and using 16 bit codec > > AD50,how > > > can is convert the sampled data which is 16 bit to > > DAC > > > which is 12 bit. > > > > The AD50 already has 16-bit output. Why do you want > > to convert? > > > > Jeff Brower > > DSP sw/hw engineer > > Signalogic |