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:fast_scan [2020/06/11 09:07] – [Exercise: Scanning faster] rathkenetwork_protocol_programming_lab:fast_scan [2021/04/19 12:44] (current) – [Requirements] rathke
Line 17: Line 17:
 The answer could be to look deeper at the scanning process: Changing the frequency need every time a calibration of the Voltage Controlled Oscillator (VCO). Calibration means, that the VCO must be re-configured. Calibration is done normally every time leaving the idle state and switching to receiving or transmitting state. The calibration overhead is included in the measured SPI overhead.  The answer could be to look deeper at the scanning process: Changing the frequency need every time a calibration of the Voltage Controlled Oscillator (VCO). Calibration means, that the VCO must be re-configured. Calibration is done normally every time leaving the idle state and switching to receiving or transmitting state. The calibration overhead is included in the measured SPI overhead. 
  
-To fasten calibration, CC1200 offers a pre-calibration mode. Pre-calibration means, that sou select a frequency by programming the FREQ registers. Afterwards you instruct a manual calibration by performing the SCAL strobe command. The SCAL strobe instructs the CC1200 to do a calibration of the VCO by the selected frequency. If the calibration is done (CC1200 is back in idle state) the result of the calibration is sorted in the FS_CHP, FS_VCO4 and FS_VCO2 registers.+To fasten calibration, CC1200 offers a pre-calibration mode. Pre-calibration means, that you select a frequency by programming the FREQ registers. Afterwards you instruct a manual calibration by performing the SCAL strobe command. The SCAL strobe instructs the CC1200 to do a calibration of the VCO by the selected frequency. If the calibration is done (CC1200 is back in idle state) the result of the calibration is sorted in the FS_CHP, FS_VCO4 and FS_VCO2 registers.
  
 This means, whenever you like to jump to a frequency, just program the FREQ registers and the three mentioned register in idle state and jump to receive or transmit state without calibration. This only works, if automatic calibration has been disabled in the SETTLING_CFG register. This means, whenever you like to jump to a frequency, just program the FREQ registers and the three mentioned register in idle state and jump to receive or transmit state without calibration. This only works, if automatic calibration has been disabled in the SETTLING_CFG register.
Line 28: Line 28:
 This task requires  This task requires 
  
-  * a ready BeagleBone Black equipped with the CC1200 operating at a symbol rate of 1.2 kBaude+  * 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 sending packets with a symbol rate of 1.2 kBaude and a preamble count of 6 Bytes. +  * 4C sending packets with a symbol rate of 1.2 kBaude and a preamble count of 6 Bytes.
 ===== Tasks  ===== ===== Tasks  =====
  
   * the programming is done by extending the source files from the previous lesson [[network_protocol_programming_lab:robust|Exercise: Making the system robust against disturbances]].   * the programming is done by extending the source files from the previous lesson [[network_protocol_programming_lab:robust|Exercise: Making the system robust against disturbances]].
-  * Extend your program to control packet reception by timers+  * Extend your program by pre-calibration
   * For testing, start your program and use the same test scenarios used by [[network_protocol_programming_lab:robust|Exercise: Making the system robust against disturbances]].   * For testing, start your program and use the same test scenarios used by [[network_protocol_programming_lab:robust|Exercise: Making the system robust against disturbances]].
-  * To open the possibility, of testing, that pre-calibration is really faster than auto-calibration, make sure, that both calibration methods can be enabled and disabled.+  * To open the possibility to test, that pre-calibration is really faster than auto-calibration, make sure, that both calibration methods can be enabled and disabled.
  
 ===== Hints  ===== ===== Hints  =====
network_protocol_programming_lab/fast_scan.1591859221.txt.gz · Last modified: 2020/06/11 09:07 by rathke
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0