Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| network_protocol_programming_lab:change_frequency [2020/05/22 09:50] – rathke | network_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: |
| - | * open the CC1200 panel and select “Symbolrate 38.4kbps, | + | * Change |
| - | * press the button “Packet | + | * Read chapter |
| - | * in the option '' | + | * you should implement a function for programming the frequency and printing the current programmed frequency. |
| - | * now, choose an appropriate length of the '' | + | * for testing compare your computed values of the FREQ registers with SmartRF Studio. |
| - | * export all registers | + | * In your program, set RF to an arbitrary value (e.g. 851 MHz) within the supported frequency band of CC1200. |
| - | * connect | + | * 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, |
| - | * verify that the registers have been written correctly. | + | * Now, stop the transmitter and change the frequency to your selected frequency. |
| - | * Read chapter | + | * Now, you should be able to receive the packets. |
| - | * Bring SmartRF Studio | + | |
| - | * start the transmitter. At the receiver, the BeagleBone Black, | + | |
| - | 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 '' | + | * take care on rounding errors. E.g. the frequency should be 868 MHz and not 867.5 MHz. |
| - | * look, which registers have been changed. | + | |
| - | * modify the changed registers in your program. You do not need to reexport the complete registers. | + | |
| - | * now, implement variable length packets | + | |
