DSPRelated.com

about EDMA interrupt

Started by fluf...@yahoo.com in TMS320c6x15 years ago 2 replies

hello, guys, now i'm working on a project about transfering a number of data using EDMA. so i have to write an EDMA ISR triggerd when the...

hello, guys, now i'm working on a project about transfering a number of data using EDMA. so i have to write an EDMA ISR triggerd when the EDMA's done its job. the problem is: i'm using two EDMA channels. so do i have to write two ISRs for different channel? namely, is there only one interrupt request from EDMA to CPU? or different channels send different IRQ? kevin thanks in advance. ...


Some EDMA questions on C6713

Started by Bernhard 'Gustl' Bauer in TMS320c6x19 years ago 1 reply

Hi, I have some EDMA questions. 1. I want timer0 to trigger the timer IRQ and an EDMA transfer. I cannot use the EDMA IRQ. Is this...

Hi, I have some EDMA questions. 1. I want timer0 to trigger the timer IRQ and an EDMA transfer. I cannot use the EDMA IRQ. Is this possible? IRQ works, but EDMA doesn't. I init EDMA this way: hEdma1 = EDMA_open(EDMA_CHA_TINT0, EDMA_OPEN_RESET); EDMA_disableChannel(hEdma1); EDMA_configArgs(hEdma1, EDMA_OPT_RMK( EDMA_O


unsynchronized EDMA transfers

Started by akalya in TMS320c6x22 years ago 1 reply

Hi all : Question on EDMA transfers: (pertains to 6711 DSK) What memory-mapped EDMA registers do I need to set if I want...

Hi all : Question on EDMA transfers: (pertains to 6711 DSK) What memory-mapped EDMA registers do I need to set if I want to an unsynchronized EDMA transfer ? (i.e. CPU-iitiated). I would like the EDMA to set the relevant CIPR bit on completion, and then check the


when caching is enabled, my EDMA performance decreases

Started by otag...@yahoo.com in TMS320c6x15 years ago

hi every one. according to the dm640's EDMA text reference(spru234c) EDMA's urgent priority is used for caching transfers when caching is...

hi every one. according to the dm640's EDMA text reference(spru234c) EDMA's urgent priority is used for caching transfers when caching is active. I have a software with interface with E1 stream thorogh MCBSP which its events are serviced by EDMA in high priority. when Cache is not enabled, edma and my whole software works properly. but when cache is enabled it seems that EDMA's performance decre...


EDMA

Started by muneeb abid in TMS320c6x17 years ago

Hello Can any one please help me regarding EDMA. if some one have simple programm to configure EDMA and send data through EMIFA please...

Hello Can any one please help me regarding EDMA. if some one have simple programm to configure EDMA and send data through EMIFA please email me. i am working on TMSC6416. thanks in advance Muneeb


problems with linking EDMA

Started by olaf636 in TMS320c6x20 years ago 1 reply

hi ! i use the SPRA488c-samplecode for McBSP-transmit/receive with EDMA and i tried to modify the code to link the EDMA to one...

hi ! i use the SPRA488c-samplecode for McBSP-transmit/receive with EDMA and i tried to modify the code to link the EDMA to one another and then to a NULL-link. these are the settings for the first edma: hEdma1 = EDMA_open(EDMA_CHA_REVT0, EDMA_OPEN_RESET); EDMA_configArgs (hEdma1,


C6713: QDMA and EDMA chaining

Started by Bernhard Gustl Bauer in TMS320c6x20 years ago

Hello, is it possible to chain QDMA and EDMA? I want EDMA to reload SRC and DST of QDMA. What I want to do is transfer 134...

Hello, is it possible to chain QDMA and EDMA? I want EDMA to reload SRC and DST of QDMA. What I want to do is transfer 134 blocks of 8 words to different locations in memory. There is no patern in this blocks so can not use a 2D EDMA. So I configured


problem in set edma on C6713

Started by diao...@126.com in TMS320c6x18 years ago

hi,all I use edma to move recived data form mcasp.mcasp give edma a event to drive edma to move a element,and I want edma to move 128...

hi,all I use edma to move recived data form mcasp.mcasp give edma a event to drive edma to move a element,and I want edma to move 128 elements(a frame) then trigger a interrupt to cpu. but now I found every elements in a frame is the same.I think when edma recive a event from mcasp, it move the same value 128 times to the frame buffer, and then call a interrupt. but I cannot find o...


EDMA limits

Started by Anand K in TMS320c6x20 years ago

Hi: Is there a limit on the number of EDMA channels that can be open at a time - I understand that the EDMA crossbar...

Hi: Is there a limit on the number of EDMA channels that can be open at a time - I understand that the EDMA crossbar processes one at a time, but wondering if having too many (say 6-10) user defined EDMA channels open on different priority levels can cause any weird


EDMA transfer triggering

Started by silvera_tristan in TMS320c6x20 years ago 2 replies

Hi all, 1) Is writing to the CIPR is enough to trigger an EDMA transfer? 2) IS using the command EDMA_setChannel is enough to...

Hi all, 1) Is writing to the CIPR is enough to trigger an EDMA transfer? 2) IS using the command EDMA_setChannel is enough to trigger an EDMA transfer? I want to trigger an EDMA transfer when a certain flag is set. the source is a buffer in memory and the destination is the McB


