欢迎访问ic37.com |
会员登录 免费注册
发布采购

MCP795B11 参数 Datasheet PDF下载

MCP795B11图片预览
型号: MCP795B11
PDF下载: 下载PDF文件 查看货源
内容描述: SPI实时时钟日历 [SPI Real-Time Clock Calendar]
分类和应用: 时钟
文件页数/大小: 54 页 / 969 K
品牌: MAS [ MICRO ANALOG SYSTEMS ]
 浏览型号MCP795B11的Datasheet PDF文件第4页浏览型号MCP795B11的Datasheet PDF文件第5页浏览型号MCP795B11的Datasheet PDF文件第6页浏览型号MCP795B11的Datasheet PDF文件第7页浏览型号MCP795B11的Datasheet PDF文件第9页浏览型号MCP795B11的Datasheet PDF文件第10页浏览型号MCP795B11的Datasheet PDF文件第11页浏览型号MCP795B11的Datasheet PDF文件第12页  
MCP795WXX/MCP795BXX
3.0
SPI BUS OPERATION
The MCP795XXX contains an 8-bit instruction register.
The device is accessed via the SI pin, with data being
clocked in on the rising edge of SCK. The CS pin must
be low for the entire operation.
contains a list of the possible instruction
bytes and format for device operation. All instructions,
addresses, and data are transferred MSb first, LSb last.
Data (SI) is sampled on the first rising edge of SCK
after CS goes low.
The MCP795XXX is designed to interface directly with
the Serial Peripheral Interface (SPI) port of many of
today’s popular microcontroller families, including
Microchip’s PIC
®
microcontrollers. It may also interface
with microcontrollers that do not have a built-in SPI port
by using discrete I/O lines programmed properly in soft-
ware to match the SPI protocol.
TABLE 3-1:
EEREAD
EEWRITE
EEWRDI
EEWREN
SRREAD
SRWRITE
READ
WRITE
UNLOCK
IDWRITE
IDREAD
CLRWDT
CLRRAM
INSTRUCTION SET SUMMARY
Instruction Format
0000 0011
0000 0010
0000 0100
0000 0110
0000 0101
0000 0001
0001 0011
0001 0010
0001 0100
0011 0010
0011 0011
0100 0100
0101 0100
Description
Read data from EE memory array beginning at selected address
Write data to EE memory array beginning at selected address
Reset the write enable latch (disable write operations)
Set the write enable latch (enable write operations)
Read STATUS register
Write STATUS register
Read RTCC/SRAM array beginning at selected address
Write RTCC/SRAM data to memory array beginning at selected
address
Unlock ID Locations
Write to the ID Locations
Read the ID Locations
Clear Watchdog TImer
Clear RAM Location to ‘0’
the next address can be read sequentially by continu-
ing to provide clock pulses to the slave. The internal
Address Pointer automatically increments to the next
higher address after each byte of data is shifted out.
When the highest address is reached, the address
counter rolls over to the first valid address allowing the
read cycle to be continued indefinitely. The read oper-
ation is terminated by raising the CS pin (Figure
Instruction Name
3.1
Read Sequence
The device is selected by pulling CS low. The various
8-bit read instructions are transmitted to the
MCP795XXX followed by an 8-bit address. See
for more details.
After the correct instruction and address are sent, the
data stored in the memory at the selected address is
shifted out on the SO pin. Data stored in the memory at
FIGURE 3-1:
CS
0
SCK
1
EEREAD SEQUENCE
2
3
4
5
6
7
8
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Address Byte
Instruction
SI
0
0
0
0
0
0
1
1
A
7
A
6
A
5
A
4
A
3
A
2
A
1
A
0
Data Out
7
6
5
4
3
2
1
0
High-Impedance
SO
DS22280A-page 8
Preliminary
2011 Microchip Technology Inc.