DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

NM25C640 Просмотр технического описания (PDF) - Fairchild Semiconductor

Номер в каталоге
Компоненты Описание
производитель
NM25C640 Datasheet PDF : 10 Pages
1 2 3 4 5 6 7 8 9 10
Functional Description
TABLE 1. Instruction Set
Instruction Instruction
Name Opcode
Operation
WREN
00000110 Set Write Enable Latch
WRDI
00000100 Reset Write Enable Latch
RDSR
00000101 Read Status Register
HOLD: The HOLD pin is used in conjunction with the CS to select
the device. Once the device is selected and a serial sequence is
underway, HOLD may be forced low to suspend further serial
communication with the device without resetting the serial se-
quence. Note that HOLD must be brought low while the SCK pin
is low. The device must remain selected during this sequence. To
resume serial communication HOLD is brought high while the
SCK pin is low. The SO pin is at a high impedance state during
HOLD.
WRSR
00000001 Write Status Register
INVALID OP-CODE: After an invalid code is received, no data is
READ
00000011 Read Data from Memory
shifted into the NM25C640, and the SO data output pin remains
Array
high impedance until a new CS falling edge reinitializes the serial
communication. See Figure 5 .
WRITE
00000010 Write Data to Memory Array
 MASTER: The device that generates the serial clock is desig-
nated as the master. The NM25C640 can never function as a
master.
SLAVE: The NM25C640 always operates as a slave as the serial
clock pin is always an input.
TRANSMITTER/RECEIVER: The NM25C640 has separate pins
for data transmission (SO) and reception (SI).
FIGURE 5. Invalid Op-Code
CS
SI
INVALID CODE
SO
MSB: The Most Significant Bit is the first bit transmitted and
received.
DS500041-7
CHIP SELECT: The chip is selected when pin CS is low. When the
chip is not selected, data will not be accepted from pin SI, and the
output pin SO is in high impedance.
SERIAL OP-CODE: The first byte transmitted after the chip is
selected with CS going low contains the op-code that defines the
operation to be performed.
PROTOCOL: When connected to the SPI port of a 68HC11
microcontroller, the NM25C640 accepts a clock phase of 0 and a
clock polarity of 0. The SPI protocol for this device defines the byte
transmitted on the SI and SO data lines for proper chip operation.
See Figure 4.
FIGURE 4. SPI Protocol
CS
  SCK
SI
Bit 7 Bit 6 Bit 0
SO
Bit 7 Bit 1 Bit 0
DS500041-5
Data is clocked in on the positive SCK edge and out on the
negative SCK edge.
NM25C640 Rev. D.2
6
www.fairchildsemi.com

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]