Technical discussions about the TI C55x DSPs (including the c5501, c5502, c5503, c5507, c5509, c5510 and OMAP5910).
hi
everyone
i m working on TMS320VC5510 dsp processor ,i read a data from function generator and want to
store on a buffer but only one sample is stored ,any body can help me.
while(1)
{
for(k;k<51;k++)
{
while(!DSK5510_AIC23_read16(hCodec,&sample);
x[k]= sample;
}
while(!DSK5510_AIC23_write16(hCodec,sample);
}
x[0] sample will only come when i see it on quick watch window.
regards;
vishal
Vishal-
> i m working on TMS320VC5510 dsp processor ,i read a data from function generator and want
to store on a buffer but only one sample is stored ,any body can help me.
>
> while(1)
> {
> for(k;k<51;k++)
> {
> while(!DSK5510_AIC23_read16(hCodec,&sample);
> x[k]= sample;
> }
> while(!DSK5510_AIC23_write16(hCodec,sample);
> }
> x[0] sample will only come when i see it on quick watch window.
Did you watch x[1]? Does it change? What about value of k, does it stop at 1?
-Jeff
Vishal-
> thank u for replying ,actually sir i want to make a low pass fir
> filter for real time signal ,i had written some code
> in C but its not working please guide me what mistake i had done .
Please reply to the group. My job permits me to only discuss through the group.
-Jeff
> On 2/21/07, Jeff Brower <j...@signalogic.com> wrote:
>
> Vishal-
>
> > i m working on TMS320VC5510 dsp processor ,i read a data from function
> generator and want to store on a buffer but only one sample is stored
> ,any body can help me.
> >
> > while(1)
> > {
> > for(k;k<51;k++)
> > {
> > while(!DSK5510_AIC23_read16(hCodec,&sample);
> > x[k]= sample;
> > }
> > while(!DSK5510_AIC23_write16(hCodec,sample);
> > }
> > x[0] sample will only come when i see it on quick watch window.
>
> Did you watch x[1]? Does it change? What about value of k, does it stop
> at 1?
>
> -Jeff
>
Hi, why there is 17 X 17 MAC unit ? c55x is 16-bit processor. rite? somebody can explain me why? what is the use? regards ramana NEW! You can now post a message or access and search the archives of this group on DSPRelated.com: http://www.dsprelated.com/groups/c55x/1.php _____________________________________ Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group. _____________________________________ About this discussion group: Archives: http://www.dsprelated.com/groups/c55x/1.php To Post: Send an email to c...@yahoogroups.com Other DSP Related Groups: http://www.dsprelated.com/groups.php Yahoo! Groups - Join or create groups, clubs, forums & communities. Links
Hi Ramana,
Its for sign extension and thus to have real 16 X 16
multiplication.
Regards,
Ajith.
On 2/22/07, RamanaReddy Polaka <r...@yahoo.com> wrote:
>
> Hi,
>
> why there is 17 X 17 MAC unit ? c55x is 16-bit processor. rite?
>
> somebody can explain me why? what is the use?
>
> regards
> ramana
>
>