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

X  

MCP795W21 数据表(PDF) 38 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) 38 Page - Micro Analog systems

Back Button MCP795W21 Datasheet HTML 34Page - Micro Analog systems MCP795W21 Datasheet HTML 35Page - Micro Analog systems MCP795W21 Datasheet HTML 36Page - Micro Analog systems MCP795W21 Datasheet HTML 37Page - Micro Analog systems MCP795W21 Datasheet HTML 38Page - Micro Analog systems MCP795W21 Datasheet HTML 39Page - Micro Analog systems MCP795W21 Datasheet HTML 40Page - Micro Analog systems MCP795W21 Datasheet HTML 41Page - Micro Analog systems MCP795W21 Datasheet HTML 42Page - Micro Analog systems Next Button
Zoom Inzoom in Zoom Outzoom out
 38 / 54 page
background image
MCP795WXX/MCP795BXX
DS22280A-page 38
Preliminary
 2011 Microchip Technology Inc.
10.0 ON-BOARD MEMORY
The MCP795XXX has both on-board EEPROM mem-
ory and battery-backed SRAM. The SRAM is arranged
as 64 x 8 bytes and is retained when VCC supply is
removed. The EEPROM is organized as 256/128 x 8
bytes. The EEPROM is nonvolatile and does not
require VBAT supply for retention.
10.1
SRAM
The SRAM array is a battery-backed-up array of 64
bytes. The SRAM is accessed using the Read and
Write commands, starting at address 0x20h.
Upon power-up the SRAM locations are in an unde-
fined state but can be set to a known value using the
CLRRAM instruction (Figure 9-8).
10.1.1
SRAM/RTCC OPERATION
The MCP795XXX contains a Real-Time Clock and Cal-
endar. The RTCC registers and SRAM array are
accessed using the same commands. The RTCC reg-
isters and SRAM array are powered internally from the
switched supply that is either connected to VCC or VBAT
supply. No external read/write operations are permitted
when the device is running from the VBAT supply.
Table 1-2 contains a list of the possible instruction
bytes and format for device operation.
10.1.2
READ SEQUENCE
The part is selected by pulling CS low. The 8-bit READ
instruction is transmitted to the MCP795W20 followed
by the 8-bit address (A7 through A0). After the correct
READ instruction and address are sent, the data stored
in the memory at the selected address is shifted out on
the SO pin. The data stored in the memory at the next
address can be read sequentially by continuing to pro-
vide clock pulses. The internal Address Pointer is auto-
matically incremented to the next higher address after
each byte of data is shifted out.
As the RTCC registers are separate from the SRAM
array, when reading the RTCC registers set the
address will wrap back to the start of the RTCC regis-
ters. Also when an address within the SRAM array is
loaded the internal Address Pointer will wrap back to
the start of the SRAM array. The READ instruction can
be used to read the registers and array indefinitely by
continuing to clock the device. The read operation is
terminated by raising the CS pin (Figure 10-1).
10.1.3
WRITE SEQUENCE
As the RTCC registers and SRAM array do not require
the WREN sequence like the nonvolatile memory, the
user may proceed by setting the CS low, issuing the
WRITE instruction, followed by the address, and then
the data to be written. As no write cycle is required for
the RTCC registers and SRAM array the entire con-
tents can be written in a single command.
For the last data byte to be written to the RTCC regis-
ters and SRAM array, the CS must be brought high
after the last byte has been clocked in. If CS is brought
high at any other time, the last byte will not be written.
Refer to Figure 10-2 for more detailed illustrations on
the write sequence.
FIGURE 10-1:
READ SEQUENCE
SO
SI
SCK
CS
0
23456789 10 11 12 13 14 15 16 17 18 19 20 21 22
1
01
0
1
0
0
01
A7 6
5
4
1A0
76543210
Instruction
Address Byte
Data Out
High-Impedance
23
32
Don’t Care
The address will rollover to the start of either the RTCC registers or SRAM array.



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