參數(shù)資料
型號: ST52514F3
英文描述: IC MAX 7000 CPLD 128 100-TQFP
中文描述: 8位重癥監(jiān)護(hù)病房,10位ADC。兩個(gè)定時(shí)器/脈寬調(diào)制。 I2C總線。的SPI。脊髓損傷。提供了8K閃存
文件頁數(shù): 36/106頁
文件大?。?/td> 1355K
代理商: ST52514F3
Figure 4.5 Error Handling Procedure
When the device is locked, if memory reading is
attempted, with the exception of the Lock Byte and
ID Code block, the device returns no data and an
error sequence. If memory writing is attempted in
any memory location, the device doesn’t carry out
the command and returns an error sequence.
To unlock the device the
GlobalErase command
must be executed before any writing or reading
command.
4.5 ID Code
Block 3 on Page 48 (030h) can also be read if the
device is locked. The first byte of the block is the
Lock Byte, the other 31 locations are available to
the
user
for
writing
data,
as
for
example
identification codes to distinguish the firmware
version loaded in the device.
The ID Code must be written before locking the
device: after the device is locked it can only be
read. The use of the Block writing procedure is the
fastest way: the ID Code is written together the
Lock Byte, which is sent first, then the 31 bytes of
ID Code follow.
The blocks 0, 1 and 2 on Page 48 can be also be
used for writing data, but they cannot be accessed
when the device is locked.
Note: the ID Code cannot be modified if the device
is locked: it can only be read.
4.6 Error cases
If a wrong command or data is sent to the device,
it generates an error condition by not sending the
acknowledge after the first successive data or
command. Figure 4.5 shows the error sequence.
The error case can be handled by using the
ReadStatus command. This command can be sent
after the error condition is detected; the device
returns a Status Byte containing the error code.
The
ReadStatus command sequence is showed in
Figure 4.5. The list of the error codes is illustrated
Remark:
after
the
ReadStatus
command
execution or after any error, the Start Sequence
must be carried out before sending a new
command.
The Most Significative Bit of the error codes
indicates (when set to ‘1’) that the memory is
locked. When a command, that is not allowed
when the memory is locked, is sent, the “
Not
Allowed” code is sent. If another code is sent with
the MSB to ‘1’ it indicates that the error condition is
not caused by the memory lock, but by the event
related with the code sent.
Warning: when the data writing into a non existing
location is attempted, no error condition is
generated. The user must take care in specifying
the correct page address.
Wrong command/data case handling:
S=Start, P=Stop, A=Acknowledge, NA=Non-acknowledge
From Slave to Master
From Master to Slave
Wrong Command/Data
A
Command/Data NA
ReadStatus A P
S 10100001
A
Status Byte NA
P
Table 4.3 Error codes
Name
Code
Description
Device Locked
xyyyyyyy
x=lock bit (1=device locked), yyyyyyy=error code
Wrong Direction
x0000001
A transmit direction, not correct in the running sequence, has been set
Stop Missed
x0000010
The Master missed generating a necessary Stop Condition
Data Missing
x0000011
The Master missed to send necessary data to the device
Receive Error
x0000100
The data sent by the Master hasn’t been received correctly by the device
Wrong Command
x0000101
The Master sent a wrong command code
Not Allowed
x0000110
A command not allowed when the device is locked has been sent
Wrong Mode
x0010000
A code different form the Programming mode code (00000000) has been sent
相關(guān)PDF資料
PDF描述
ST52514G1 IC MAX 7000 CPLD 32 44-TQFP
ST52514G3 IC MAX 7000 CPLD 64 100-TQFP
ST52514K1 IC MAX 7000 CPLD 128 100-FBGA
ST52514K3 IC MAX 7000 CPLD 256 100-TQFP
ST525 MAX 7000 CPLD 128 MC 100-FBGA
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ST52514G1 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT ICU WITH 10-BIT ADC. TWO TIMERS/PWM. I2C. SPI. SCI. UP TO 8K FLASH
ST52514G3 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT ICU WITH 10-BIT ADC. TWO TIMERS/PWM. I2C. SPI. SCI. UP TO 8K FLASH
ST52514K1 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT ICU WITH 10-BIT ADC. TWO TIMERS/PWM. I2C. SPI. SCI. UP TO 8K FLASH
ST52514K3 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT ICU WITH 10-BIT ADC. TWO TIMERS/PWM. I2C. SPI. SCI. UP TO 8K FLASH
ST526PND223MLZ 制造商:COILCRAFT 制造商全稱:Coilcraft lnc. 功能描述:Coupled Inductors for Critical Applications