Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

DM300018 Datasheet(PDF) 109 Page - Microchip Technology

Part # DM300018
Description  dsPICDEM??2 Development Board User?셲 Guide
PDF  115 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

DM300018 Datasheet(HTML) 109 Page - Microchip Technology

Back Button DM300018 Datasheet HTML 105Page - Microchip Technology DM300018 Datasheet HTML 106Page - Microchip Technology DM300018 Datasheet HTML 107Page - Microchip Technology DM300018 Datasheet HTML 108Page - Microchip Technology DM300018 Datasheet HTML 109Page - Microchip Technology DM300018 Datasheet HTML 110Page - Microchip Technology DM300018 Datasheet HTML 111Page - Microchip Technology DM300018 Datasheet HTML 112Page - Microchip Technology DM300018 Datasheet HTML 113Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 109 / 115 page
background image
dsPICDEM™ 2.0
DEVELOPMENT BOARD
USER’S GUIDE
© 2005 Microchip Technology Inc.
Advance Information
DS51558A-page 103
Appendix B. Writing to LCD
B.1
OVERVIEW
A 2x16 ASCII-text LCD is provided on the dsPICDEM2 Development Board. dsPIC30F
devices installed on the dsPICDEM2 development board may use this LCD to display
characters. The interface to the LCD is via a 2-wire Serial Peripheral Interface (SPI™).
dsPIC30F devices may send serial clock and data signals on 2 pins to the
dsPIC30F2011 device that controls the 2x16 LCD.
B.2
LCD HARDWARE SETUP
To enable communication between your dsPIC30F device and the dsPIC30F2011 LCD
controller, simply jumper the appropriate pair of pins on the header H1.For example, in
order to enable communication between the dsPIC30F2010 device and the LCD,
jumpers on the pin-pair labelled “M28” need to be installed on header H1.
B.3
LCD SOFTWARE SPECIFICATION
The following power-up sequence should be observed by the user's application
firmware when writing characters to the LCD:
1.
After any reset operation wait 500 milliseconds to allow the LCD to begin normal
operation. The cursor on the LCD will be positioned at the top row on the
left-most column.
2.
Configure SPI1 module on your dsPIC30F device to operate in 8-bit Master
mode. The serial clock may be set for any frequency up to 1 MHz.
3.
To write an ASCII character to the LCD at the location pointed to by the cursor,
load the SPIBUF register with the ASCII character byte.
4.
After the character is displayed on the LCD, the cursor is automatically relocated
to the next position on the LCD.
5.
To reposition the cursor to another column on any of the two rows, write the
address of the desired location to the SPIBUF register. Addresses in the first row
of the LCD range from 0x80 to 0x8F, while addresses on the second row range
from 0xC0 through 0xCF.
6.
After 16 characters are written to the first row on the LCD, it is necessary for the
user's application to write the address 0xC0 of the second row to the SPIBUF in
order to roll the cursor over to the second row.
7.
The user application must wait for a minimum of 5 milliseconds between writing
two successive characters in the first row of the LCD.
8.
The user application must wait for a minimum of 250 microseconds after writing
an address byte.
9.
The user application must wait for a minimum of 250 microseconds between
writing two successive characters in the second row of the LCD.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com