DSPRelated.com

About G.728.

Started by aihaojun in TMS320c54x25 years ago 1 reply

I am doing G.728 Annex G. CODEC. Our coder can pass all test serials correctly. But my decoder can pass the test serials in DISK4,...

I am doing G.728 Annex G. CODEC. Our coder can pass all test serials correctly. But my decoder can pass the test serials in DISK4, which is for step by step test. When I test my decoder using the 'cw1.bin' in DISK1, many problem was presented. cw1.bin is used when post-fi


combine existing cmd-files

Started by Anonymous in TMS320c54x25 years ago

hi, i was trying to combine two example applications from the ccs1.21 for the c54x. The first example uses RTDX to receive an...

hi, i was trying to combine two example applications from the ccs1.21 for the c54x. The first example uses RTDX to receive an array of integers from the host. The second one uses the codec to transmit data between the audio input and output. Both of the projects do not use any


G.711 Test Vectors...

Started by Anonymous in TMS320c54x25 years ago

Hello, I have implemented the G.711 codec (both a-law and mu-law) for a voip project and it's pretty simple (actually just took...

Hello, I have implemented the G.711 codec (both a-law and mu-law) for a voip project and it's pretty simple (actually just took SUN's reference implementation of it and added a table lookup for the decoder)...but my boss asked me to find some test vectors so that from a marketing


audio example execution problem

Started by Anonymous in TMS320c54x25 years ago

Thank you Motohiko, Emerson, and the other off-line response I got about my microphone sampling question posted previously. I've got...

Thank you Motohiko, Emerson, and the other off-line response I got about my microphone sampling question posted previously. I've got a new one for y'alls: Has anyone experienced difficulty running the audio example, not the codec or codec_eg example, including with CCS 1.11? A


C5402 DSK TLC320AD50 SECONDARY COMMUNICATION

Started by Anonymous in TMS320c54x25 years ago 2 replies

Can someone tell me how to invoke secondary communications with the AD50 CODEC on the C5402 DSK (in assembly) ? From the AD50...

