DSPRelated.com

DMA Initialization problems in C5410

Started by Anonymous in TMS320c54x22 years ago

Hi group, I am having problems with DMA Initialization in C5410. The specific problem I am facing is, I have written an...

Hi group, I am having problems with DMA Initialization in C5410. The specific problem I am facing is, I have written an initialization code to enable DMA channel 4 as Auto Buffering Unit. When I run my code for the first time - it does not work, but if I halt the


Random number generation initialization

Started by Cesar in TMS320c54x17 years ago 1 reply

Hi, I want to implement a random number generator into my C5410 DSP. I have found code for rand routines, but I have noticed the seed of...

Hi, I want to implement a random number generator into my C5410 DSP. I have found code for rand routines, but I have noticed the seed of the generator is always the same, so the numbers generated are each time I begin my program the same. Is there any way to achieve a "real" random initialization, so not always the same numbers being generated? Thanks


DO you know about DMA autoinitialization ?

Started by ahma...@yahoo.com in TMS320c54x16 years ago 1 reply

Hi Is it possible in C54x DMA to have two channels in auto-initialization mode but with different Autoinitialize source and destination...

Hi Is it possible in C54x DMA to have two channels in auto-initialization mode but with different Autoinitialize source and destination addresses, simultaneously? Would you describe it? What about in C55x? Regards


Disbalin DAA on C54cst

Started by haideralibaig in TMS320c54x18 years ago

Hello All- I need some help on figuring out how to disable the DAA on the c54cst chip. I figure it has something to do with initialization...

Hello All- I need some help on figuring out how to disable the DAA on the c54cst chip. I figure it has something to do with initialization driver but I am still confused if whether or not I need to disable it hardware-wise as well. If anyone has had success disabling the DAA please let me know. Thank you. -Ali


54x DMA Initialization

Started by Leigh Wells in TMS320c54x25 years ago 1 reply

Hi, all. I'm setting up the DMA for use with the McBSP on the '5410. I have set it up similar to how it is illustrated in...

Hi, all. I'm setting up the DMA for use with the McBSP on the '5410. I have set it up similar to how it is illustrated in SPRU302 pg. 3-50. Using the emulator and DMA channel 1, the DRR1_1 gets loaded with data from an A/D I have implemented, but I can't get the data to move f


C5402 DSK

Started by kumar venkat in TMS320c54x23 years ago

Hai all, I need a small clarifications. I have c5402 dsk without any Evaluation Module. i would like to run a Input - Output...

Hai all, I need a small clarifications. I have c5402 dsk without any Evaluation Module. i would like to run a Input - Output routine i,e I have a carrier signal say 1khz taken from a function generator and through AIC initialization program(TLC320AD40C-ADC/DAC) i need to pass through


McSBP initialization

Started by Manish Varma in TMS320c54x18 years ago 1 reply

Hi All, We are developing basic analog phone using TMS320C54CST and MSM7716 as codec. Codec is going to be connected at McBSP0...

Hi All, We are developing basic analog phone using TMS320C54CST and MSM7716 as codec. Codec is going to be connected at McBSP0 for audio data and McBSP1 configured thru SPI for control data. I need to know how we can configure the McBSP for our codec (MSM7716), we have tried to configure but looks like its not working for us. So any suggession how to do this or ...


McBSP initialization

Started by thed...@yahoo.com in TMS320c54x15 years ago 7 replies

I'm attempting to set up McBSP using code composer v3.1 with a C5416, and can't even get the simple setup from the dma4.c or mcbsp.c to work. I...

I'm attempting to set up McBSP using code composer v3.1 with a C5416, and can't even get the simple setup from the dma4.c or mcbsp.c to work. I created the configurations I wanted, and used the code provided in dma4.c as a template to open the mcbsp channel and start everything, and the code always stops at this line. while(!(MCBSP_xrdy(myhMcbsp))){ ; } I'm not sure why the xrdy s...


DMA with auto initialization

Started by eli_zarka in TMS320c54x21 years ago

Hi all, I am using a DMA channel with autoinitialization. I have a frame of 4 16-bit words. My question is how I have to...

Hi all, I am using a DMA channel with autoinitialization. I have a frame of 4 16-bit words. My question is how I have to configure the DMA and the McBSP in order to synchronize the DMA to the frame sync signal. The problem is that the McBSP gives an event every 16-bit wo


McBSP Initialization

Started by Leigh Wells in TMS320c54x25 years ago

I am attempting to initialize a McBSP on the '5410 to receive. I put the port into reset by writing 0h to SPCR(1,2), then write to...

I am attempting to initialize a McBSP on the '5410 to receive. I put the port into reset by writing 0h to SPCR(1,2), then write to configuration registers, wait for two clocks, enable the port by writing 1h to SPCR(1,2), then want to set bit 7 to 1 in SPCR2 to set up for


spectrum digital C549 EVM

Started by Rob Cravens in TMS320c54x22 years ago

Hello all, Does anyone have any sample C code or C+assembler code that initializes the spectrum digital C549 EVM and AD55 ...

Hello all, Does anyone have any sample C code or C+assembler code that initializes the spectrum digital C549 EVM and AD55 AIC chip that they could share? I am able to use C to do everything except the interrupts/AD55 initialization. I can do this in assembl


Help: C5402 DSK initialization inconsistency

Started by commdsp in TMS320c54x22 years ago 2 replies

Hi, I'm new to TI C5402 DSK. After resetting the parallel port successfully and setting up CCS 1.2 with parallel port for the...

Hi, I'm new to TI C5402 DSK. After resetting the parallel port successfully and setting up CCS 1.2 with parallel port for the board, I invoke the CCS application. Sometimes the emulator runs, but other times I get the error saying "can't initialize target DSP"


AD50 codec initialization in asm language

Started by Jeff Brower in TMS320c54x20 years ago

I have been receiving requests for ad50init.asm file, which initializes the AD50 codec on the C5402 DSK board using asm language,...

I have been receiving requests for ad50init.asm file, which initializes the AD50 codec on the C5402 DSK board using asm language, intended for very small footprint applications that do not use DSP/BIOS. The file was posted on the C54x group archive for almost 2 years bu


What is wrong in initialization codec in C5402 DSK

Started by bakhtvar in TMS320c54x22 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