On 27/11/2013 19:13,
tond...@gmail.com wrote:
> I need to find out what the *Pins 29 and 30* on Pin *Header P9* (SPI1_D0
> and SPI1_D1) are.
> Which is *MISO* (Master Input Slave Output) and which is *MOSI* (Master
> Output Slave Input)?
> I looked for that a long time but couldn't find it anywhere, can
> somebody help me? That would be great!
>
> Nice Greetings
> Thomas
>
Easiest way that I find is to look at the SPI DT. As you can see it shows:
spi1_pins_s0: spi1_pins_s0 {
pinctrl-single,pins = <
0x190 0x33 /* mcasp0_aclkx.spi1_sclk, INPUT_PULLUP | MODE3 */
0x194 0x33 /* mcasp0_fsx.spi1_d0, INPUT_PULLUP | MODE3 */
0x198 0x13 /* mcasp0_axr0.spi1_d1, OUTPUT_PULLUP | MODE3 */
0x19c 0x13 /* mcasp0_ahclkr.spi1_cs0, OUTPUT_PULLUP | MODE3 */
>;
};
spi1_d0 is INPUT, hence MISO, spi_d1 is output hence MOSI.
Cheers,
--
Jack Mitchell (
ja...@embed.me.uk)
Embedded Systems Engineer
http://www.embed.me.uk
--