http://www.www.datasheet4u.com

900,000+ Datasheet PDF Search and Download

Datasheet4U offers most rated semiconductors datasheets pdf




  Microchip Technology Semiconductor Electronic Components Datasheet  

AN560 Datasheet

Lowpower 3-wire non-volatile memories

No Preview Available !

AN560 pdf
www.DataSheet.co.kr
Using the 93LC56 and 93LC66
AN560
Using the 93LC56 and 93LC66
INTRODUCTION
The Microchip Technology Inc. 93LC56/66 are low-
power 3-wire non-volatile memories and are suitable for
many embedded system code and data storage applica-
tions. These devices are easily interfaced to most micro-
controllers in today's market place, but Microchip’s 8-bit
RISC series PIC16CXX offers the best code density of
any microcontroller on the market today. Using the
PIC16C54, the assembly programs contained in this
application note have been fully tested and provide the
correct timing and 3-wire sequences to fully operate the
93LC56/66 in a PIC16CXX-based embedded applica-
tion. The PIC16C54 was clocked at a 10MHz frequency.
This application note is intended to provide the engineer
with readily available stand-alone code modules to
accomplish all of the necessary functions to utilize these
devices in a low power application using the efficient
PIC16C54 microcontroller.
The 93 series of devices have essentially four I/O pins:
CS Chip Select
CLK Clock
DI Data In
DO Data Out
This series of devices use a series of commands to
accomplish the normal memory functions. These are
READ, WRITE, EWEN, ERASE, ERAL, WRAL, EWDS.
For a more detailed discussion of the function of these
devices reference the appropriate data sheet and AN536,
also published by Microchip Technology.
The following programs are included in this application
note and are fully functional stand-alone modules. They
are intended for use by those who are not already
familiar with interfacing a PIC16CXX microcontroller to
a 93 series device. For those with more experience,
please refer to application note AN530.
3-Wire Byte Read Program
– Start Bit Routine
– Receive Data Routine
– Bit Out Routine
– Transmit Data Routine
– Power-up Routine
– Read Routine
3-Wire Byte Write Program
– Delay Routine
– Start Bit Routine
– Bit Out Routine
– Transmit Data Routine
– Power-up Routine
– Erase/Write Enable Routine (EWEN)
– Byte Write Routine
– Erase/Write Disable Routine (EWDS)
3-Wire Byte Write with Data Polling Program
– Data Polling Delay Routine
– Start Bit Routine
– Bit Out Routine
– Transmit Data Routine
– Power-up Routine
– Erase/Write Enable Routine
– Write Routine
– Erase/Write Disable Routine (EWDS)
3-Wire Sequential Read Program
– Delay Routine
– Start Bit Routine
– Bit In Routine
– Receive Data Routine
– Bit Out Routine
– Transmit Data Routine
– Power-up Routine
– Read Routine
Author:
Bruce Negley
Memory Products Division
8
© 1994 Microchip Technology Inc.
8-99
DS00560D-page 1
Datasheet pdf - http://www.DataSheet4U.net/


  Microchip Technology Semiconductor Electronic Components Datasheet  

AN560 Datasheet

Lowpower 3-wire non-volatile memories

No Preview Available !

