Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
network_protocol_programming_lab:robust [2020/06/02 09:48] – [Exercise: Making the system robust against disturbances] rathke | network_protocol_programming_lab:robust [2021/04/19 12:43] (current) – [Requirements] rathke | ||
---|---|---|---|
Line 7: | Line 7: | ||
Both kind of error can be avoided by timers. In the first case, if no sync work will be received, there will be no data in the FIFO. An also, if the length field is too large, the FIFO becomes empty and will remain empty. Therefore a solution of the problem could be, that after some time, there must be some data in the FIFO. If not, the frame reception can be aborted. | Both kind of error can be avoided by timers. In the first case, if no sync work will be received, there will be no data in the FIFO. An also, if the length field is too large, the FIFO becomes empty and will remain empty. Therefore a solution of the problem could be, that after some time, there must be some data in the FIFO. If not, the frame reception can be aborted. | ||
- | In this lesson, you should control data reception be timers. It is up to you, how timers will be implemented. Timers could be simple implemented by software loops incrementing a variable, by delay functions or be interrupt service routines. | + | In this lesson, you should control data reception be timers. It is up to you, how timers will be implemented. Timers could be simple implemented by software loops incrementing a variable, by delay functions or by interrupt service routines. |
===== Requirements | ===== Requirements | ||
Line 13: | Line 13: | ||
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 | + | * 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: | * the programming is done by extending the source files from the previous lesson [[network_protocol_programming_lab: | ||
* Extend your program to control packet reception by timers. | * Extend your program to control packet reception by timers. | ||
- | * For testing, start your program and use the same test scenarios | + | * For testing, start your program and use the same test scenarios |
- | * If an error occurs, your program should continue receiving packets. | + | * If an error occurs, your program should continue receiving packets. |
===== Hints ===== | ===== Hints ===== |