Can someone tell me how to invoke secondary communications with the AD50 CODEC on the C5402 DSK (in assembly) ? From the AD50 data sheet, secondary communications can be invoked by writing D0=1 (software secondary request)to DIN, or setting FC=1 (Hardware Secondary communicati


C5402 DSK INTERRUPT PROBLEM

Started by Anonymous in TMS320c54x25 years ago 1 reply

I have a problem with interrupts on the C5402 DSK. I use the IDLE 1 instruction to wait until a BRINT1 interrupt occurs from the...

I have a problem with interrupts on the C5402 DSK. I use the IDLE 1 instruction to wait until a BRINT1 interrupt occurs from the AD50 codec, indicated by IFR=400h. When this occurs, the program does not jump to vector table and hence to the ISR, instead it loops around and waits for


Data Formats

Started by pravin wagh in TMS320c54x25 years ago

hi, i have just started studying CODEC applications. In these applications various data formats are used like Q15,Q14,Q13...

hi, i have just started studying CODEC applications. In these applications various data formats are used like Q15,Q14,Q13 etc.can anyone tell me how do u convert a floating point to one of these formats.also please do tell me how to get back the floating point


Sampling 16bits with dsk baord !!

Started by Ben-Yair, Yossi in TMS320c54x25 years ago 2 replies

Does anyoune know how to confugure / initialize the codec TLC320AD50c on the dsk baord to sample at 16 bits ( not 15bits ) . ...

Does anyoune know how to confugure / initialize the codec TLC320AD50c on the dsk baord to sample at 16 bits ( not 15bits ) .


Codec problems.

Started by Anonymous in TMS320c54x25 years ago

Hello, I hope someone can help me program the tlc320ad50 registers. I think I'm doing all that's necessary but it simply doesn't...

Hello, I hope someone can help me program the tlc320ad50 registers. I think I'm doing all that's necessary but it simply doesn't work. That's the code I use to program register 1: ;********************************************************************* writeReg1: c


Simple Band Pass Filter Transfer Function

Started by shoveyourass in TMS320c54x25 years ago 1 reply

Hi, I am currently trying to implement a band pass filter to filter out specific frequencies from input data from the...

Hi, I am currently trying to implement a band pass filter to filter out specific frequencies from input data from the microphone. I have visited the sample in the codec.c program ( in TMS3205402 kit). The code to get the data from the microphone is


5402 DSK question

Started by Anonymous in TMS320c54x24 years ago 1 reply

I'm pretty sure that I'm reading the schematics and the source code examples correctly, but just for outside confirmation, the codec...

I'm pretty sure that I'm reading the schematics and the source code examples correctly, but just for outside confirmation, the codec connected to the microphone and speaker connectors are connected to McBSP1, not McBSP0 correct? Carl Chipman Nomadics, Inc.


Digital LoopBack Problem

Started by Marlo Flores in TMS320c54x24 years ago 1 reply

hi all, I've been using the following sample piece of code (given in ..\c5400\dsk\examples\dsp\codec to do a digital...

hi all, I've been using the following sample piece of code (given in ..\c5400\dsk\examples\dsp\codec to do a digital loopback: /* get data from input microphone */ data = *(volatile s16*)DRR1_ADDR(HANDSET_CODEC); /* send data to output speaker */


dsp c5410 dma

Started by guzik benny in TMS320c54x24 years ago

Hi I work with DSP c5410. Each McBSP is connected to codec AD73360. I am trying to operate them in Simultaneous Sampling. The...

Hi I work with DSP c5410. Each McBSP is connected to codec AD73360. I am trying to operate them in Simultaneous Sampling. The sampled blocks of data are transferred to an external memory by DMA. Each executes I get a random channels that works properly. I can't manage to operat


FFT

Started by SACHIN JAIN in TMS320c54x24 years ago 1 reply

hi friends, i am using dsk5402 and CCS 2.0 for a real time application and i have to calculate fft. problem 1: i write...

hi friends, i am using dsk5402 and CCS 2.0 for a real time application and i have to calculate fft. problem 1: i write code to configure codec and i used dsplib functions(cbrev and rfft) i have included all related files, then it gives me error:


What is wrong in initialization codec in C5402 DSK

Started by bakhtvar in TMS320c54x24 years ago

Hello all; I bought C5402 DSK and wrote this code to initialize McBSP1 for AD50 #include #include /* global functions...

Hello all; I bought C5402 DSK and wrote this code to initialize McBSP1 for AD50 #include #include /* global functions */ extern int init_54x(); extern void wait(unsigned int N); void main() { int cod


L_shl(), L_shr(), L_clshft(), L_crshft() intrinsics

Started by lsri_92 in TMS320c54x24 years ago

Hi All, I am trying to code the 3GPP AMR-WB Speech Codec. The Reference Code uses functions L_shl() & L_shr() operating on 32-bit...

Hi All, I am trying to code the 3GPP AMR-WB Speech Codec. The Reference Code uses functions L_shl() & L_shr() operating on 32-bit Data types. So the Shift values can be from 0-30. But the C54x instructions SFTA only support upto 15. Is there a combination of instructions that I


RTDX problem

Started by ajs_edwards_uk in TMS320c54x24 years ago 1 reply

I am using DSP/BIOS with the RTDX LOG module to transfer debug messages. No stdio / breakpoints are in use. Presently the main...

I am using DSP/BIOS with the RTDX LOG module to transfer debug messages. No stdio / breakpoints are in use. Presently the main functionality of my program is to take 64 samples from the codec and perform an FFT. The problem is that part of the way into the sampling, something


VC5402 DSK and AIC10EVM

Started by Kevin Howson in TMS320c54x24 years ago 1 reply

Hi, We are trying to get the VC5402 DSK up and running with the AIC10EVM Codec daughterboard but are having a number of...

Hi, We are trying to get the VC5402 DSK up and running with the AIC10EVM Codec daughterboard but are having a number of problems as detailed below. I would be grateful if anyone else, perhaps someone who has already worked through these problems, could lend a little insight in


interrupt problem

Started by ajs_edwards_uk in TMS320c54x24 years ago

Hi, I posted a message a few weeks ago about this problem but I am still having trouble with a sampling routine being...

Hi, I posted a message a few weeks ago about this problem but I am still having trouble with a sampling routine being interrupted causing it to miss samples. My setup is: programmed in CCS, using the onboard codec to sample from the mic port, using RTDX to transfe


Using RTDX with the AD50 Codec

Started by chris_durkin in TMS320c54x24 years ago

I was wondering if anyone can help me, I was given a c5402 DSK for use on my university project back in september, and have...

I was wondering if anyone can help me, I was given a c5402 DSK for use on my university project back in september, and have spent the last months faimilising myself with the board and example code provided. I am now only 2 weeks away from my deadline and my main objective is t