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

X  

48LM01 数据表(PDF) 21 Page - Microchip Technology

部件名 48LM01
功能描述  512-Kbit/1-Mbit SPI Serial EERAM
PDF  40 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  MICROCHIP [Microchip Technology]
网页  http://www.microchip.com
标志 MICROCHIP - Microchip Technology

48LM01 数据表(HTML) 21 Page - Microchip Technology

Back Button 48LM01 Datasheet HTML 17Page - Microchip Technology 48LM01 Datasheet HTML 18Page - Microchip Technology 48LM01 Datasheet HTML 19Page - Microchip Technology 48LM01 Datasheet HTML 20Page - Microchip Technology 48LM01 Datasheet HTML 21Page - Microchip Technology 48LM01 Datasheet HTML 22Page - Microchip Technology 48LM01 Datasheet HTML 23Page - Microchip Technology 48LM01 Datasheet HTML 24Page - Microchip Technology 48LM01 Datasheet HTML 25Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 40 page
background image
 2018-2019 Microchip Technology Inc.
DS20006008C-page 21
48L512/48LM01
10.0 SECURE OPERATIONS
The 48LXXX devices support secure write and read
operations, which add another layer of protection to
data. The secure write and read operations use a CRC
checksum on a fixed number of bytes and the address
bits, to be sure the data beginning at that address
matches the given checksum before it is considered
valid.
The 512 Kbit uses a 64-byte, and 1 Mbit device uses a
128-byte, and address CRC calculation. The devices
accept or transmit a 2-byte CRC value calculated from
the SRAM data and address bits. Only valid address
bits are used in the calculation (upper address bits that
extend beyond the array size are ignored in the CRC
calculation). The range of the secure write and read
operations is limited to the exact number of bytes
within the 64-byte or 128-byte page boundary.
10.1
Secure Write
To enable the secure write operation, a WEL bit has to
be set first. The CS line is set low, the Secure Write
command is sent, followed by the address bytes.
Only the valid address bits are used in the CRC
calculation (see Table 10-1 below). Then, data is sent
to the required number of bytes, and the expected
CRC value is calculated internally as bytes are sent in.
After the last byte is written, the 16-bit CRC is to be
clocked in on SI, then the CS pin is set high.
The CRC16-CCITT polynomial used is x16+x12+x5+1.
The boundary for the write operation should align with
the size of the range, 64 bytes for 512K device, and
128 bytes for 1M device. It is possible to write to an
address that does not begin at the page boundary, but
the address pointer will roll-over from the end of the
page to the beginning and the required checksum
bytes will likely be different.
The initial value for the CRC calculation is 0xFFFF.
The checksum must be transmitted with MSb first. In
addition, the internally calculated CRC has to match
the transmitted CRC. If they match, the data will be
accepted and written to the array. If the CRC values do
not match, data will be ignored and the existing
memory data will stay as it was and the SWM bit in the
STATUS register will be set to ‘1’, indicating a secure
write error. The status of the SWM bit should be read
after every secure write operation to confirm the
operation was successful. The SWM bit in the
STATUS register is read-only and will automatically
reset to ‘0’ at the beginning of the next secure write
operation.
With the low-to-high transition of the CS pin, the
device is automatically returned to the Write Disable
state, with the WEL bit returning to ‘0’.
10.2
Secure Read
The secure read operation requires the CS pin to be
brought low and the secure read opcode sent in on the
SI pin. Following that is the address (2 or 3 bytes,
depending on device). The valid address bits are part
of the CRC calculation. Only the correct number of bits
can be read, which are 64 or 128 bytes, depending on
the device, clocked out on the SO pin (see Table 10-1
for details). As the data is sent out, a CRC checksum
is calculated. The CRC16-CCITT polynomial used is
x16+x12+x5+1. After the data bytes are sent, then the
two CRC bytes are sent, and the master sets the CS
pin high to finish the operation. The master reading the
SRAM can do a CRC calculation to confirm that the
address and data agree with the checksum bytes
provided by the device.
The secure read should align with a SRAM address
boundary of 64 bytes for 512K device or 128 bytes for
1M device. It is possible to read from an address that
does not begin at the page boundary, but the address
pointer will roll-over from the end of the page to the
beginning and the checksum bytes read will likely be
different.
The SWM bit in the STATUS register is not affected by
secure read operations.
TABLE 10-1:
SECURE WRITE BITS
Device
Address
Bytes
Address
Bits
Data
Bytes
Required
CRC
Bits
48L512
2
16
64
16
48LM01
3
17
128
16



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


数据表 下载

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