Hi Sridhar,
in master mode SCK , MOSI are outputs and MISO is an input.
SCK is generated by the uC, the frequenc are set by using the SxSPCCR
register.
Andreas Haack--- In lpc2000@yahoogroups.com, Sridhar gadda
<sridhargadda@y...> wrote:
> Hi,
>
> So, SCK0 signal we should generate through software
control or µc generates on its own when you set register S0CPCCR ???
( when µC as master )
>
> Regards
>
> haack0815 <lpc_arm@s...> wrote:
>
> Hi Sridhar,
>
> if the SPI is configured as master the SSEL pin is an input and must
> be held high (pullup)to opperate.
> You must chose another I/O pin for the chip select signal of the slave
> device.
>
> Andreas Haack
> --- In lpc2000@yahoogroups.com, Sridhar gadda <sridhargadda@y...> wrote:
> > Does that mean I should give 3.3v at pin SSEL ?
> > could you explian your sencntence "you have make pull up a 3.3V for
> > SPI interface to act as a master, and to choose other pin GPIO for
> SSEL!!! " .........why sould I choose other GPIO as SSLE ???
> >
> > regards
> >
> > Sridhar
> >
> >
> > dasbento@a... wrote:
> >
> > Hello,
> > when you configured as SSEL, you have make pull up a 3.3V for
> > SPI interface to act as a master, and to choose other pin GPIO for
> SSEL!!!
> >
> > Domingos
> >
> >
> >
> >
> > Citando Sridhar gadda :
> >
> > >
> > > Hi,
> > > when you configured SPI interface , Master as µc. In manual its
> > > r> eturn that "LPCconfigured as SPI master MUST select SSEL
> > functionality on
> > > a> n appropriate pin and have HIGH level on this pin in order to act
> > as a
> > > mast> er" (page 170)
> > >
> > > if you configure PINSEL0 = 0x00005500 // selects SCK0, MISO,
MOSI and
Show quoted textHide quoted text
> > > SSL> E
> > >
> > > but how can we generate HIGH on SSLE pin which is P0.7..........As
> > far as
> > > > I know you can only generate HIGH on GPIO pins only if they
> > configured as
> > > O> UTPUT pins.
> > >
> > > My question is how to generate high on SSLE when it is not
> > > con> figured as GPIO pin.
> > >
> > > Any help and suggestions would be appreciated.
> > >
> > > Thanks in advance.
> > >
> > > With regards,
> > >
> > > Sridhar
> > >
> > >
> > >
> > >
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam? Yahoo! Mail has the best spam protection around
> > > http://mail.yahoo.com
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > >
> > >
> > >
> > >
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> > _________________________________________________________
> > CEAC Cursos de formação profissional - peça informações aqui.:
> > http://ceac.online.pt/
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > ---------------------------------
> > Do you Yahoo!?
> > Meet the all-new My Yahoo! Try it today!
> >
> > [Non-text portions of this message have been removed]
>
>
>
>
> Yahoo! Groups SponsorADVERTISEMENT
>
>
> ---------------------------------
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/lpc2000/
>
> To unsubscribe from this group, send an email to:
> lpc2000-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Send holiday email and support a worthy cause. Do good.
>
> [Non-text portions of this message have been removed]