Timer - EDMA inerface code

Started by Tarang Dadia in TMS320c6x20 years ago

Hi all, Would like to know if someone can share with me basic code, involving TIMER EVENT and EDMA. I want to implement TIMER...

Hi all, Would like to know if someone can share with me basic code, involving TIMER EVENT and EDMA. I want to implement TIMER controlled EDMA transfer (EDMA transfer on McBSP port synchronized using TIMER). Would really appreciate it if someone can forward that to me or


edma use for video capture/display on DM642

Started by mayank agarwal in TMS320c6x19 years ago 3 replies

Hi all, If there is any example which explains how edma is used to transfer between FIFO buffer and capture/ display buffers,Further...

Hi all, If there is any example which explains how edma is used to transfer between FIFO buffer and capture/ display buffers,Further how can we manage field/frame synchronization and capture/display timings using edma (i am not sure is edma the right choice to do that) on DM642 platform. If anyone has read SPRU629D document and understoo


EDMA

Started by Khawar Shahzad in TMS320c6x16 years ago

HI, I am using dsk6416 and i am trying to write a program to transfer data using edma... I am using dsp bios and i am setting HWI_INT8 to edma...

HI, I am using dsk6416 and i am trying to write a program to transfer data using edma... I am using dsp bios and i am setting HWI_INT8 to edma controller in dsp bios and my isr name is "hwi8" But my problem is that although the data get copied but : 1) edma is not generating transfer complete interupt. 2) If i am transfering 16 elements then i have to call EDMA_setChannel function 16 times...


EDMA vs. CPU memory access

Started by pivo...@email.cz in TMS320c6x16 years ago

Hi all, I'm using EDMA3 for infinity loop data send from a Buffer[] (in L2 memory) to a McBSP0 on C6455. When I start McBSP triggered EDMA...

Hi all, I'm using EDMA3 for infinity loop data send from a Buffer[] (in L2 memory) to a McBSP0 on C6455. When I start McBSP triggered EDMA transmission, everything is ok, unil I start write into sended Buffer[] variable. EDMA transfer starts to be unstable. appr. ... configure EDMA ... configure McBSP ... enable EDMA Channel 12 ... start McBSP transfer // All looking good, McBSP...


EDMA Problem in Simple Code on C6711DSK

Started by trutano in TMS320c6x20 years ago 7 replies

Hi, I've been having a hard time configuring the EDMA on my DSP! I have created a simple code just to see how the EDMA works....

Hi, I've been having a hard time configuring the EDMA on my DSP! I have created a simple code just to see how the EDMA works. The problem I am having is that the EDMA is not transfering my buffer from the initial location to the location I desired. I am using the CSL (Chip


Re: EDMA limits

Started by tuey...@yahoo.com in TMS320c6x16 years ago

I too am having unexplained behavior with the DM642 and multiple EDMA channels that are opened. Whenever we open EDMA channel 9, we see odd...

I too am having unexplained behavior with the DM642 and multiple EDMA channels that are opened. Whenever we open EDMA channel 9, we see odd behavior in the CIPRL register - mainly CIP bit for channel 6 is pending even if we have not opened channel 6. Anyone else see anything of the sort? Any insight? > > > > > Hi: > > Is there a limit on the number of EDMA channels that can


How to Use Vector Table?

Started by anser mehboob in TMS320c6x16 years ago 1 reply

Hi everybody I have a little problem. I am trying to write an EDMA program to copy data from one location to other. After copying; EDMA should...

Hi everybody I have a little problem. I am trying to write an EDMA program to copy data from one location to other. After copying; EDMA should generate an interrupt to the CPU and then CPU should run an ISR. The EDMA sucessfully copies data and also generates an interrupt. I used following code to check that whether EDMA generates an interrupt or not while(EDMA_intTest(8)!=1){} //works ok...


EDMA question

Started by Bernhard Gustl Bauer in TMS320c6x20 years ago

Hi, lets say a EDMA with a low priority is running. Now a EDMA event with a high priority accurs. Is the low priority EDMA...

Hi, lets say a EDMA with a low priority is running. Now a EDMA event with a high priority accurs. Is the low priority EDMA interrupted, or has the high one to wait until the lower one is finished? Gustl


Re: about EDMA interrupt

Started by fx-7...@163.com in TMS320c6x14 years ago 3 replies

hello Andrew! i know it's a little bothered for you to recall, but do you have a general impression of the name or whatever of the datasheet...

hello Andrew! i know it's a little bothered for you to recall, but do you have a general impression of the name or whatever of the datasheet which tells the method of the dual-channel EDMA? could you please tell me sth about it,thx a lot! cathy --------------------------original------------------------------------ Hi Kevin, Yes there is only one EDMA interrupt to the CPU. What TI d...


EDMA interrupt problem : URGENT

Started by kismat singh in TMS320c6x21 years ago 1 reply

Hi All, I am working on TEB6416. I am facing a very wierd problem in the EDMA interrupt. After completion of very first DMA the...

Hi All, I am working on TEB6416. I am facing a very wierd problem in the EDMA interrupt. After completion of very first DMA the CPU services the EDMA ISR. In the ISR, I make the corresponding bit in CIPR register as 0. For all subsequent EDMA transfer completes, CPU doesn't goes to t