Skip to main content
added 619 characters in body
Source Link
Mikael Patel
  • 8k
  • 2
  • 16
  • 21

Can I use IO10 as digital IO while using SPI interface?

On AVR it must be OUTPUT when using SPI in master mode and INPUT in slave mode.

If my arduino is the master device in a SPI network, hence not using the slave select SS pin, can I use the same pin as IO10?

The SS pin (D10) has to be OUTPUT when using SPI master mode. It can be used for chip select on the SPI bus (slave select) or some other output function.

So far the Arduino design with AVR (e.g. ATmega328). The Intel Galileo based Arduino has the following block diagram:

Intel Galileo Logic Schematics

IO10-IO14 are multiplexed from SPI1 or GPIO. This implies that the SPI SS (IO10) signal is hardwired to the SPI controller when enabled. Last, according to the product info SPI is master only. More details schematics details here.

Cheers!

Can I use IO10 as digital IO while using SPI interface?

On AVR it must be OUTPUT when using SPI in master mode and INPUT in slave mode.

If my arduino is the master device in a SPI network, hence not using the slave select SS pin, can I use the same pin as IO10?

The SS pin (D10) has to be OUTPUT when using SPI master mode. It can be used for chip select on the SPI bus (slave select) or some other output function.

Cheers!

Can I use IO10 as digital IO while using SPI interface?

On AVR it must be OUTPUT when using SPI in master mode and INPUT in slave mode.

If my arduino is the master device in a SPI network, hence not using the slave select SS pin, can I use the same pin as IO10?

The SS pin (D10) has to be OUTPUT when using SPI master mode. It can be used for chip select on the SPI bus (slave select) or some other output function.

So far the Arduino design with AVR (e.g. ATmega328). The Intel Galileo based Arduino has the following block diagram:

Intel Galileo Logic Schematics

IO10-IO14 are multiplexed from SPI1 or GPIO. This implies that the SPI SS (IO10) signal is hardwired to the SPI controller when enabled. Last, according to the product info SPI is master only. More details schematics details here.

Cheers!

added 152 characters in body
Source Link
Mikael Patel
  • 8k
  • 2
  • 16
  • 21

Can I use IO10 as digital IO while using SPI interface?

On AVR it must be OUTPUT when using SPI in master mode and INPUT in slave mode.

If my arduino is the master device in a SPI network, hence not using the slave select SS pin, can I use the same pin as IO10?

On AVR theThe SS pin (D10) has to be OUTPUT inwhen using SPI master mode. It can be used for chip select on the SPI bus (slave select) or some other output function.

Cheers!

If my arduino is the master device in a SPI network, hence not using the slave select SS pin, can I use the same pin as IO10?

On AVR the SS pin has to be OUTPUT in SPI master mode. It can be used for chip select on the SPI bus (slave select) or some other output function.

Cheers!

Can I use IO10 as digital IO while using SPI interface?

On AVR it must be OUTPUT when using SPI in master mode and INPUT in slave mode.

If my arduino is the master device in a SPI network, hence not using the slave select SS pin, can I use the same pin as IO10?

The SS pin (D10) has to be OUTPUT when using SPI master mode. It can be used for chip select on the SPI bus (slave select) or some other output function.

Cheers!

Source Link
Mikael Patel
  • 8k
  • 2
  • 16
  • 21

If my arduino is the master device in a SPI network, hence not using the slave select SS pin, can I use the same pin as IO10?

On AVR the SS pin has to be OUTPUT in SPI master mode. It can be used for chip select on the SPI bus (slave select) or some other output function.

Cheers!