I am using an Arduino Nano, ATmega328P with the old bootloader. When I call
SPI.begin() anywhere in the program (either in a seperate callable function, the setup or inside main) the program freezes and the Arduino doesn't seem to budge. Any chance I am doing anything wrong?
It does not matter if I have periphery hooked up or if I don't.
Other libraries which use SPI like the nRFLite library work just fine. I know this because I can successfully communicate with the nRF chip through the library and the example sketches work.