Problem SPI bus with Native USB port

Hi,
I want to program the samd21 microcontroler (Arduino M0 pro) with the native USB port. Unfortunately, I can't configure my LORA module (sx1272) through the SPI bus.
Why ?
If i use the programming port, I perfectly manage to configure my module.

Board: Arduino M0 pro
IDE : Arduino 1.7.10
library: sx1272.h and SPI.h

Regards