PROBLEM with NRF24L01 and Digital Pot

hi all
I'm using arduino pro mini with nrf24l01 and mcp4131 digital pot. To control mcp I'm using SPI with the following pins SCK digital Pin 13 SDI/SDO digital pin 11 and CS on Pin 5. Also my connection for nrf24l01 is
CE PIN 9
SCN PIN 10
SCK PIN 13
MOSI 11
MISO 12
The problem is that digital pot seems to take wrong values because of nfr. I have read some articles about spi that I need to change some pins to connect more than on device but I can't understand exactly how to do it could anyone help me?
Thanks