전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

DM300018 데이터시트(PDF) 109 Page - Microchip Technology

부품명 DM300018
상세설명  dsPICDEM??2 Development Board User?셲 Guide
PDF  115 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  MICROCHIP [Microchip Technology]
홈페이지  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

DM300018 데이터시트(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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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