In BF535 EZ-Kits example: c_fir, there is Matlab file: fir_data.m. But I can not run the fir_data.m in Matlab due to the following missiing function: save_fr16_init(float_to_fr16(in'), 'in.dat'); Can anyone tell me where I couild find it?
question about BF535 EZ-Kits example.
Started by ●October 14, 2004
Reply by ●October 15, 20042004-10-15
Hi, I guess you couldn't find niether float_to_fr16(), nor save_fr16_init(). If you understand the dataformats you can write your own functions. What the float_to_fr16() does (or at least I'd expect to do) is to convert from the floating point format of MATLAB to the Blackfin frac16 format (Q1.15 notation). What the save_fr16_init() function does is to save frac16 data in a file, but in hexadecimal notation. Did you open the coef.dat file? Regards, -- Jaime Andr�s Aranguren Cardona jaac@nospam.sanjaac.com SanJaaC Electronics Soluciones en DSP www.sanjaac.com (Remove "nospam" from e-mail address) "kathy" <catherine_usa@hotmail.com> escribi� en el mensaje news:c340509c.0410140514.12669e32@posting.google.com...> In BF535 EZ-Kits example: c_fir, there is Matlab file: fir_data.m. But > I can not run the fir_data.m in Matlab due to the following missiing > function: > > save_fr16_init(float_to_fr16(in'), 'in.dat'); > > Can anyone tell me where I couild find it?