DSPRelated.com

Digital LoopBack Problem

Started by Marlo Flores in TMS320c54x23 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 */


gpio

Started by G.Sateesh Kumar in TMS320c54x21 years ago

Hi, I am working with XDS510pp board.How can I configure the MCBSP as GPIO Pins.The hardware contains adc/dac as TLV320AIC10...

Hi, I am working with XDS510pp board.How can I configure the MCBSP as GPIO Pins.The hardware contains adc/dac as TLV320AIC10 codecs.Is there any chance to configure I2c setup for this board?Already i configured the codec to the McBsp with dcsi configurration.Is it posible to do


problem of MCBSP on DSK

Started by afatnonoafat in TMS320c54x21 years ago

hello : I have some problem about using MCBSP ON DSK. i've tried some MCBSP examples: DAA(tel) and CODEC(audio in out), and...

hello : I have some problem about using MCBSP ON DSK. i've tried some MCBSP examples: DAA(tel) and CODEC(audio in out), and sure that MCBSP0/1 are all at work. but now i got some problem: i've tried to use CNTL2(CPLD register) register to


dsp c5410 dma

Started by guzik benny in TMS320c54x23 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


AIC23 current drain

Started by Anonymous in TMS320c54x22 years ago 1 reply

On a related note to my c5416 current question, I am measuring a current drain of ~78mA from an TLV320AIC23 codec. Nothing is...

On a related note to my c5416 current question, I am measuring a current drain of ~78mA from an TLV320AIC23 codec. Nothing is connected to its input or outputs, MIC is powered down. According to the data sheet its typical drain is 23mA when playing back or recording. Brian


estimate on using extended memory

Started by Li Hao in TMS320c54x22 years ago

Hi, I am trying to estimate whether I can run a codec code out of extended program space of C5409(100MHz). The extended memory chip...

Hi, I am trying to estimate whether I can run a codec code out of extended program space of C5409(100MHz). The extended memory chip is 12ns. And the code needs to finish processing 80 16bit samples within around 1ms. I am not asking people to do calculation for me. Instead, I want t


Re: path to optimizing ITU C-Code for G723.1

Started by Jeff Brower in TMS320c54x21 years ago

Gurjeet- > i am started on optimization of G.723.1 Codec on 54x > processor.I am trying to optmize the ITU c-code for >...

Gurjeet- > i am started on optimization of G.723.1 Codec on 54x > processor.I am trying to optmize the ITU c-code for > G723.1.I am facing problem how to port the code to CCS > to begin with.Plz suggest some sequence to follow.Like > i should i convert the


C54-2 DSK Codec And WAV

Started by Hany Hassan M Aboul Ela in TMS320c54x24 years ago

Hi people, I'm trying to output some WAV PCM samples on the AD50 DAC of the C5402 Starter Kit. The sound doesn't come out...

Hi people, I'm trying to output some WAV PCM samples on the AD50 DAC of the C5402 Starter Kit. The sound doesn't come out right. I was wondering whether I should send the PCM samples in unsigned format (Add some bias), since they're supposed to be 16-bit signed values in the w


dsk 5402: a problem with expansion peripheral interface

Started by Roberto Espinosa in TMS320c54x21 years ago

Hello all, I'm using 5402 dsk and I'm trying to write words over a AD codec which is in daughter board. I'm using Mcbsp0 as a serial...

Hello all, I'm using 5402 dsk and I'm trying to write words over a AD codec which is in daughter board. I'm using Mcbsp0 as a serial port and I have written 1 to Lsb bit in the Cntl2 register. When I use this instruction: MCBSP_write16 (mhMcbsp,dato) I don't see anythin in the dx pin (number 24) in t


Data Formats

Started by pravin wagh in TMS320c54x23 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


DMA interrupt issue ...

Started by haideralibaig in TMS320c54x19 years ago

I am currently working on the C54CST version of the DSP and am having issues with configuring a DMA channel. What I am trying to do is...

I am currently working on the C54CST version of the DSP and am having issues with configuring a DMA channel. What I am trying to do is capture(recieve) the DATA coming in on MCBSP 0 and just simply store the data in memory to read it later (basically I am testing part of the functionality of the DMA). MCBSP 0 is connected to an ST-BUS device (TP3071 CODEC) and the clock and frame sync are


Sampling Rate for c5402 DSK

Started by Junhong in TMS320c54x22 years ago 1 reply

Hi, I encounter a problem with the changing the sampling rate of the onboard codec in C5402 DSK board. I try to set the...

Hi, I encounter a problem with the changing the sampling rate of the onboard codec in C5402 DSK board. I try to set the sampling frequency at 16Khz... but when I test it and found out that it cut off at 4Khz instead of 8Khz.... I try to change to other sampling ra


Jumper setting for MCBSP use?

Started by akhifra in TMS320c54x21 years ago

Hello, I am working with the C5416 DSK. I need to use the serial port pins off of the 80 pin connector on the board. Is there...

Hello, I am working with the C5416 DSK. I need to use the serial port pins off of the 80 pin connector on the board. Is there some kind of jumper setting or something of that nature that I must set in order to disconnect the serial port from the codec? For the C6711 board


G.711 Test Vectors...

Started by Anonymous in TMS320c54x24 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


Help me get started with CodeComposer and MPEG4 SP development.

Started by Vishal Borker in TMS320c54x19 years ago

Hi All, I am interested in writing a MPEG SP decoder for the c54x . I am *fresh* to codec development / Code Composer , though i have close to...

Hi All, I am interested in writing a MPEG SP decoder for the c54x . I am *fresh* to codec development / Code Composer , though i have close to 9 years in C / Linux kernel/ Device driver programming. I have been finding it very difficult to gather info on what i need to do. I would appreciate it if anyone could point me to resources related to: 1.c54x programming 2. MPEG SP Decoder Mater...


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

Started by lsri_92 in TMS320c54x23 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


Simple Band Pass Filter Transfer Function

Started by shoveyourass in TMS320c54x23 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


Calculating MIPS

Started by jaganathan gnanavelu in TMS320c54x20 years ago 1 reply

Hi, I am Optimizing the G.729 codec using TMS320C5402. In profiling i got 44,450,xxx clock count to execute a single frame.That...

Hi, I am Optimizing the G.729 codec using TMS320C5402. In profiling i got 44,450,xxx clock count to execute a single frame.That was without optimizing the code. Later i used builtin library functions(intrindefs.h) and reduced the clock count to 11,597,xxx clock counts. My input spee


Need help with TLV320AIC23 and C54

Started by kevin_agnew in TMS320c54x22 years ago

I have the above audio codec attached to a C54 using a MCBSP to send/receive audio data. We have verified the timing on the ...

I have the above audio codec attached to a C54 using a MCBSP to send/receive audio data. We have verified the timing on the CLKX/CLKR, FSX/FSR, and DX/DR signals with an oscope and everything matches the TLV320AIC23 spec. The AIC is programmed as MASTER so it is driving CLKX/CLKR and


Re: 16 Bit data on 12 bit Dac

Started by Jeff Brower in TMS320c54x22 years ago 1 reply

Gurjeet- > i am working on c5402 and using 16 bit codec AD50,how > can is convert the sampled data which is 16 bit to DAC >...

Gurjeet- > i am working on c5402 and using 16 bit codec AD50,how > can is convert the sampled data which is 16 bit to DAC > which is 12 bit. The AD50 already has 16-bit output. Why do you want to convert? Jeff Brower DSP sw/hw engineer