Arduino freezing after moving from Mega to Nano.

Does SPI use the same pins on the Mega as on the Nano ?