Connect with us

Interfacing with Sparkfun transceiver (SPI)?

Discussion in 'Microcontrollers, Programming and IoT' started by Texton, Jul 27, 2012.

Scroll to continue with content
  1. Texton


    Jul 27, 2012
    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 :)
  2. Harald Kapp

    Harald Kapp Moderator Moderator

    Nov 17, 2011
  3. Texton


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


    Jul 27, 2012
    I found the problem!!!

    My CSN selection was wrong, because I used a predefined SPI Module :)
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day