How to Configure the CyFi Protocol Data Rate in CY3271 Kit - KBA84673

Question: How do I configure the CyFi protocol data rate in the CY3271 Kit?

 

Answer:

You control the CyFi protocol data rate by changing the time gap between consecutive data packets transmitted from the RF Expansion Card (FTRF) of the CY3271 kit. This time gap is the Report Interval and the kit supports these values for the report interval

  •   1 second
  •   5 seconds
  •   30 seconds
  •   1 minute
  •   5 minutes

For example, when the report interval is 30 seconds, a data packet is sent once every 30 seconds. The size of the data packet is uniform (7 bytes) for all five report interval values. The lowest report interval (1 second) gives you the fastest data rate.

The firmware changes its current report interval value to next value when the SW2 button on RF Expansion Card (FTRF) is pressed for more than 2 seconds. If current report interval value is 1 second, the firmware changes it to 5 seconds. If the current report interval value is 5 minutes it rolls back and changes the report interval to 1 second.

Follow this procedure to change the report interval value:

  

Figure 1 RF Expansion Card (FTRF)

  •   Press the SW2 button for more than 2 seconds
  •   Release the button when the red LED glows continuously. When SW2 is pressed for more than 2 seconds the firmware changes the report interval to next value and lights the red LED continuously.
  •   Look at the red LED immediately after you release the SW2 button. The red LED blinks a finite number of times to indicate the current report interval value as shown below.
                                                                                                                                                  
    
      #
   
     Report Interval
    
     Number of Red LED Blinks
    
      1
   
     1 second     1 time
    
      2
   
     5 seconds     2 times
    
      3
   
     30 seconds     3 times
    
      4
   
     1 minute     4 times
    
      5
   
     5 minutes     5 times