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 →

embedded assembly

Started by liang mar in TMS320c54x●23 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


INTTERRUPT IN C ENVIRONMENT

Started by liang mar in TMS320c54x●23 years ago ● 1 reply

Hi: I have a question to ask,that is how to enable and disable the interrupt in C environment on the DSK(CCS DSK C5000 1.22).I did...

Hi: I have a question to ask,that is how to enable and disable the interrupt in C environment on the DSK(CCS DSK C5000 1.22).I did as follows: #include #include #include #include void main (void)


interrupts of uart

Started by Roberto Espinosa in TMS320c54x●23 years ago

Hello, I am using the uart in the 5402. I would like to have a program (in C code if possible) that triggers an interrupt when it...

Hello, I am using the uart in the 5402. I would like to have a program (in C code if possible) that triggers an interrupt when it has received a data. Could you help? I have connected 2 with 3, 3 with 2 and 5 with 5. Does I need to use any more connections? I have used th


my linker does not work properly

Started by Roberto Espinosa in TMS320c54x●23 years ago

Hi all,   I am using a C5402 and I want to execute Brint1 interrupt.  My linker generate the following code:   ...

Hi all,   I am using a C5402 and I want to execute Brint1 interrupt.  My linker generate the following code:   0x0000E0:INT3 0x0000E0:0xF273  0X00E0  0xF495 0xF495 0x0000E4:HPINT 0x0000E4:0xF273  0X00E4  0xF495 0x


breakpoints and interrupts

Started by Roberto Espinosa in TMS320c54x●23 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


NMI usage

Started by Abhijith K S in TMS320c54x●23 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


configuration for interruptions

Started by Roberto Espinosa in TMS320c54x●23 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


McBSP2 Recieve Interrupt (DSK 5416)

Started by Yuri_Feigin in TMS320c54x●23 years ago ● 1 reply

Hi All ! I connected the McBSP 2 to PCM3002 codec (via CPLD). I also configured the codec by its control registers (via...

Hi All ! I connected the McBSP 2 to PCM3002 codec (via CPLD). I also configured the codec by its control registers (via CPLD). I also configured the McBSP2 configurations. I set the IMR to 0x40. INTM=0; I"m recording from microphone and I


TMS5416 MCBSP port 1 problem

Started by m_mo...@yahoo.com in TMS320c54x●16 years ago

Dear all I have a stbus controller unit program which uses MCBSP0 port of the TMS320C5416 processor. now I use the same code for MCBSP1 but I...

Dear all I have a stbus controller unit program which uses MCBSP0 port of the TMS320C5416 processor. now I use the same code for MCBSP1 but I got a lot of interrupts. interrupt vector assignment of MCBSP1 is done correctly, but the same code doesn't work for it. is there any difference between MCBSP0 and 1. what changes I must do for it to work properly. Regards Mehrdad OMAP35x EVM jump...


Timer Intuerrupts on the 5402DSK

Started by Alex Bluett in TMS320c54x●22 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


c5409 interrupt.

Started by rk_appan in TMS320c54x●22 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


How to prevent interrupts following a STLM instruction

Started by vik35510 in TMS320c54x●22 years ago

Hi, I'm porting C54 code on C55 simulator and below is an example of where I'm having pbs. XC #2, UNC ; prevent interrupt...

Hi, I'm porting C54 code on C55 simulator and below is an example of where I'm having pbs. XC #2, UNC ; prevent interrupt following STLM STLM A, SP SSBX SXM The above code (XC instr)causes the C55 simulator to crash. Can somebody please tell me how to


DSP timer control

Started by czarlee in TMS320c54x●21 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


Interrupt enable in 54x

Started by Ritesh Patel in TMS320c54x●21 years ago ● 6 replies

Hi, ------------------------------------------------------- My gel file has below options  #define PMST_VAL  0x0128u #define...

Hi, ------------------------------------------------------- My gel file has below options  #define PMST_VAL  0x0128u #define SWWSR_VAL  0x8e38u Also I am taking care with application ---------------------------------------------------------------------- my cmd file has     PAGE 0: EPROG: 


DMA interrupt issue ...

Started by haideralibaig in TMS320c54x●21 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


Re: DMA ABU mode - Half-buffer interrupts

Started by zhit...@mail.ru in TMS320c54x●20 years ago

use CSL function DMA_RGETH(hDma2, DMDST). it returns the next dst address for DMA transfer. > > > > Hello all, > >...

use CSL function DMA_RGETH(hDma2, DMDST). it returns the next dst address for DMA transfer. > > > > 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 c


Re: Problem in CCS

Started by Jeff Brower in TMS320c54x●19 years ago

Vijay- > I work on 5402 dsp and face a strange problem in CCS(ver 3.1). That > was a old project which never used interrupts. Both C and asm...

Vijay- > I work on 5402 dsp and face a strange problem in CCS(ver 3.1). That > was a old project which never used interrupts. Both C and asm files > are there. C for main\algorithm\logic and asm for low level drivers. > No interupt was used in that project. > > Now i want to add a timer interrupt and came to know [thru Simulator] > that when a C funtion is called with parameters, CCS use


real time problem

Started by seba...@seareka.com in TMS320c54x●19 years ago

Hi everyone, I am working on DSK5416 and CCS. I'm doing real-time using DMA and McBSP to communicate with the codec. I'm working with 16...

Hi everyone, I am working on DSK5416 and CCS. I'm doing real-time using DMA and McBSP to communicate with the codec. I'm working with 16 bits words and with DSP/BIOS configuration. I would like to know if the problem that I have is coming from data alignment. After interruption (full buffer: 1024 words of 16 bits) I use the following function: Interrupt function(){ int i=0,maxisync,maxica...


ISR Far callable in 5416

Started by l-ma...@teltronic.es in TMS320c54x●18 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 ...


daughterboard

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