This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Initiating transfer in cc2533

Other Parts Discussed in Thread: CC2533, REMOTI

Hi,

I'm triying to control the rf part of the cc2533 manually. Ineed to transmit 5bytes of fixed data continously. Initially after setting the rf power, frequency, mod format etc i wrote the rfd with one data. Now i need to initiate the transfer and for that i need to give a stxon strobe signal. How can i give the same manually in my code? Is it enough to give RFST = 0xD9; in my code to initiate

I use the RemoTI sample remote control code...

Hoping the needful as soon as possible...

 

 

  • Hi,

     

    Did you try to use the "RTI_TestModeReq" function (in file rti_testmode.c)?

    you can inspire from this fonction to control RF.

     

    Regards,

  •    -   First initialise the clocks and power management modules (keep HAL_BOARD_INIT(); as a rerferance)

       -   Initialise RF from settings exported from RF studio (Mode in normal and not in continous transmission, Auto CRC should be enabled.Else CRC needs to be calculated  and given as extra two bytes to RFD at end of below given procedure)

       -   Write RFD with values you have to send. (First Number of Bytes to be send is to be written to RFD followed by the bytes ). Example is given below

                   RFD = 0x07; //Number of bytes is 5. The rest 2 is for CRC

                   RFD = 0x0A; //Data byte to send

                   RFD = 0x0B; //Data byte to send

                   RFD = 0x0C; //Data byte to send

                   RFD = 0x0D; //Data byte to send

                   RFD = 0x0E; //Data byte to send

       -   Now give commands to CSP. For this use RFST register. Referance is given below

                   RFST = 0xFF; // ISCLEAR

                   RFST = 0xD9; // STXON. Written to instruction memory of CSP

                   RFST = 0xD2 // STOP

                   while(1){

                      RFST = 0xE1 // ISSTART

                      delay();

                   }

    Use SWRU191B. Its very useful...

  • Hi friends,

    Pls comment on above given procedure if there is any mistake.

    Jithesh