Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| learn:courses:unit-4-lab4b:start [2017/03/21 22:12] – [Appendix B: Allocating a Heap in MPLAB X] Martha | learn:courses:unit-4-lab4b:start [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Lab 4b: Application of Asynchronous Serial Communications Protocol for Real-time Control ====== | ====== Lab 4b: Application of Asynchronous Serial Communications Protocol for Real-time Control ====== | ||
| + | [[{}/ | ||
| + | [[{}/ | ||
| + | [[{}/ | ||
| === Download This Document === | === Download This Document === | ||
| - | * {{ : | + | {{ : |
| ===== 1. Objectives ===== | ===== 1. Objectives ===== | ||
| - | | + | |
| - | | + | |
| - | | + | |
| ---- | ---- | ||
| - | ===== 2. Basis Knowledge ===== | + | ===== 2. Basic Knowledge ===== |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| Line 23: | Line 26: | ||
| ===== 3. Equipment List ===== | ===== 3. Equipment List ===== | ||
| ==== 3.1. Hardware ==== | ==== 3.1. Hardware ==== | ||
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| In addition, we suggest the following instruments: | In addition, we suggest the following instruments: | ||
| - | | + | |
| Line 36: | Line 39: | ||
| The following programs must be installed on your development work station: | The following programs must be installed on your development work station: | ||
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| ---- | ---- | ||
| ===== 4. Project Takeaways ===== | ===== 4. Project Takeaways ===== | ||
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| Line 64: | Line 67: | ||
| ===== 7. Background Information ===== | ===== 7. Background Information ===== | ||
| - | [[https:// | + | [[/ |
| ---- | ---- | ||
| Line 112: | Line 115: | ||
| ===== 9. Questions ===== | ===== 9. Questions ===== | ||
| - | 1. Why is it appropriate that the UART getstrU1 | + | 1. Why is it appropriate that the UART getstrU4 |
| - | + | ||
| - | <color # | + | |
| - | \\ | + | |
| - | If the communications is being generated automatically and can be sent at the maximum speed, getstrU1 should be modified to generate an interrupt whenever a new byte of data is received. A flag will still be needed to indicate when the text string is completely received and is ready for processing. | + | |
| - | </ | + | |
| 2. What are the advantages of using serial communications to link to processors? | 2. What are the advantages of using serial communications to link to processors? | ||
| - | |||
| - | <color # | ||
| - | 1. Simultaneous (full duplex) communications\\ | ||
| - | 2. Requires less I/O pins and three wires - (Tx, Rx and the common electrical reference)\\ | ||
| - | 3. Handshaking handled in hardware\\ | ||
| - | 4. Common protocol\\ | ||
| - | 5. Supported in most modern processors\\ | ||
| - | 6. Longer distance communications\\ | ||
| - | </ | ||
| 3. What are the disadvantages of using serial communications to link to processors? | 3. What are the disadvantages of using serial communications to link to processors? | ||
| - | <color # | ||
| - | 1. Slower speed\\ | ||
| - | 2. Additional processor hardware\\ | ||
| - | </ | ||
| ---- | ---- | ||
| Line 149: | Line 134: | ||
| ===== Appendix A: Basys MX3 Schematic Drawings ===== | ===== Appendix A: Basys MX3 Schematic Drawings ===== | ||
| - | {{ : | + | {{ : |
| //Figure A.1. PIC32MX370 to FT232RQR IC schematic diagram.// | //Figure A.1. PIC32MX370 to FT232RQR IC schematic diagram.// | ||
| Line 169: | Line 154: | ||
| {{ : | {{ : | ||
| //Figure B.1. Allocating Heap size.// | //Figure B.1. Allocating Heap size.// | ||
| + | |||
| + | ---- | ||
| + | |||
| + | [[{}/ | ||
| + | [[{}/ | ||
| + | [[{}/ | ||
| + | [[{}/ | ||
| + | [[{}/ | ||
| + | [[{}/ | ||

