Transmitting and receiving a single test byte over CYRF6936-40LFXC radio module using PSoC 4

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 Hi,

   

I am working on CYRF6936 transceiver module interfaced with PSoC 4 prototyping kit. I think it is one of SPI based "CYFI" radio modules housed on Artaflex AWP24S modules. 

   

I am just 2 months old to PSoC world. I am trying to establish a basic one- way communication between two such modules with one module acting as a transmitter and the other as a receiver. 

   

I recently raised a support ticket in MyCases in this same website asking for code to achieve the same. They instead provided me with Star Network Protocol (CYFISNP) code with HUB and NODE modules.

   

Prob#1:

   

I went through the documentation but I'm not able to understand the exact sequence of operation of the hub and nodes. Also I'm not able to establish the desired simplex communication using the same API functions that the SNP code uses, since the "core" of the code is dissolved inconspicuously within the complexity of the protocol itself. Basically the basic radio operation is severely coupled with the protocol operation making it difficult for beginners to test the working of the CYFI radio module. 

   

Prob#2:

   

There is a sample code in the CYFISPI datasheets but it is for M8C architecture. 

   

Prob#3:

   

Also the connector on the CYFI module is not compatible with standard connector buses, which requires us to use a connector "bridge" to connect to PSoC. The exact part number of the bridge is PDC-9370. Unfortunately there is no datasheet available for this connector and hence I'm not able to figure out the exact pins to connect to PSoC. 

   

Prob#4:

   

CYRF6936-40LFXC is obsolete and it is replaced by CYRF6936-40LTXC. The radio drivers availabe are for CYRF7936 and PRoC. I am not sure if they are compatible with my part number. If they are not then I'm not able to get the correct datasheet.

   

Nevertheless I have managed to put a few lines of code and the "guessed" connections together but the transmitter is stuck in TX mode and receiver is stuck in RX mode. I am using character LCD for display and debug. 

   

I have attached a few snaps of the setup and the code itself. I would be very grateful if someone can go through the code and help me get the radios talking to each other. 

   

Thanks and regards,

   

Shreesha

0 Likes
4 Replies
Anonymous
Not applicable

Hello there? Any luck anyone?

   

I recently found an excellent explanation on how to use the cyfi radio.

   

I programmed accordingly, manually configuring all registers  but still no luck. I have attached the new code here. TX_GO is always stuck at 0 even after initializing the buffers and forcing the value to 1.

   

Regards,

   

Shreesha

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

When you have no luck in the forum here, you ought to create a "MyCase" to get help from a Cypress engineer directly.

   

At top of this page use "Support & Community -> Technical Support -> Create a MyCase"

   

 

   

Bob

0 Likes
Anonymous
Not applicable

I got in touch with the support engineers.

   

Thank you,

   

Shreesha

0 Likes