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:50] 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 [[]] +  * 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
-  * open the CC1200 panel and select “Symbolrate 38.4kbps, 2-GFSK, RX BW 100kHz, ETSI Standard (868MHz)” in the typical settings part +  * Change the symbol rate to 1.2 kBaud and the preamble count to 6 bytesIf necessary reexport the register value from 4C.  
-  * press the button “Packet RX” in the lower windowSome registers in the register view will change their value +  * 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. 
-  * in the option ''length config'' change ''variable'' to ''fixed''+  * you should implement a function for programming the frequency and printing the current programmed frequency.  
-  * now, choose an appropriate length of the ''Length'' field, e.g. 10. +  * for testing compare your computed values of the FREQ registers with SmartRF Studio
-  * export all registers to a fileThis means 208 registers must be exported. +  * In your programset RF to an arbitrary value (e.g. 851 MHz) within the supported frequency band of CC1200. 
-  * connect the BeagleBone Black to your computer and login as superuser. +  * In SmartRF Studio also change the symbol rate to 1.2 kBaud and the preamble count to 6 Bytes. 
-  * copy the export file from SmartRF Studio to the BeagleBone Black +  * Bring 4C in “TX Packet Mode" using the default frequency (858MHz). 
-  * import the export file into your program and initialize the registers according the values of the export file. +  * start the transmitter. At the receiver, the BeagleBone Black, you should now receive **NO** packet. 
-  * verify that the registers have been written correctly+  * Now, stop the transmitter and change the frequency to your selected frequency. 
-  * 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. +  * Now, you should be able to receive the packets.
-  * 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 +
-  *  start the transmitter. At the receiver, the BeagleBone Black, You should now 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.1590133816.txt.gz · Last modified: 2020/05/22 09:50 by rathke
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0