daughterboard

Started by sahana rao in TMS320c54x20 years ago

hi all, we are using c5402 dsk kit. we want 2 know how to set CPLD to use MCBSP0 from daughterboard (0x4@io=0xff03) to work in...

hi all, we are using c5402 dsk kit. we want 2 know how to set CPLD to use MCBSP0 from daughterboard (0x4@io=0xff03) to work in interrupt mode using UART. thank you sahana & priya


ISR Far callable in 5416

Started by l-ma...@teltronic.es in TMS320c54x13 years ago 3 replies

Hello, I´m doing a migration from 5410A to 5416 and I´m having problems when returning from interrupt service rutines. I don´t build the...

Hello, I´m doing a migration from 5410A to 5416 and I´m having problems when returning from interrupt service rutines. I don´t build the project with the -mf option (i´m using near calls as default) because there are several vocoder funtions that we don´t want to change so I want to keep them in the same page and call them as near. For the rest of the program that is in another memory ...


Interrupts with CCS

Started by Christian Dolzer in TMS320c54x21 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


DMA interrupts

Started by hakpax in TMS320c54x19 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


intr_hook problems

Started by andrewpasquale in TMS320c54x19 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


embedded assembly

Started by liang mar in TMS320c54x18 years ago 1 reply

Hi: I give my thanks to you at first.I did as your guides :Enable or Disable the interrupt using the assembly statement in C...

Hi: I give my thanks to you at first.I did as your guides :Enable or Disable the interrupt using the assembly statement in C enviornment in the following : #include #include #include #include void main


interrupt problem

Started by ajs_edwards_uk in TMS320c54x20 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


Interrupt von DMA Channel 0

Started by T.Hupp in TMS320c54x21 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


NMI usage

Started by Abhijith K S in TMS320c54x18 years ago

Hi friends I have a problem with my c5402 processor.The processor is getting hanged due to an external source.So i would like to...

Hi friends I have a problem with my c5402 processor.The processor is getting hanged due to an external source.So i would like to know whether we can use NMI interrupt in hanged state of the processor. Thanking all Abhijith K S


Timer Intuerrupts on the 5402DSK

Started by Alex Bluett in TMS320c54x18 years ago

Hi, i was wondering if anyone could help me. I have modified the timer interrupt example that came with code composer studio, so...

Hi, i was wondering if anyone could help me. I have modified the timer interrupt example that came with code composer studio, so that the prd register that sets the timer period can be modified by certain variables in the task function. Also i have changed the set up of the ISR so th


cfft with C5402

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


c5409 interrupt.

Started by rk_appan in TMS320c54x18 years ago 1 reply

Hello All, I am using c5409 on my target board. I am not able to configure interrupts for MCBSP. I used the vectors.asm and...

Hello All, I am using c5409 on my target board. I am not able to configure interrupts for MCBSP. I used the vectors.asm and added the ISR name in RINT0, XINT0 labels. In my command file I have mapped the vectors to 0x7f80. Emulators gives memory map error when I try to l


DSP timer control

Started by czarlee in TMS320c54x17 years ago

Hi , I have a problem in calculating the timer interrupt for C55x . im using OMAP1610 (ARM + C55x) . The equation inside the manual is ...

Hi , I have a problem in calculating the timer interrupt for C55x . im using OMAP1610 (ARM + C55x) . The equation inside the manual is DSP_interrupt = DSP_ref_clk x ( +1) x 2^(PTV+1) my question is , what does the "," between stands for? is it ADD or MINUS or choose either one? I have dis


configuration for interruptions

Started by Roberto Espinosa in TMS320c54x18 years ago

Dear Sirs/Madams, I am using the 5402 Dsk. I am using the Mcbsp0 and I want that when the port receives a data, an interrupt will...

Dear Sirs/Madams, I am using the 5402 Dsk. I am using the Mcbsp0 and I want that when the port receives a data, an interrupt will be executed. In order to do that, I write firstly: IMR=0x0010 to enable Brint0; IFR=0x3FFF to disable all interrupts; asm(" RSBX INTM&quo


LOG_printf is affecting real time!

Started by ajs_edwards_uk in TMS320c54x20 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


how to embed assembly

Started by liang mar in TMS320c54x18 years ago 3 replies

Hi: I give my thanks to you at first.I did as your guides :Enable or Disable the interrupt using the assembly statement in C...

Hi: I give my thanks to you at first.I did as your guides :Enable or Disable the interrupt using the assembly statement in C enviornment on the " CCS DSK C5000 1.22 " in the following : #include #include void main (void) {


DMA Interrupt service routine.

Started by Santosh M Nadig in TMS320c54x20 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


Query-Interrupts

Started by kandi sudheendra in TMS320c54x19 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


DMA synch event

Started by Carsten Borg in TMS320c54x20 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


breakpoints and interrupts

Started by Roberto Espinosa in TMS320c54x18 years ago

Dear Sir or Madam, I have got to execute the Brint0 interrupt using a routine written in assembly code. My code is the following: ...

Dear Sir or Madam, I have got to execute the Brint0 interrupt using a routine written in assembly code. My code is the following: void Prueba_Roberto_Mode_2(void) { int i,j,dato,control[5],direccion,mispcr10,mispcr20; int IFR_value; /******* Configuraci?n de los reg