Forums

problem with aic23 codec

Started by jahanzeb May 20, 2008
hy


i am having problem with aic23 codec and i am unable output a float
which representing a bpsk modulated wave form kindly help me how can i
output it through that codec. is there any way or i have to use
another dac.
i am using ti c6713 dsk for coding

thanks
jahanzeb wrote:
> hy > > > i am having problem with aic23 codec and i am unable output a float > which representing a bpsk modulated wave form kindly help me how can i > output it through that codec. is there any way or i have to use > another dac. > i am using ti c6713 dsk for coding > > thanks
DACs accept integer data. ADCs generate integer data. You need to explicitly convert using proper scaling. Jerry -- Engineering is the art of making what you want from things you can get. �����������������������������������������������������������������������
On May 23, 8:40&#2013266080;pm, Jerry Avins <j...@ieee.org> wrote:
> jahanzeb wrote: > > hy > > > i am having problem with aic23 codec and i am unable output a float > > which representing a bpsk modulated wave form kindly help me how can i > > output it through that codec. is there any way or i have to use > > another dac. > > i am using ti c6713 dsk for coding > > > thanks > > DACs accept integer data. ADCs generate integer data. You need to > explicitly convert using proper scaling. > > Jerry > -- > Engineering is the art of making what you want from things you can get. > &#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;
thanks jerry it really helps i am able to get output but its noisy and it seems like in construct by battern of bpsk with small sinusoids shouing different levels can u help me in this regard how can i remove that thanks
On May 27, 12:12 am, jahanzeb <jahanzebpirz...@gmail.com> wrote:
> On May 23, 8:40 pm, Jerry Avins <j...@ieee.org> wrote: > > > > > jahanzeb wrote: > > > hy > > > > i am having problem with aic23 codec and i am unable output a float > > > which representing a bpsk modulated wave form kindly help me how can i > > > output it through that codec. is there any way or i have to use > > > another dac. > > > i am using ti c6713 dsk for coding > > > > thanks > > > DACs accept integer data. ADCs generate integer data. You need to > > explicitly convert using proper scaling. > > > Jerry > > -- > > Engineering is the art of making what you want from things you can get. > > &#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095; > > thanks jerry it really helps i am able to get output but its noisy and > it seems like in construct by battern of bpsk with small sinusoids > shouing different levels can u help me in this regard how can i remove > that
You are sending the wrong numbers to the DAC. The problem may be in how you convert float to integer or the data may be disturbed even before conversion. Save the numbers in an array and examine them for clues. Jerry
On May 27, 10:24&#2013266080;am, Jerry Avins <j...@ieee.org> wrote:
> On May 27, 12:12 am, jahanzeb <jahanzebpirz...@gmail.com> wrote: > > > > > > > On May 23, 8:40 pm, Jerry Avins <j...@ieee.org> wrote: > > > > jahanzeb wrote: > > > > hy > > > > > i am having problem with aic23 codec and i am unable output a float > > > > which representing a bpsk modulated wave form kindly help me how can i > > > > output it through that codec. is there any way or i have to use > > > > another dac. > > > > i am using ti c6713 dsk for coding > > > > > thanks > > > > DACs accept integer data. ADCs generate integer data. You need to > > > explicitly convert using proper scaling. > > > > Jerry > > > -- > > > Engineering is the art of making what you want from things you can get. > > > &#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095; > > > thanks jerry it really helps i am able to get output but its noisy and > > it seems like in construct by battern of bpsk with small sinusoids > > shouing different levels can u help me in this regard how can i remove > > that > > You are sending the wrong numbers to the DAC. The problem may be in > how you convert float to integer or the data may be disturbed even > before conversion. Save the numbers in an array and examine them for > clues. > > Jerry- Hide quoted text - > > - Show quoted text -
the problem with codec is that when i output two short array from codec the pattern become noisy and when i send them seperately it have no noise and good output is acheived. i dont know why its doing. aic23 is stereo codec it must output both without noise thanks jahanzeb
jahanzeb wrote:

   ...

