03 DLP Mav LCD1
03 DLP Mav LCD1
03 DLP Mav LCD1
LCD1
LEAD FREE
FEATURES:
• Simple ASCII Command Set
• Requires 3.0-3.3V Supply
• LED Backlight
• 5-Switch Joystick (Left, Right, Up, Down and Select)
• Can Be Used Standalone or with the MAVRK Platform
To send data from the host processor on the MAVRK platform via the 2-wire TTL serial interface, the
host firmware sends the data to be displayed using the format described below in Section 3.
When the 5-switch joystick is operated, the DLP-MAV-LCD1 issues switch closure information to the
host processor using the MAVRK platform protocol. This protocol consists of a printable ASCII format
using a synchronization character “^”, and a termination character “~”. (This protocol is further
described in Section 3.)
The DLP-MAV-LCD1 is ready to accept commands immediately upon power up. (Initial baud rate and
serial parameters are outlined in Section 3.)
1. Connect the DLP-MAV-LCD1 module to one of the four LTE positions on the MAVRK platform
via the connector on the bottom side of the DLP-MAV-LCD1 module:
C:\svn\mavrk\mavrk_embedded\Modular_EVM_Projects\System_Demo_Projects\MSP43
0F5438-MVK_UART_Passthrough
5. Find the file “MSP430F5438_UART_Passthrough_main.c”, then edit the following lines in the
function main():
6. Add the following lines in the function main() under the ones you just commented out above:
7. Rebuild the project, and reload the MAVRK platform with your new flash.
9. Once connected, actuating the joystick will result in data being displayed that indicates which
joystick button was pressed. The terminal window may also be used to send commands and
data characters to the LCD.
The DLP-MAV-LCD1 module is shipped preprogrammed with firmware for either communicating
directly with the MAVRK platform or for operation in standalone mode via the 5-pin header.
Figure 2 will be displayed for 5 seconds, and then the display will be clear as shown in Figure 3:
At this point, the DLP-MAV-LCD1 is ready for use. (Note that the unit will appear non-responsive on
the MAVRK platform until you build and load your new MAVRK platform flash file as described in
Section 2.)
Alternatively, you can communicate directly with the unit in standalone mode. Troubleshooting
information will also be available on the MAVRK wiki pages referenced above.
Parameter Value
Baud Rate 460800
Data 8 Bit
Parity None
Stop Bit 1
Flow Control None
Table 1: Sample Data and Commands
Changing the baud rate may be accomplished; however, you must press Select (joystick straight
down) to initiate the Baud Rate Menu. (Note that this must be done during the first 5 seconds when
the splash screen shown above is displayed.)
You may now press the Select button once your baud rate is displayed. This saves the selected baud
rate into flash. On subsequent power ups, the following screen will be displayed indicating the saved
baud rate:
To change the baud rate, first set the baud rate of the terminal to 460800 as described above. Then
send the command ^b9600~, at which point the new baud rate will immediately be in effect. (You will
have to change your terminal to 9600 immediately to continue processing any further commands.)
The TTL interface requires the specific formatting described below for all message traffic to and from
the LCD:
Data that exceeds the 16 character lines will be truncated based on the length of the display. Both
the top and bottom LCD lines require separate data commands.
Keys will be sent to the connected terminal with de-bounce. If you hold the key down longer than
500mS, it will repeat.
The table below describes the Cursor Location Commands for each on-screen position based on the
row and column required. Once each command has been issued, the next data command will start
writing text from this location and will automatically increment to the next location based upon the
length of the text string:
The table below describes sample strings sent to the DLP-MAV-LCD1 to include clearing the screen
and positioning the cursor prior to writing text:
1 5
Pin # Description
1 FROM EXTERNAL HOST (In) – TTL serial from host processor
2 TO EXTERNAL HOST (Out) – TTL serial to host processor
3 GROUND
4 RESET (In) – Pull to ground to reset MSP430 on DLP-MAV-LCD1
5 3.0 - 3.3V (In) – Power supply for module
Table 8: TTL 5-Pin Header Descriptions
1.64 typ
(41.7 typ)
0.963 typ
(24.5 typ)
1.515 typ
(38.5 typ)
2 x 0.157 typ
(4.0 typ)
1.50 typ
(38.1 typ)
6.0 DISCLAIMER
Neither the whole nor any part of the information contained within or the product described in this
datasheet may be adapted or reproduced in any material or electronic form without the prior written
consent of the copyright holder.
This product and its documentation are supplied on an as-is basis, and no warranty as to their
suitability for any particular purpose is either made or implied. DLP Design will not accept any claim
for damages whatsoever arising as a result of use or failure of this product. Your statutory rights are
not affected.
This product or any variant of it is not intended for use in any medical appliance, device or system in
which the failure of the product might reasonably be expected to result in personal injury.
This document provides preliminary information that may be subject to change without notice.
Phone: 469-964-8027
Fax: 415-901-4859
Email Sales: sales@dlpdesign.com
Email Support: support@dlpdesign.com
Website URL: http://www.dlpdesign.com