Matthieu <nospam@nospam.com> wrote in
news:434523f2$0$12623$636a15ce@news.free.fr:
> Hello,
>
> I just received my EZ-Kit 21364 evaluation board.
> I've runned some examples provided with VDSP 4.0, and I looked to the
> source code, etc. I'm also currently reading the hardware reference
> of the 21364 processor.
> I want to write a simple LPF/HPF to get my hands on with the processor
> and board, but I have a few questions :
>
> - I tried the basic analog audio talktrough C example (which just copy
> the input of the ADC to the DAC), but the 3 buffers are unsigned int,
> so I got ugly clicks and distortion when trying to code the simpliest
> LP filter. I'd like to set the data format to 32-bit float, anyone
> could give me a reference or tips ? I think I need to setup correctly
> the MODE1 register.
>
> - Does anyone has good resources for audio filtering examples with
> 213xx ?
>
> Many thanks,
> Regards,
>
> Matthieu.
We manufacture Sharc based DSP boards. We have boards that include an EZ-
KIt style debugger and look just klike an EZ-Kit to VDSP.
To convert from fixed to float:
r1 = -31;
f4 = FLOAT r4 BY r1;
To convert from fixed to float:
r1 = 31;
r0 = FIX f4 BY r1;
(Or something similiar)
This assumes 1.31 fixed format and that the float value is -1 to almost
1.
--
Al Clark
Danville Signal Processing, Inc.
--------------------------------------------------------------------
Purveyors of Fine DSP Hardware and other Cool Stuff
Available at http://www.danvillesignal.com
Reply by ●October 6, 20052005-10-06
Hi,
Look in the installation subfolders, and see how is it managed with the
other DSPs, in case that there is no example already for the '364.
--
------------------------------
Jaime Andr�s Aranguren Cardona
jaac@sanjaac.com
SanJaaC Electronics
Soluciones en DSP
www.sanjaac.com
"Matthieu" <nospam@nospam.com> escribi� en el mensaje
news:434523f2$0$12623$636a15ce@news.free.fr...
> Hello,
>
> I just received my EZ-Kit 21364 evaluation board.
> I've runned some examples provided with VDSP 4.0, and I looked to the
> source code, etc. I'm also currently reading the hardware reference
> of the 21364 processor.
> I want to write a simple LPF/HPF to get my hands on with the processor and
> board, but I have a few questions :
>
> - I tried the basic analog audio talktrough C example (which just copy the
> input of the ADC to the DAC), but the 3 buffers are unsigned int, so I got
> ugly clicks and distortion when trying to code the simpliest LP filter.
> I'd like to set the data format to 32-bit float, anyone could give me a
> reference or tips ? I think I need to setup correctly the MODE1 register.
>
> - Does anyone has good resources for audio filtering examples with 213xx ?
>
> Many thanks,
> Regards,
>
> Matthieu.
Reply by Matthieu●October 6, 20052005-10-06
Hello,
I just received my EZ-Kit 21364 evaluation board.
I've runned some examples provided with VDSP 4.0, and I looked to the
source code, etc. I'm also currently reading the hardware reference
of the 21364 processor.
I want to write a simple LPF/HPF to get my hands on with the processor
and board, but I have a few questions :
- I tried the basic analog audio talktrough C example (which just copy
the input of the ADC to the DAC), but the 3 buffers are unsigned int, so
I got ugly clicks and distortion when trying to code the simpliest LP
filter. I'd like to set the data format to 32-bit float, anyone could
give me a reference or tips ? I think I need to setup correctly the
MODE1 register.
- Does anyone has good resources for audio filtering examples with 213xx ?
Many thanks,
Regards,
Matthieu.