DSPRelated.com

problem in set edma on C6713

Started by diao...@126.com in TMS320c6x20 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...


Some EDMA questions on C6713

Started by Bernhard 'Gustl' Bauer in TMS320c6x21 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


when caching is enabled, my EDMA performance decreases

Started by otag...@yahoo.com in TMS320c6x17 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...


about EDMA interrupt

Started by fluf...@yahoo.com in TMS320c6x17 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. ...


unsynchronized EDMA transfers

Started by akalya in TMS320c6x24 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


EDMA vs. CPU memory access

Started by pivo...@email.cz in TMS320c6x18 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...


How to stop EDMA transferring?

Started by hbd7...@yahoo.com.cn in TMS320c6x18 years ago 1 reply

Hi all; I am testing UART in EDMA interrupt mode.My problem is after linking edma transfer to a new table,I send data continously. But I...

Hi all; I am testing UART in EDMA interrupt mode.My problem is after linking edma transfer to a new table,I send data continously. But I want to send data when I ask it to, how can I do to control edma when I start or stop sending data .Athough I know that I can stop transferring by linking to a null table:EDMA_link(hEdma14, hEdmadummy);but when I want to start again what should I do? he...


Ethernet Stack disturbs EDMA (C6713b)

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

Hi, I'm using EDMA to handle my McASP transfers. After these transfers I chained another EDMA to copy the timer0 to a variable. Both EDMAs...

Hi, I'm using EDMA to handle my McASP transfers. After these transfers I chained another EDMA to copy the timer0 to a variable. Both EDMAs have high priority. I use the difference between two timer values to calculate the sample rate of McASP. The Ethernet stack runs and uses only ext. memory. It doesn't use any EDMA or other DSP hardware. The only code that is connected to an IRQ ...


6437 edma question

Started by cuiyao_boygood in TMS320c6x17 years ago

Hello everyone! I am using the 6437 and add the edma to my project ,i just copy the example's bios configuration file into my project . The...

Hello everyone! I am using the 6437 and add the edma to my project ,i just copy the example's bios configuration file into my project . The edma programme in my projects just used for cycling move some data for ddr2 to sram,but the edma programme only work in the first cycle,i know may be it caused by the bios file,but i don't how to configure the bios file,is anyone know ? Thank you ! ...


How to Use Vector Table?

Started by anser mehboob in TMS320c6x18 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

Started by Khawar Shahzad in TMS320c6x18 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...


DSK6711 + DSP STAR ADDA - problem with EDMA transfer in BIOS

Started by jednoucelovy in TMS320c6x18 years ago 5 replies

Hi, I use EDMA to transfer samples from two channel 12-bit A/D converter (DSP STAR ADDA module) through EMIF into 2 buffers in internal SRAM....

Hi, I use EDMA to transfer samples from two channel 12-bit A/D converter (DSP STAR ADDA module) through EMIF into 2 buffers in internal SRAM. EDMA is triggered by EXT_INT7 and moves two 16-bit samples on each event. Buffers are switched after completing a block of 2*2560 samples using linked PARAM presets. This program runs fine if NOT using BIOS. When I use the same EDMA presets in ...


Re: EDMA limits

Started by tuey...@yahoo.com in TMS320c6x18 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


Re: Data Acquisition using AD9954, DMA, and ways to optimize TMS320C6713 usage while data collection is in progress

Started by Andrew Elder in TMS320c6x18 years ago

We have had success using EDMA "chaining" (TI calls it linking?) in conjunction with a ping-pong buffer. One set of EDMA parameters sends data...

We have had success using EDMA "chaining" (TI calls it linking?) in conjunction with a ping-pong buffer. One set of EDMA parameters sends data to the "ping" buffer and on completion automatically kicks off the EDMA to the "pong" buffer. Using this method you have almost the entire duration of the buffer collection to service the interrupt because the EDMA is now running on the "other" buffer....


video capture can't triger the EDMA transfer

Started by tms3...@yahoo.com.cn in TMS320c6x20 years ago

i run into a new problem,the video capture EDMA can't be trigered.i configure video port0,port A to capture a standard 8-bit BT656 video data...

i run into a new problem,the video capture EDMA can't be trigered.i configure video port0,port A to capture a standard 8-bit BT656 video data from saa7113 encoder,continuous capture mode and to sent an interrupt request to CPU when a complete line is captured. but the edma interrupt can't be trigered,the edma interrupt service routine can't be executed consequently.when i set the correspond...


Understanding EDMA and McBSP

Started by xoni...@yahoo.es in TMS320c6x20 years ago

Hi all, I`m newbie to DSPs and I`m using TMS320C6711DSK. I want to generate a serial signal, which has 80 bits at 1MHz every 250 uscs. I want...

Hi all, I`m newbie to DSPs and I`m using TMS320C6711DSK. I want to generate a serial signal, which has 80 bits at 1MHz every 250 uscs. I want to use timer1 to prompt the start of the signal, and McBSP with EDMA to generate the signal. I'm able to make it once configuring the EDMA and McBSP properly, but I can't make it periodically, the EDMA interrupt is not generated. How can I do it?? Is i...


EDMA Problem in Simple Code on C6711DSK

Started by trutano in TMS320c6x22 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


Timer - EDMA inerface code

Started by Tarang Dadia in TMS320c6x22 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 limits

Started by Anand K in TMS320c6x22 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_intDispatcher

Started by balasubramanian vaidhyanathan in TMS320c6x20 years ago

Hello everyone, I am using EDMA channels in TIC6713 and i am using CPU triggered EDMA's and some GPIO triggered EDMA. And there are...

Hello everyone, I am using EDMA channels in TIC6713 and i am using CPU triggered EDMA's and some GPIO triggered EDMA. And there are sometimes when I use EDMA channels with different TCC number, and hooked the callback function hooked to this tcc number using inthook(tccnum,function). Right now the the function is called myedmaisr and then I com