SPI beginner question - using an external crystal and SPI

Hello,

I have a beginner question about SPI. Any help would be much appreciated:

When I read the documentation (http://arduino.cc/en/Reference/SPI) about SPI, it states that "On the Arduino Duemilanove and other ATmega168 / 328-based boards, the SPI bus uses pins 10 (SS), 11 (MOSI), 12 (MISO), and 13 (SCK)."

Pin 10, unless I'm mistaken, is this one...

But I'm using an external crystal for my clock that uses pin 10, which seems pretty typical. My breadboard looks similar to this:

I'm using an Atmega328.

If I use SPI, can I not use an external crystal for the clock? If so, is it still going to be faster to use SPI than use shiftOut? Ultimately I'm going to be communicating to an audio codec IC and a F-RAM memory chip.

Cheers,

  • Bret

The 10,11,12,13 are referring to Digital pins 10,11,12,13, which are physical pins 16,17,18,19.

Oh, thank goodness! Ha ha ha. That makes my life a lot easier. Thanks a ton for the response. :slight_smile:

Cheers,

  • Bret