m41t93 STMicroelectronics, m41t93 Datasheet - Page 13
![no-image](/images/manufacturer_photos/0/6/637/stmicroelectronics_sml.jpg)
m41t93
Manufacturer Part Number
m41t93
Description
Serial Spi Bus Rtc With Battery Switchover
Manufacturer
STMicroelectronics
Datasheet
1.M41T93.pdf
(51 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
m41t93RMV6
Manufacturer:
ST
Quantity:
20 000
Part Number:
m41t93RMY6
Manufacturer:
ST
Quantity:
20 000
Company:
Part Number:
m41t93RMY6F
Manufacturer:
NSC
Quantity:
456
Company:
Part Number:
m41t93RQA6F
Manufacturer:
ST
Quantity:
2 403
Part Number:
m41t93S
Manufacturer:
ST
Quantity:
20 000
Company:
Part Number:
m41t93SMY6F
Manufacturer:
ST
Quantity:
1 964
Company:
Part Number:
m41t93SQA6F
Manufacturer:
STMicroelectronics
Quantity:
1 934
Company:
Part Number:
m41t93SQA6F
Manufacturer:
ST
Quantity:
842
Part Number:
m41t93ZMY6
Manufacturer:
ST
Quantity:
20 000
2.1
2.2
Note:
SPI bus characteristics
The Serial Peripheral interface (SPI) bus is intended for synchronous communication
between different ICs. It consists of four signal lines: Serial Data Input (SDI), Serial Data
Output (SDO), Serial Clock (SCL) and a Chip Enable (E).
By definition a device that gives out a message is called “transmitter,” the receiving device
that gets the message is called “receiver.” The device that controls the message is called
“master.” The devices that are controlled by the master are called “slaves.”
The E input is used to initiate and terminate a data transfer. The SCL input is used to
synchronize data transfer between the master (micro) and the slave (M41T93) device.
The SCL input, which is generated by the microcontroller, is active only during address and
data transfer to any device on the SPI bus (see
The M41T93 can be driven by a microcontroller with its SPI peripheral running in either of
the two following modes:
(CPOL, CPHA) = ('0', '0'), or
(CPOL, CPHA) = ('1', '1').
For these two modes, input data (SDI) is latched in by the low-to-high transition of clock
SCL, and output data (SDO) is shifted out on the high-to-low transition of SCL (see
and
There is one clock for each bit transferred. Address and data bits are transferred in groups
of eight bits. Due to memory size the second most significant address bit is a “Don’t care”
(address bit 6).
Read and write cycles
Address and data are shifted MSB first into the Serial Data Input (SDI) and out of the Serial
Data Output (SDO). Any data transfer considers the first bit to define whether a READ or
WRITE will occur. This is followed by seven bits defining the address to be read or written.
Data is transferred out of the SDO for a READ operation and into the SDI for a WRITE
operation. The address is always the second through the eighth bit written after the Enable
(E) pin goes low. If the first bit is a '1,' one or more WRITE cycles will occur. If the first bit is a
'0,' one or more READ cycles will occur (see
Data transfers can occur one byte at a time or in multiple byte burst mode, during which the
address pointer will be automatically incremented. For a single byte transfer, one byte is
read or written and then E is driven high. For a multiple byte transfer all that is required is
that E continue to remain low. Under this condition, the address pointer will continue to
increment as stated previously. Incrementing will continue until the device is deselected by
taking E high. The address will wrap to 00h after incrementing to 3Fh.
The system-to-user transfer of clock data will be halted whenever the address being read is
a clock address (00h to 07h). Although the clock continues to maintain the correct time, this
will prevent updates of time and date during either a READ or WRITE of these address
locations by the user. The update will resume either due to a deselect condition or when the
pointer increments to an non-clock or RAM address (08h to 1Fh).
This is true both in READ and WRITE mode.
Figure 6 on page
10).
Figure 7
Figure 5 on page
and
Figure 8 on page
10).
14).
Table 2
13/51