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 10:08] – [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 9.12 ff. about programming the RF frequency 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.  
 +  * 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.
   * you should implement a function for programming the frequency and printing the current programmed frequency.    * 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.   * for testing compare your computed values of the FREQ registers with SmartRF Studio.
-  * now, set RF to an arbitrary value within the supported frequency band of CC1200 +  * In your program, set RF to an arbitrary value (e.g. 851 MHz) within the supported frequency band of CC1200. 
-  * Bring SmartRF Studio in “Packet TX” mode using the default frequency.+  * 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.   * 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, stop the transmitter and change the frequency to your selected frequency.
   * Now, you should be able to receive the packets.   * Now, you should be able to receive the packets.
 +
 +===== Hints  =====
 +
 +  * take care on rounding errors. E.g. the frequency should be 868 MHz and not 867.5 MHz.
 +
  
network_protocol_programming_lab/change_frequency.1590134939.txt.gz · Last modified: 2020/05/22 10:08 by rathke
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0