This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: audio (on Assabet)


On Mon, 2002-01-21 at 15:21, Jonathan Larmour wrote:
> Robert Lee wrote:
> > 
> > Hi, Jonathan,
> > 
> > I do not understand how to use this constant.  The
> > default value is 0x00000100 (same as yours) in my
> > directory.  Should I change it to another value and
> > then recreate redboot? or change the value and then
> > recreate the application program?  Which value should
> > I use?
> 
> You need to OR this into the BCR. Looks like you should find a programming
> manual from Intel on the Assabet!
> 

There's a function for this 'assabet_BCR()' (see 
  hal/arm/sa11x0/assabet/current/src/assabet_misc.c)

Note: just turning on the bit is the easy part.  You'll also have to
write a driver to "drive" the sound device as well.

> Jifl
>  
> > Thank you.
> > 
> > --- Jonathan Larmour <jlarmour@redhat.com> wrote:
> > > Robert Lee wrote:
> > > >
> > > > Hi,
> > > >
> > > > Does anybody know how to enable audio for Assabet?
> > >
> > > Looks like the Board Control Register, from
> > > hal/arm/sa11x0/assabet/current/include/assabet.h:
> > >
> > > #define SA1110_BCR_AUDIO_ON         0x00000100
> > > // 1 = UDA1341, MIC, DAA
> > > power on
> 
> -- 
> Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
> Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]