Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 5 > Interfacing with Sparkfun transceiver (SPI)?

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Interfacing with Sparkfun transceiver (SPI)?
Moderator:
ANCY

Post Reply
Follow this topic



Interfacing with Sparkfun transceiver (SPI)?

Texton posted on 27 Jul 2012 11:10 AM PST
Member
10 Forum Posts

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 always 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!! 




Re: Interfacing with Sparkfun transceiver (SPI)?

hli posted on 27 Jul 2012 12:42 PM PST
Top Contributor
675 Forum Posts

Did you ask already in the Sparkfun forum? This doesn't seem to be a PSoC related problem to me...



Re: Interfacing with Sparkfun transceiver (SPI)?

hli posted on 27 Jul 2012 12:47 PM PST
Top Contributor
675 Forum Posts

According to the data sheet (www.nordicsemi.com/eng/nordic/download_resource/8041/1/89536223 ), page 48, the nRF24L01 responds to every SPI action by returning the status register (it is actually always returned when the nRF24L01 reads the command itself, so it doesn't know at this moment whether it is a read or a write)..






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20