DSPRelated.com
Online · Live + on demand
February 9-11, 2027
Price goes up Nov 1: register now to lock in today's rate
Register Now →

C5402 DSK asm code for codec

Started by Doreen Yeo Lee Guek in TMS320c54x●26 years ago

Good day. 1)Just like to find out whether anyone try to hand code in assembly for C5402 DSK codec example? examples in DSK are...

Good day. 1)Just like to find out whether anyone try to hand code in assembly for C5402 DSK codec example? examples in DSK are C coded and clueless about the memory mapping, interrupt setting etc. 2) Tried to implement asm code for codec... setup McBSP1 and DMA ch


DMA

Started by Doreen Yeo Lee Guek in TMS320c54x●26 years ago ● 1 reply

Good day. Say DMA channel 2 is configured to do a block transfer of one frame with 256 elements. When data is received via...

Good day. Say DMA channel 2 is configured to do a block transfer of one frame with 256 elements. When data is received via MsBSP1 (DRR11), REVT will caused a DMA channel 2 interrupt. Now, my understanding till now is that DMA will collect 256 data and send all 256 data in a bl


cfft with C5402

Started by Anonymous in TMS320c54x●26 years ago

Hi, I have some problems while using the CFFT and CIFFT functions in the DSPLIB. It works well with the C5402 DSK board but when I...

Hi, I have some problems while using the CFFT and CIFFT functions in the DSPLIB. It works well with the C5402 DSK board but when I uses that function on my actual prototype board, the interrupt stops working after the first loop. I can't take in new input with out that interrup


Interrupts with CCS

Started by Christian Dolzer in TMS320c54x●26 years ago ● 1 reply

Hi it's me again. I have still problems with Interrupts on the C5402 DSK Board. I'm not able to fix my interrupt problem. I...

Hi it's me again. I have still problems with Interrupts on the C5402 DSK Board. I'm not able to fix my interrupt problem. I found the TI documentation very horrible. There are no source code examples that show how external interrupts are realised in C. I fou


Interrupt von DMA Channel 0

Started by T.Hupp in TMS320c54x●26 years ago ● 3 replies

Hi there, I'm just implementing a DMA transfer in ABU Mode from the McBSP to internal Memory. Everything works correct,...

Hi there, I'm just implementing a DMA transfer in ABU Mode from the McBSP to internal Memory. Everything works correct, but - when I use DMA Channel 0 I was never able to get an IR from the DMA. I have tried the same (with the same code) for DMA chann


help on interrupt flag

Started by Giampiero Ciammetti in TMS320c54x●25 years ago

    I have a problem with flag the INT2. If I execute the following program in s

    I have a problem with flag the INT2. If I execute the following program in s


DMA Interrupt service routine.

Started by Santosh M Nadig in TMS320c54x●25 years ago

Hello, Does the DMA (in autobuffering mode) stop data transfer when it's ( corresponding channel's) ISR is in progress. ...

Hello, Does the DMA (in autobuffering mode) stop data transfer when it's ( corresponding channel's) ISR is in progress. Thanks in advance, santosh *********** Santosh M Nadig Systems Engineer, Accord Software & Systems Pvt Ltd. Ph: +91-80-5350


UART on DSK5402

Started by Anonymous in TMS320c54x●25 years ago

If there are two interrupt conditions (i.e. a Rcv FIFO full and a Rcv FIFO empty), will you get two separate interrupts? TIA, ...

If there are two interrupt conditions (i.e. a Rcv FIFO full and a Rcv FIFO empty), will you get two separate interrupts? TIA, Carl Chipman Nomadics, Inc. http://www.nomadics.com


DMA synch event

Started by Carsten Borg in TMS320c54x●25 years ago ● 2 replies

I have written a small piece of assembly code, that sets up the c5402 DMA channel 1 to transfer data from DSP memory to McBSP0. Each...

I have written a small piece of assembly code, that sets up the c5402 DMA channel 1 to transfer data from DSP memory to McBSP0. Each transfer is synchronised by a Timer0 interrupt (at a 48kHz rate), and everything works fine. However, when trying to use the same code on a c541


DSP/BIOS TSK scheduler

Started by KRUCHIO Gabor in TMS320c54x●25 years ago

