Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP

Discussion Groups

Discussion Groups | Analog Devices DSPs | 21065L DMA IOP registers

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

21065L DMA IOP registers - Andor Bariska - Oct 25 8:57:00 1999



Hi smart people,
I sent below e-mail to the ADI hotline, and never got a return - can
anybody help me?

Regards,
Andor > -----Ursprüngliche Nachricht-----
> Von: Andor Bariska
> Gesendet am: Mittwoch, 19. Mai 1999 12:16
> An: ADI DSP Support
> Betreff: 21065L DMA IOP registers
>
> Hi,
>
> I use VisualDSP V4.01. Currently, I am programming an
> application on the 21065L using DMA-based serial I/O for
> SPORT1, utilizing both data channels A & B.
>
> The DMA is programmed by writing values to the according IOP
> registers for each DMA channel - these constant IOP adresses
> have been defined in the file "def21065L.h".
>
> There seems to be some inconsistency with the values defined
> in that file, and the values given in the "ADSP 21065L SHARC
> User's Manual", dated September 01 1998 (I downloaded this
> PDF file from www.analog.com). Here are some examples:
>
> DMA CH6 (SPORT1 TX A) register definitions from "def21065L.h":
> #define II6 0x40
> #define IM6 0x41
> #define C6 0x42
> #define CP6 0x43
> #define GP6 0x44
> #define EI6 0x45
> #define EM6 0x46
> #define EC6 0x47
>
> However, the manual states:
> Register Address Reset Value Group
Description
> IIT1A 0x0078 NI DA DMA chn
6 index (SPORT1 xmit A)
> IMT1A 0x0079 NI DA DMA chn
6 modify
> CT1A 0x007A NI DA DMA chn 6 count
> CPT1A 0x007B NI DA DMA chn
6 chain pointer
> GPT1A 0x007C NI DA DMA chn
6 general purpose
>
> In fact, most of the #define values do not coincide with the
> manual. Also interesting is that in the "def21065L.h" file,
> definitions are given for EI, EM and EC for DMA CH6, although
> this is not an external port DMA but a serial port DMA
> channel, and therefore should not have any EI, EM or EC
> registers at all!
>
> Please advise on correct IOP register values for DMA CH2
> (SPORT1 Rx A), CH3 (SPORT1 Rx B), CH6 (SPORT1 Tx A CHAIN) and CH7
> (SPORT1 Tx B CHAIN).
>
> Thank you and kind regards,
> Andor Bariska > WEISS ENGINEERING LTD. - Professional Digital Audio Products
> Florastrasse 42 8610 Uster Switzerland
> phone: +41 1 940 20 06, fax: +41 1 940 22 14
> mailto: web: http://www.weiss.ch
> You *can* afford the best





(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

Re: 21065L DMA IOP registers - Michael Haertl - Oct 25 10:29:00 1999

Hello,

On Mon, 25 Oct 1999, Andor Bariska wrote:
> I sent below e-mail to the ADI hotline, and never got a return - can
> anybody help me?
> > -----Ursprüngliche Nachricht-----
> > Von: Andor Bariska
> > Gesendet am: Mittwoch, 19. Mai 1999 12:16
> > An: ADI DSP Support
> > Betreff: 21065L DMA IOP registers
> >
> > Hi,
> >
> > I use VisualDSP V4.01. Currently, I am programming an
> > application on the 21065L using DMA-based serial I/O for
> > SPORT1, utilizing both data channels A & B.
> >
> > The DMA is programmed by writing values to the according IOP
> > registers for each DMA channel - these constant IOP adresses
> > have been defined in the file "def21065L.h".
> >
> > There seems to be some inconsistency with the values defined
> > in that file, and the values given in the "ADSP 21065L SHARC
> > User's Manual", dated September 01 1998 (I downloaded this
> > PDF file from www.analog.com). Here are some examples:
> >
> > DMA CH6 (SPORT1 TX A) register definitions from "def21065L.h":
> > #define II6 0x40
> > #define IM6 0x41
> > #define C6 0x42
> > #define CP6 0x43
> > #define GP6 0x44
> > #define EI6 0x45
> > #define EM6 0x46
> > #define EC6 0x47

as i see it, these values are for the 21060/61/62. > > However, the manual states:
> > Register Address Reset Value Group
> Description
> > IIT1A 0x0078 NI DA DMA chn
> > 6 index (SPORT1 xmit A)
> > IMT1A 0x0079 NI DA DMA chn
> > 6 modify
> > CT1A 0x007A NI DA DMA chn 6 count
> > CPT1A 0x007B NI DA DMA chn
> > 6 chain pointer
> > GPT1A 0x007C NI DA DMA chn
> > 6 general purpose

for the 21065, use these definitions instead (they are in the file
def21065L.h a bit beneath the 'old' values). > > In fact, most of the #define values do not coincide with the
> > manual. Also interesting is that in the "def21065L.h" file,
> > definitions are given for EI, EM and EC for DMA CH6, although
> > this is not an external port DMA but a serial port DMA
> > channel, and therefore should not have any EI, EM or EC
> > registers at all!

on the 21060/61/62 DMA channel 6 serves link buffer4 or external port
buffer 0. on the 21065L DMA channel6 serves sport1 a transmit. > > Please advise on correct IOP register values for DMA CH2
> > (SPORT1 Rx A), CH3 (SPORT1 Rx B), CH6 (SPORT1 Tx A CHAIN) and CH7
> > (SPORT1 Tx B CHAIN).

see above.
the assigment sport no. -- dma channel no. changed for the 21065L. so you
have to use the 'new names' mentioned in def21065L.h. i didn't check it
completely, but they should match with the manual. > > Thank you and kind regards,
> > Andor Bariska

hope i could help a bit. had the same problem at first. > > You *can* afford the best
if only i could afford the EQ1-LP, then i finally could sell my behringer
parametrics ;-)

do you use the 21065L for your audio products ? Regards
Michael

--
Michael Haertl




(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )