Thermal Printhead Interface; Serial Eeprom Interface - GE MAC 5500 Service Manual

Resting ecg analysis system
Hide thumbs Also See for MAC 5500:
Table of Contents

Advertisement

Thermal Printhead Interface

Serial EEPROM Interface

Revision E
Equipment Overview: Theory of Operation
of more than 80 bits of one's (or zeros for that matter), so there is no possibility of
satisfying the idle period requirement in the middle of a data packet.
Because the acquisition module clock is supplied by the FPGA, receive timing
errors are limited to phase uncertainty. By searching for the beginning of the start bit
in a fashion similar to that used by a UART, the phase uncertainty is eliminated and
the remainder of the packet may be received without further synchronization. In
practice, the FPGA uses every edge in the receive data stream to re-sync its bit
sampling circuit. It is possible for the ECG data to be all zeros or ones, so runs of as
many as 80 zeros or ones could occur before a marker word is encountered in the
data stream (which contains at least one "1" and one "0" to break any runs in the
data).
The acquisition module supports a special "code update" mode for rapid
reprogramming of its on-board code memory. To increase the update speed, the
acquisition module echoes each uploaded code byte with a single reply word rather
than the usual 16-word data packet. The FPGA receive logic provides a special 1
word reception mode to accommodate this.
The ATMEL CPU sends print data to the thermal print head through a buffered
serial interface. The FPGA implements the data buffer, serializer, strobe/latch pulse
generator and power switch gate drive pump. Special interlocks are implemented to
prevent stuck strobe signals or printing when the battery voltage is critically low.
Each print line requires 1728 bits of data. To conserve FPGA resources, each line is
divided into three chunks of 512 bits each, with one leftover chunk of 192 bits. The
FPGA provides a single 32 word x 16 bit buffer (512 bits) to hold the print line data.
After writing a chunk of data to the buffer, the ATMEL CPU enables serialization of
the data by reading one of two registers (to support the serialization of either a full
512 bit or partial 192-bit buffer). When the entire print line has been loaded, the
ATMEL CPU cues a print strobe by writing the required strobe width value to the
strobe/latch pulse generator.
When the strobe register contains a non-zero value, the power switch gate pump
produces a differential clock signal to drive an external diode voltage doubler
(CR132-133, C262-C264, R291). The output of the voltage doubler drives the gate
of a power MOSFET (Q11) that provides power to the print head. R289 provides
gate bleed off to ensure that Q11 turns off when the pump stops. C279 filters the
doubler output to DC.
A special test mode is provided to allow testing of the thermal print head. In test
mode, print head power is disabled and the strobe signal is driven continuously. This
allows individual print dots to be driven with a small test current via a current source
(Q107, R322, Z100) enabled by a level shifter (Q106, R321) driven from a ATMEL
GPIO line. Half of the resulting printhead voltage drop (divider R323/324) may be
measured to either determine the dot's resistance or at least determine if the dot is
open.
A standard four-wire SPI interface is provided for connection to a serial EEPROM
memory (CFGMEM). The ATMEL exchanges a byte of data with the EEPROM by
writing a value to the interface register. Data is clocked at 4MHz; quickly enough
MAC 5500 resting ECG analysis system
2020299-020
2-23

Advertisement

Table of Contents
loading

Table of Contents