FM6124-QG Ramtron, FM6124-QG Datasheet - Page 15

FRAM, 24KB, EVENT DATA REC, QFP44

FM6124-QG

Manufacturer Part Number
FM6124-QG
Description
FRAM, 24KB, EVENT DATA REC, QFP44
Manufacturer
Ramtron
Datasheet

Specifications of FM6124-QG

Memory Size
24KB
Nvram Features
RTC
Supply Voltage Range
3V To 3.6V
Memory Case Style
QFP
No. Of Pins
44
Operating Temperature Range
-40°C To +85°C
Package / Case
QFP
Interface
I2C
Memory
RoHS Compliant
Interface Type
I2C, Serial, 2-Wire
Rohs Compliant
Yes
Access Time
100 KBPs
Operating Supply Voltage
3 V to 3.6 V
Mounting Style
SMD/SMT
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
FM6124-QG
Manufacturer:
ABOV
Quantity:
3 000
EDR COMMAND SET
The FM6124 responds to commands written to address
0x20, through the I
commands, eight of which are used to retrieve event data,
the remaining one is used to set the partition between User
Memory and Event Memory. The commands and their
effect are listed below.
Rev. 4.0 (EOL)
July 2010
Table of Commands
BUFFER SIZE
STREAMING
STREAMING
SET EVENT
RESERVED
Command
GET KEEP
GET KEEP
SET DIR
FIRST
LAST
SKIP
GET
GET
EDRCMD[0:3] DIR
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1111
to
2
C serial port. There are nine unique
0
1
0
1
0
1
0
1
0
1
x
x
x
x
x
set direction dirrection to increment
set pointer dirrection to decrement
IF RP ≠ WP THEN
ELSE
IF RP ≠ FP THEN
ELSE
read_buffer = event_buffer[RP]
IF RP ≠ WP THEN
ELSE
ENDIF
SP = RP
IF RP ≠ FP THEN
ELSE
ENDIF
SP = RP
IF SP ≠ WP THEN
ELSE
IF SP ≠ FP THEN
ELSE
IF (WP - RP) > 1 THEN
IF RP > FP THEN
RP = FP
RP = WP - 1
IF COMMAND[7:6] ≠ EBUFSIZE[1:0] THEN
No Action
read_buffer = event_buffer[RP]
increment RP
read_buffer = [FF,FF,FF,FF,FF,FF,FF,FF]
ERR = 0x01
read_buffer = event_buffer[RP]
decrement RP
read_buffer = [FF,FF,FF,FF,FF,FF,FF,FF]
ERR = 0x01
read_buffer = event_buffer[SP]
increment RP
read_buffer = [FF,FF,FF,FF,FF,FF,FF,FF]
ERR = 1
read_buffer = event_buffer[SP]
decrement RP
read_buffer = [FF,FF,FF,FF,FF,FF,FF,FF]
ERR = 1
read_buffer = event_buffer[SP]
increment SP
read_buffer = [FF,FF,FF,FF,FF,FF,FF,FF]
ERR = 0x01
read_buffer = event_buffer[SP]
decrement SP
read_buffer = [FF,FF,FF,FF,FF,FF,FF,FF]
ERR = 0x01
increment RP
decrement RP
SP = RP = FP = WP = 0x00
event_buffer = [00,00,00,…,00,00,00]
EFFECT
Each command is an eight bit assemblage of lesser
registers EBUFSIZE[1:0], ERR, DIR & EDRCMD[3:0]
The sequence of concatenation is shown in the table
below.
The EDRCMD[3:0] register specifies which of the nine
unique commands should be executed.
The DIR register specifies whether the event pointer used
by the command, should be incremented or decremented
after the successful completion of the command.
The ERR register is used to signal the host, that the event
pointer used during the last command can move no further
in the direction specified by DIR.
The EBUFSIZE[1:0] register specifies the partitioning of
User memory and Event Memory as indicated in the table
below.
ISSUING A COMMAND
When the host is ready to issue a command, the following
procedure should be used.
RETRIEVING SINGLE EVENTS
After a GET or KEEP command has been issued, the EDR
will place the event pointed to by RP into the read buffer.
The eight byte wide read buffer can be read through the
I
address 0x33. To retrieve an event from the buffer, the
following procedure should be followed.
2
C serial port, starting at address 0x2C and finishing at
Start I
Send the EDR ID & [R/W] = 0 or write
Send the command register start address "0x20"
Send the EBUFSIZE[1:0]& ERR & DIR & EDRCMD[3:0]
Stop I
Start I
Send the EDR ID & R/W bit = 0 (write)
Send the event buffer start address "0x2C"
Stop I
Start I
Send the EDR ID & R/W = 1 (read)
Send seven addition read requests
Stop I
COMMAND STRUCTURE: Address 0x20
EBUFSIZE[1:0]
2
2
C
2
2
C
2
2
7
C
C
C
C
PARTITION SIZE:
EBUFSIZE[1:0] Event Memory User Memory
6
00
01
10
11
ERR
5
DIR
4000 events
3000 events
2000 events
1000 events
4
Bit
3
EDRCMD[3:0]
2
Page 15 of 53
16kB
24kB
0kB
8kB
1
0

Related parts for FM6124-QG