
DS1678
5 of 24
The Data Port is made up of 3 bytes. The first byte (41h) is the Event Log Memory address LSB, the
second byte (42h) is the Event Log Memory address MSB, and the third byte (43h) is the Event Log
Memory Data byte. To access data via the Data Port, the LSB of the Event Log Memory address is
written into 41h, the main memory address pointer will automatically increment to 42h where the Event
Log Memory address MSB data will be written. The next transfer will indicate a read command with a 1
in the R/ W bit of the 2-wire address byte. The data from the Event Log Memory location corresponding
to the address written into main memory locations 41h and 42h will be available in location 43h to be
read. Any address greater than 43h will read back 00h and will not be able to be written. For address
above 43h, the address pointer will increment until it reaches FFh then rollover to 00h.
The Event Log Memory address pointer in main memory locations 41h and 42h will be auto-incremented
to the next higher Event Log Memory address, while the pointer for the main memory will remain at
location 43h. This will allow the Event Log memory to be read continuously without having to write the
next desired Event Log Memory location prior to each data read. The even address locations in the Event
Log Memory will correspond to the LSB of the Elapsed Time Between Events and the odd memory
locations will correspond to the MSB of the Elapsed Time Between Events. For more information on
how the data is stored in the Event Log Memory, see figure 2b.
When the Event Log Memory address pointer gets to the last address location (07FFh), the automatic
incrementing will stop. A new starting address will then have to be written into the Event Log Memory
pointer bytes (41h & 42h) in order to begin reading additional data. The Event Log Memory addresses
that can be put into the pointer (41h & 42h) are 0000h to 07FFh. The 5 most significant bits of the
address are ignored. Entering a value greater than 07FFh will result in the address location associated
with the value of the lowest 11 bits of the address.
The Real Time Clock and Control registers (see Figure 2a for more detail) are located in the main
memory between addresses 00h and 0Fh. The User NV RAM resides in locations 10h through 2Fh. The
event logging memory data port is located at locations 41h, 42h, and 43h. Memory locations 44h and up
are reserved for future extensions and will read 00h.
The end user can write only to the Real Time Clock and Control registers and the User NV RAM. The
rest of the memory map is read-only from the end user’s perspective. During an event log mission, all of
the memory is read only. A write will terminate the mission. If there is an event being recorded when
the mission is terminated, the event will finish being recorded before the mission will be stopped and the
values in the MIP and ME bits will not change to 0’s until the mission has completed.
During an event log mission, memory locations 30h and above are not accessible to the user to avoid data
collisions from a user read and an event being logged at the same time.
If the user tries to read a
location with an address greater than 2Fh during a mission, the value returned will be 00h.