Maker Pro
Maker Pro

Interfacing with Sparkfun transceiver (SPI)?

Texton

Jul 27, 2012
14
Joined
Jul 27, 2012
Messages
14
Hi all.

I am trying to interface my PSoC5 microcontroller with a the Sparkfun transceiver: nRF24L01 through SPI. The data sheet for the transceiver says that it will return the status register every spi-cycle if not given a command.

If I for example send a read-command to the tranceiver, then the register I requested should be available in the next SPI-cycle.

Now, problem is that even though I send a command to the transceiver, it allways return the status register - for some reason it doesn't get/understand my commands??

Anyone having any experiences with this or have an idea why it doesn't get/understand my commands?..

Thanks in advance - i am really disparate :)
 

Texton

Jul 27, 2012
14
Joined
Jul 27, 2012
Messages
14
thanks for the reply, but it is pretty much the same as the datasheet for the transceiver - which I have read several times. :)
 

Texton

Jul 27, 2012
14
Joined
Jul 27, 2012
Messages
14
I found the problem!!!

My CSN selection was wrong, because I used a predefined SPI Module :)
 
Top