Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
network_protocol_programming_lab:change_frequency [2020/05/22 09:53] – [Tasks] rathkenetwork_protocol_programming_lab:change_frequency [2021/04/19 12:40] (current) – [Tasks] rathke
Line 19: Line 19:
 This task requires  This task requires 
  
-  * a ready BeagleBone Black equipped with the CC1200 +  * a ready BeagleBone Black equipped with the CC1200. 
-  * one TI Development Kit for the CC1200 +  * 4C attached to a second BeagleBone Black equipped with the CC1200.
-  * Smart RF Studio. +
 ===== Tasks  ===== ===== Tasks  =====
  
   * the programming is done by reusing the source files of lesson [[network_protocol_programming_lab:15.3_2_exercise|2. Exercise: Packet Reception]]. Make a copy of the files.   * the programming is done by reusing the source files of lesson [[network_protocol_programming_lab:15.3_2_exercise|2. Exercise: Packet Reception]]. Make a copy of the files.
-  * Read chapter about the packet handling of the [[http://www.ti.com/lit/ug/swru346b/swru346b.pdf?ts=1588225642109|CC1200 Users Guide]] and implement it. +  * Change the symbol rate to 1.2 kBaud and the preamble count to 6 bytes. If necessary reexport the register value from 4C.  
-  * Bring SmartRF Studio in “Packet TX” mode, change the ''length config'' to fixed and change the ''Length'' field to the value used in the export file +  * Read chapter 9.12 ff. about programming the RF frequency in the [[http://www.ti.com/lit/ug/swru346b/swru346b.pdf?ts=1588225642109|CC1200 Users Guide]] and implement it. 
-  *  start the transmitter. At the receiver, the BeagleBone Black, You should now receive the packets.+  * you should implement a function for programming the frequency and printing the current programmed frequency.  
 +  * for testing compare your computed values of the FREQ registers with SmartRF Studio
 +  * In your programset RF to an arbitrary value (e.g. 851 MHz) within the supported frequency band of CC1200. 
 +  * In SmartRF Studio also change the symbol rate to 1.2 kBaud and the preamble count to 6 Bytes. 
 +  * Bring 4C in “TX Packet Mode" using the default frequency (858MHz). 
 +  * start the transmitter. At the receiver, the BeagleBone Black, you should now receive **NO** packet. 
 +  * Now, stop the transmitter and change the frequency to your selected frequency. 
 +  * Now, you should be able to receive the packets.
  
-If you are able to receive packets in fixed length mode, the next step will be to receive packets in variable length mode:+===== Hints  =====
  
-  * go back to SmartRF Studio and change the ''length config'' to ''variable'' +  * take care on rounding errorsE.gthe frequency should be 868 MHz and not 867.5 MHz.
-  * look, which registers have been changed. +
-  * modify the changed registers in your programYou do not need to reexport the complete registers. +
-  * now, implement variable length packets and test it.+
  
  
network_protocol_programming_lab/change_frequency.1590134007.txt.gz · Last modified: 2020/05/22 09:53 by rathke
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0