Hi Dan, couple steps:

1) look at the schematic and see what P#.# you need to hookup to
2) set the PIN sel register(s) accordingly
3) set your pullup/pulldown/disconnects on the chip, PINMODE
4) There is the SPI peripheral, and there are 2 SSP# peripherals. They are
different. The references to SPI io lines that don't have a number are for
the SPI peripheral. The spi IO lines with a number  after them are for the
SSP peripheral. If you need to use the SSP peripherals, it will be a
different configuration approach then the SPI peripheral...

hope this helps....

-dave

On Sat, Aug 14, 2010 at 1:35 PM, Daniel Ferguson <
danieljayfergu...@gmail.com> wrote:

> So,
>
> The chip has SPI and SSP
> the SSP can be configured as an SPI (i think).
>
> So, if SPI0 is going to the LCD, which I don't care about, does this
> indicate that if i wanted to use SPI1
> I need to configure SSP1 as an SPI?
>
> The existing SPI code in the repo just uses SPI0.
> which leaves bums like me with different boards in a fog of war.
>
> +1 to reasons why you should get the same board as everyone else.
>
> Thanks,
> Daniel
>
> _______________________________________________
> psas-avionics mailing list
> psas-avionics@lists.psas.pdx.edu
> http://lists.psas.pdx.edu/mailman/listinfo/psas-avionics
>
>
_______________________________________________
psas-avionics mailing list
psas-avionics@lists.psas.pdx.edu
http://lists.psas.pdx.edu/mailman/listinfo/psas-avionics

Reply via email to