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:53] – [Tasks] 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 [[network_protocol_programming_lab: | * the programming is done by reusing the source files of lesson [[network_protocol_programming_lab: | ||
| - | * Read chapter | + | |
| - | * Bring SmartRF Studio | + | |
| - | * start the transmitter. At the receiver, the BeagleBone Black, | + | * 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 program, set 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, | ||
| + | * 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 '' | + | * 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 | + | |
