Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| learn:courses:unit-3-lab3a:start [2017/03/16 22:01] – Martha | learn:courses:unit-3-lab3a:start [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Lab 3a: LCD Parallel Interface - Direct IO Control ====== | ====== Lab 3a: LCD Parallel Interface - Direct IO Control ====== | ||
| + | [[{}/ | ||
| == Download This Document == | == Download This Document == | ||
| * {{ : | * {{ : | ||
| Line 22: | Line 23: | ||
| ===== 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: | ||
| - | | + | |
| ==== 3.2. Software: ==== | ==== 3.2. Software: ==== | ||
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| ---- | ---- | ||
| Line 60: | Line 61: | ||
| ===== 7. LCD Background Information ===== | ===== 7. LCD Background Information ===== | ||
| - | Character [[https:// | + | Character [[https:// |
| The handshaking required to successfully communicate with the LCD on the Basys MX3 is representative of many common parallel interfaces. | The handshaking required to successfully communicate with the LCD on the Basys MX3 is representative of many common parallel interfaces. | ||
| Line 74: | Line 75: | ||
| - Initialize the LCD using the recommended sequence of instructions shown in the control flow diagram FIg. B.2. to write specific codes to the LCD at specified intervals. | - Initialize the LCD using the recommended sequence of instructions shown in the control flow diagram FIg. B.2. to write specific codes to the LCD at specified intervals. | ||
| - Position the cursor in the display space (Line 1 or Line 2) where the next character is to be displayed. | - Position the cursor in the display space (Line 1 or Line 2) where the next character is to be displayed. | ||
| - | - Write function(s) that write ASCII control and display data to the Display Data Ram (DDRAM). | + | - Write function(s) that write ASCII control and display data to the Display Data Ram (DDRAM). |
| - Translate the ASCII control characters into one or more C instructions for the LCD, as detailed in Table 8.1. | - Translate the ASCII control characters into one or more C instructions for the LCD, as detailed in Table 8.1. | ||
| - Write functions that write ASCII character data to the Display Data Ram (DDRAM). | - Write functions that write ASCII character data to the Display Data Ram (DDRAM). | ||
| Line 158: | Line 159: | ||
| ===== Appendix A: Basys MX3 Schematic Drawings ===== | ===== Appendix A: Basys MX3 Schematic Drawings ===== | ||
| - | {{ : | + | {{ : |
| //Figure A.1. LCD connection schematic diagram for Labs 3a and 3b.// | //Figure A.1. LCD connection schematic diagram for Labs 3a and 3b.// | ||
| + | |||
| Line 175: | Line 177: | ||
| {{ : | {{ : | ||
| - | //Figure B.3. Control flow diagram for LCD Write operation using bit-banging.// | + | //Figure B.4. Control flow diagram for LCD Write operation using bit-banging.// |
| {{ : | {{ : | ||
| //Figure B.5. LCD display character control flow diagram.// | //Figure B.5. LCD display character control flow diagram.// | ||
| + | |||
| + | ---- | ||
| + | |||
| + | [[{}/ | ||
| + | [[{}/ | ||

