M24LR04E-RMC6T/2 STMicroelectronics, M24LR04E-RMC6T/2 Datasheet - Page 137

no-image

M24LR04E-RMC6T/2

Manufacturer Part Number
M24LR04E-RMC6T/2
Description
EEPROM 4-Kbit EEProm 400kHz 13.56Mhz 1.8 to 5.5V
Manufacturer
STMicroelectronics
Datasheet

Specifications of M24LR04E-RMC6T/2

Rohs
yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M24LR04E-RMC6T/2
Manufacturer:
ST
0
M24LR04E-R
Appendix A
A.1
The following pseudocode describes how anticollision could be implemented on the VCD,
using recursivity.
Algorithm for pulsed slots
function push (mask, address); pushes on private stack
function pop (mask, address); pops from private stack
function pulse_next_pause; generates a power pulse
function store(M24LR04E-R_UID); stores M24LR04E-R_UID
function poll_loop (sub_address_size as integer)
last stored collision
end poll_loop
main_cycle:
end_main_cycle
pop (mask, address)
mask = address & mask; generates new mask
mode = anticollision
send_Request (Request_cmd, mode, mask length, mask value)
for sub_address = 0 to (2^sub_address_size - 1)
if stack_not_empty ; if some collisions have been detected and
mask = null
address = null
push (mask, address)
poll_loop(sub_address_size)
pulse_next_pause
if no_collision_is_detected ; M24LR04E-R is inventoried
next sub_address
then
endif
then
else ; remember a collision was detected
endif
poll_loop (sub_address_size); recursively to process the
Anticollision algorithm (informative)
store (M24LR04E-R_UID)
push(mask,address)
; send the request
; not yet processed, the function calls itself
Doc ID 022208 Rev 5
Anticollision algorithm (informative)
137/142

Related parts for M24LR04E-RMC6T/2