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).
|
Hello All, I need some help implementing a 32 bit FIR on C54x/C55x. The DSP lib provided by Texas Instruments contains only 16 bit FIRs though it contain a 32 bit IIR on 16 bit data. I found an application report in TI website which describes how to implement a 32 bit FIR on 16 bit data.The coeffcients will be represented as an integer +fractional part[(Ci+Cf)/512].The output will be in q10 format. Since I want to have the output data in q15 format,this method won't be suitable for my application. This is the link which points the document "Extending Fixed-Point Dynamic Ranges" http://www-s.ti.com/sc/psheets/spra249/spra249.pdf Could any one of you provide a code snippet for a 32 bit by 16 bit multiplication and accumulation?If any one provides the code for a 32 bit FIR on q-15 data that would be very helpful. Regards Kumar |
|
|
|
Look at spru173 (TMS320C54x Reference Set / Vol 4: Application Guide). Extended precision fractional arithmetic is described there. (Not for 16 x 32 Bit, but this is only a special case of 32 x 32 bit) Good luck Thomas ____________________ -----Ursprungliche Nachricht----- Von: [mailto:] Gesendet: Freitag, 28. September 2001 23:38 An: Betreff: [c54x] 32 bit FIR on 16 bit data -C54x Hello All, I need some help implementing a 32 bit FIR on C54x/C55x. The DSP lib provided by Texas Instruments contains only 16 bit FIRs though it contain a 32 bit IIR on 16 bit data. I found an application report in TI website which describes how to implement a 32 bit FIR on 16 bit data.The coeffcients will be represented as an integer +fractional part[(Ci+Cf)/512].The output will be in q10 format. Since I want to have the output data in q15 format,this method won't be suitable for my application. This is the link which points the document "Extending Fixed-Point Dynamic Ranges" http://www-s.ti.com/sc/psheets/spra249/spra249.pdf Could any one of you provide a code snippet for a 32 bit by 16 bit multiplication and accumulation?If any one provides the code for a 32 bit FIR on q-15 data that would be very helpful. Regards Kumar _____________________________________ |