Hi all, what do you think on the following synchronisation problem: - two DSP/BIOS task objects (TSK_A and TSK_B) have the same...

Hi all, what do you think on the following synchronisation problem: - two DSP/BIOS task objects (TSK_A and TSK_B) have the same priority (e.g. Priority 1) - TSK_A is running (its execution state: TSK_RUNNING) - TSK_B is ready (its execution state: TSK_READY) - interrupt o


Query-Interrupts

Started by kandi sudheendra in TMS320c54x●23 years ago ● 1 reply

Hi, As the C54x DSP's have both hardware and software interrupts, i would like to know why do we need to interrupt the DSP by...

Hi, As the C54x DSP's have both hardware and software interrupts, i would like to know why do we need to interrupt the DSP by software.(Because instead of software interrupts we can use JUMP instruction). When do the need of software interrupts arises.? Also I would like to kno


DSK C5402 Interrupt issue

Started by Georgios Chatzigeorgiou in TMS320c54x●25 years ago

Hi All INT0 works fine, all other interrupts don't. I'm sure the configuration is correct (not much there to check, just IMR) ...

Hi All INT0 works fine, all other interrupts don't. I'm sure the configuration is correct (not much there to check, just IMR) Any ideas? Thanks in advance


interrupt problem

Started by ajs_edwards_uk in TMS320c54x●25 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


Re: NeverMind: RTFM!!! DSK C5402 Interrupt issue

Started by Georgios Chatzigeorgiou in TMS320c54x●25 years ago

CPLD register controls INT1. ----- Original Message ----- From: Georgios Chatzigeorgiou

CPLD register controls INT1. ----- Original Message ----- From: Georgios Chatzigeorgiou


LOG_printf is affecting real time!

Started by ajs_edwards_uk in TMS320c54x●25 years ago ● 1 reply

I have taken an existing example (codec_bios) which just performs simple mic / speaker loopback on a codec interrupt. I added 3...

I have taken an existing example (codec_bios) which just performs simple mic / speaker loopback on a codec interrupt. I added 3 lines of C: #include log.h #inlcude codec_bioscfg.h //and in main LOG_printf(&mylog, "starting"); I cha


intr_hook problems

Started by andrewpasquale in TMS320c54x●24 years ago

hello all, i am using the header file intr.h to allow me to use my own interrupt service routines. I think i am following the...

hello all, i am using the header file intr.h to allow me to use my own interrupt service routines. I think i am following the convention specified in intr.h but the code will always give the error " expected a declaration" on each call to intr.h ..... INT


DMA interrupts

Started by hakpax in TMS320c54x●24 years ago ● 2 replies

hi there! im using the TMS230C5402 DSK my goal is to process a large amount of audio sampels which comes from the McBSP. i...

hi there! im using the TMS230C5402 DSK my goal is to process a large amount of audio sampels which comes from the McBSP. i decided to use the DMA cause the memory is not big enough. i have managed to use the dma to seperate the input to frames and i enabled the interrupt


DMA ABU mode - Half-buffer interrupts

Started by joeblogss84 in TMS320c54x●24 years ago

Hello all, '5416 device. Using ABU mode, is there any way of determining which half of the buffer the DMA is currently...

Hello all, '5416 device. Using ABU mode, is there any way of determining which half of the buffer the DMA is currently writing (in other words which half of the buffer was just filled and generated the half or full buffer interrupt? We can of course u


McBSP Clock Stop mode

Started by Brian C. Lane in TMS320c54x●24 years ago ● 1 reply

I'm working on using McBSP1 on a 5416 in clock stop mode as a SPI master. I have successfully set it up so that it will transmit a...

I'm working on using McBSP1 on a 5416 in clock stop mode as a SPI master. I have successfully set it up so that it will transmit a block of bytes using DMA #2, and generate an interrupt when the block is finished. Now I'm trying to use 2 DMA channels, one for transmit (to keep


DMA Synchronization Events

Started by chris_pruftian in TMS320c54x●23 years ago

Hi I am using "External Interrupt 3" as a DMA synchronization event in a C5416 DSP. The source and destination addresses are in...

Hi I am using "External Interrupt 3" as a DMA synchronization event in a C5416 DSP. The source and destination addresses are in internal data memory and I/O space respectively. The problem is that the first event initiates element transfers and the DMA channel