数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

MCP795W21 数据表(PDF) 9 Page - Micro Analog systems

部件名 MCP795W21
功能描述  SPI Real-Time Clock Calendar
PDF  54 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  MAS [Micro Analog systems]
网页  http://www.mas-oy.com
标志 MAS - Micro Analog systems

MCP795W21 数据表(HTML) 9 Page - Micro Analog systems

Back Button MCP795W21 Datasheet HTML 5Page - Micro Analog systems MCP795W21 Datasheet HTML 6Page - Micro Analog systems MCP795W21 Datasheet HTML 7Page - Micro Analog systems MCP795W21 Datasheet HTML 8Page - Micro Analog systems MCP795W21 Datasheet HTML 9Page - Micro Analog systems MCP795W21 Datasheet HTML 10Page - Micro Analog systems MCP795W21 Datasheet HTML 11Page - Micro Analog systems MCP795W21 Datasheet HTML 12Page - Micro Analog systems MCP795W21 Datasheet HTML 13Page - Micro Analog systems Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 54 page
background image
 2011 Microchip Technology Inc.
Preliminary
DS22280A-page 9
MCP795WXX/MCP795BXX
3.2
Nonvolatile Memory Write
Sequence
Prior to any attempt to write data to the nonvolatile
memory (EEPROM, Unique ID and STATUS register)
in the MCP795XXX, the write enable latch must be set
by issuing the EEWREN instruction (Figure 3-4). This is
done by setting CS low and then clocking out the
proper instruction into the MCP795XXX. After all eight
bits of the instruction are transmitted, CS must be
driven high to set the write enable latch. If the write
operation is initiated immediately after the EEWREN
instruction without CS driven high, data will not be writ-
ten to the array since the write enable latch was not
properly set.
After setting the write enable latch, the user may pro-
ceed by driving CS low, issuing either an EEWRITE,
IDWRITE or a SWRITE instruction, followed by the
remainder of the address, and then the data to be writ-
ten. Up to 8 bytes of data can be sent to the device
before a write cycle is necessary. The only restriction is
that all of the bytes must reside in the same page. Addi-
tionally, a page address begins with XXXX 0000 and
ends with XXXX X111. If the internal address counter
reaches XXXX X111 and clock signals continue to be
applied to the chip, the address counter will roll back to
the first address of the page and overwrite any data that
previously existed in those locations.
For the data to be actually written to the array, the CS
must be brought high after the Least Significant bit (D0)
of the nth data byte has been clocked in. If CS is driven
high at any other time, the write operation will not be
completed. Refer to Figure 3-2 and Figure 3-3 for more
detailed illustrations on the byte write sequence and
the page write sequence, respectively. While the non-
volatile memory write is in progress, the STATUS reg-
ister may be read to check the status of the WIP, WEL,
BP1 and BP0 bits. Attempting to read a memory array
location will not be possible during a write cycle. Polling
the WIP bit in the STATUS register is recommended in
order to determine if a write cycle is in progress. When
the nonvolatile memory write cycle is completed, the
write enable latch is reset.
FIGURE 3-2:
BYTE EEWRITE SEQUENCE
FIGURE 3-3:
PAGE EEWRITE SEQUENCE
SO
SI
CS
0
23456789 10 11
1
00
0
0
0
0
01
A6 A5 A4
A1
A3 A2
Address Byte
12 13 14 15 16 17 18 19 20 21 22 23
Instruction
Data Byte
A0
6
7
5
43
2
1
0
High-Impedance
Twc
SCK
A7
SI
CS
910 11
00
0
0
0
0
01
765
432
10
Data Byte 1
SCK
0
2345
67
18
SI
CS
33 34 35
38 39
7
65432
10
Data Byte n (8 max)
SCK
24
26 27 28 29 30 31
25
32
7
6543
210
Data Byte 3
7
6543
210
Data Byte 2
36 37
Instruction
Address Byte
A7 A6 A5 A4 A3
A1 A0
A2
12 13 14 15 16 17 18 19 20 21 22 23



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


数据表 下载

Go To PDF Page


链接网址



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