AN560 pdf
www.DataSheet.co.kr
Using the 93LC56 and 93LC66
16c5x/7x Cross-Assembler V4.12 Released Mon Jun 06 10:49:10 1994 Page 1
Line PC Opcode
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044
0045
0046
0047
0048
0049
0050
0051
0003
0005
0006
000A
000C
000D
000E
0010
0011
0012
0013
LIST P=16C54,c=132
;****************************************************************
; 3-Wire Byte Read Program (80 bytes)
;
; This program demonstrates how to interface a
; Microchip PIC16C54 to a 93LC56 or 93LC66 Serial EE
; device. This program will read 8 consecutive addresses
; in the ‘random read’ mode. This means that the opcode
; and address for each byte will be sent to the device.
; This program will repeat forever.
;
; Another, more efficient method of reading consecutive
; addresses is called the ‘sequential read’ mode. This
; involves sending the opcode and address for the first
; byte to read, then continuing to provide clocks for the
; next addresses. The device will automatically increment
; the address. An example of the sequential read mode is
; provided in the ‘3wseqr.asm’ file.
;
; This program communicates to the serial EE in the
; x16 mode, and ASSUMES THE USER HAS SET THE ORG PIN
; ON THE DEVICE TO Vcc.
;
; Timing is based on using the PIC16C54 in ‘XT’ mode
; using a 4Mhz crystal. Clock speeds to the serial EE
; will be approximately 50 kHz for this setup.
;
; PIC16C54 to Serial EE Connections:
;
; PIC16C54
Serial EE
;
——————
——————
; Pin 10 (RB4) —> Chip Select
; Pin 11 (RB5) —> Clock
; Pin 12 (RB6) —> Data In
; Pin 13 (RB7) —> Data Out
; ORG = Vcc
;
;************************************************************
; Register Assignments
;************************************************************
status equ 3h ; status register
port_a equ 5h ; port 5 (port_a)
port_b equ 6h ; port 6 (port b) comm lines to serial EE
eeprom equ 0ah
; bit buffer
addr equ 0ch
; address register
datai equ 0dh
; stored data input reg.
datao equ 0eh
; stored data output reg.
txbuf equ 10h
; transmit buffer
count equ 11h
; bits transmitted so far
bits equ 12h
; bits to transmit
bytcnt equ 13h
; byte counter for read routine
16c5x/7x Cross-Assembler V4.12 Released Mon Jun 06 10:49:10 1994 Page 2
Line PC Opcode
0052
0053
0054
0055
0056
0057
0058
0059
0060
0015
0016
0017
0018
0007
0006
loops equ 15h
; delay loop counter
loops2 equ 16h
; delay loop counter
hbyte equ 17h
; high byte for input data
lbyte equ 18h
; low byte for input data
;************************************************************
; Bit Assignments
;************************************************************
di equ 7
; eeprom input
do equ 6
; eeprom output
DS00560D-page 2
8-100
© 1994 Microchip Technology Inc.
Datasheet pdf - http://www.DataSheet4U.net/


Part Number AN560
Description Lowpower 3-wire non-volatile memories
Maker Microchip Technology
Total Page 22 Pages
PDF Download
AN560 pdf
Download PDF File


Buy Electronic Components




Related Datasheet

1 AN560 Lowpower 3-wire non-volatile memories Microchip Technology
Microchip Technology
AN560 pdf
2 AN5601K COLOR SIGNAL/ VIDEO SIGNAL AND SYNCHRONOUS SIGNAL PROCESSING IC FOR PAL/NTSC TV Panasonic Semiconductor
Panasonic Semiconductor
AN5601K pdf
3 AN5607NK Video Signal Processor IC for PAL / NTSC Color TV Panasonic
Panasonic
AN5607NK pdf
4 AN5612 (AN5613) Video Signal / Chrominance Signal Processing IC for Color TV Matsushita Electric
Matsushita Electric
AN5612 pdf
5 AN5613 Video Signal / Chrominance Signal Processing IC for Color TV Matsushita Electric
Matsushita Electric
AN5613 pdf
6 AN5622 PAL System Color TV Chrominance Signal Processing Circuit Matsushita Electric
Matsushita Electric
AN5622 pdf
7 AN5625N TV PAL/NTSC/M-NTSC Chrominance-Signal Processing IC Panasonic
Panasonic
AN5625N pdf
8 AN563 Using PIC16C5X Microcontrollers as LCD Drivers Microchip
Microchip
AN563 pdf
9 AN5633K SECAM-PAL SIGNAL-CONVERSION IC Panasonic Semiconductor
Panasonic Semiconductor
AN5633K pdf






Part Number Start With

0    1    2    3    4    5    6    7    8    9    A    B    C    D    E    F    G    H    I    J    K    L    M    N    O    P    Q    R    S    T    U    V    W    X    Y    Z

site map

webmaste! click here

contact us

Buy Components