> the problem with codec is that when i output two short array from > codec the pattern become noisy and when i send them seperately it have > no noise and good output is acheived. i dont know why its doing. aic23 > is stereo codec it must output both without noise thanks
The numbers don't get noisy. You may be losing track of where they go or when they become available. Are you checking the appropriate flags before reading them or waiting the prescribed time by other means? *Have you read the data sheet?* Jerry -- Engineering is the art of making what you want from things you can get. &#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;
On May 29, 11:38&#2013266080;pm, Jerry Avins <j...@ieee.org> wrote:
> jahanzeb wrote: > > &#2013266080; &#2013266080;... > > > the &#2013266080;problem with codec is that when i output two short array from > > codec the pattern become noisy and when i send them seperately it have > > no noise and good output is acheived. i dont know why its doing. aic23 > > is stereo codec it must output both without noise thanks > > The numbers don't get noisy. You may be losing track of where they go or > when they become available. Are you checking the appropriate flags > before reading them or waiting the prescribed time by other means? > *Have you read the data sheet?* > > Jerry > -- > Engineering is the art of making what you want from things you can get. > &#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;
i dont think you are helping in this regard kindly suggest me the cause of problem instead of checking my knowledge. thanks jahanzeb
jahanzeb wrote:
> On May 29, 11:38 pm, Jerry Avins <j...@ieee.org> wrote: >> jahanzeb wrote: >> >> ... >> >>> the problem with codec is that when i output two short array from >>> codec the pattern become noisy and when i send them seperately it have >>> no noise and good output is acheived. i dont know why its doing. aic23 >>> is stereo codec it must output both without noise thanks >> The numbers don't get noisy. You may be losing track of where they go or >> when they become available. Are you checking the appropriate flags >> before reading them or waiting the prescribed time by other means? >> *Have you read the data sheet?* >> >> Jerry >> -- >> Engineering is the art of making what you want from things you can get. >> &#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095; > > i dont think you are helping in this regard kindly suggest me the > cause of problem instead of checking my knowledge.
The answer lies in what you do; that is something I don't know. I can suggest some things that you might have overlooked. More than that you have to do for yourself. I don't intend to study the architecture manual(s) for your processor or read your code. General suggestions are all you can expect from me. Jerry -- Engineering is the art of making what you want from things you can get. &#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;
On May 31, 2:11&#2013266080;am, Jerry Avins <j...@ieee.org> wrote:
> jahanzeb wrote: > > On May 29, 11:38 pm, Jerry Avins <j...@ieee.org> wrote: > >> jahanzeb wrote: > > >> &#2013266080; &#2013266080;... > > >>> the &#2013266080;problem with codec is that when i output two short array from > >>> codec the pattern become noisy and when i send them seperately it have > >>> no noise and good output is acheived. i dont know why its doing. aic23 > >>> is stereo codec it must output both without noise thanks > >> The numbers don't get noisy. You may be losing track of where they go or > >> when they become available. Are you checking the appropriate flags > >> before reading them or waiting the prescribed time by other means? > >> *Have you read the data sheet?* > > >> Jerry > >> -- > >> Engineering is the art of making what you want from things you can get. > >> &#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095; > > > i dont think you are helping in this regard kindly suggest me the > > cause of problem instead of checking my knowledge. > > The answer lies in what you do; that is something I don't know. I can > suggest some things that you might have overlooked. More than that you > have to do for yourself. > > I don't intend to study the architecture manual(s) for your processor or > read your code. General suggestions are all you can expect from me. > > Jerry > -- > Engineering is the art of making what you want from things you can get. > &#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;- Hide quoted text - > > - Show quoted text -
thanks jerry for your kind help i think i was expecting more that required to be. i am greatful to you jahanzeb
jahanzeb wrote:

   ...

> thanks jerry for your kind help ... i am greatful to you
You're welcome. Jerry -- Engineering is the art of making what you want from things you can get. &#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;