Hello all, I am working on ADSP-21160 simulator (the one packaged along with VDSP), and I am having trouble making a link port DMA transfer. The following is the steps I have followed in setting up the DMA: I configure LBUFF0 for transmission and LBUFF1 for reception and keep them and their DMA disabled, by writing 0x88228 to LCTL0 (32-bit data) Now I set up the DMAChnl4 with source addr and the count and I set up DMAChnl5 with destination address and count. I assign Buff0 and Buff1 to LinkPort0 to make them work in loop back by writing 0x3ffc0 to LAR Now, I enable both the buffers as well as their DMA channels, by writing 0x88e2b to LCTL0 I anticipate that, the transfer should start at this. But somehow, nothing happens afterwards. Can you please through some light on this or send across a piece of code which demonstrates the working of link port? Thank you, Sreenath K R __________________________________________________ |
|
Link port on ADSP-21160
Started by ●May 31, 2001
Reply by ●June 1, 20012001-06-01
I think you're doing everything correctly EXCEPT you're not using real hardware. The ADSP-21160 simulator doesn't support link port DMA. -Robert Yu --- In adsp@y..., K R SREENATH ramanna <krsree@y...> wrote: > Hello all, > > I am working on ADSP-21160 simulator (the one packaged > along with VDSP), and I am having trouble making a > link port DMA transfer. The following is the steps I > have followed in setting up the DMA: > I configure LBUFF0 for transmission and LBUFF1 for > reception and keep them and their DMA disabled, by > writing 0x88228 to LCTL0 (32-bit data) > Now I set up the DMAChnl4 with source addr and the > count and I set up DMAChnl5 with destination address > and count. > I assign Buff0 and Buff1 to LinkPort0 to make them > work in loop back by writing 0x3ffc0 to LAR > Now, I enable both the buffers as well as their DMA > channels, by writing 0x88e2b to LCTL0 > I anticipate that, the transfer should start at this. > But somehow, nothing happens afterwards. Can you > please through some light on this or send across a > piece of code which demonstrates the working of link > port? > > Thank you, > Sreenath K R > > __________________________________________________ > |