beautypg.com

Magtrack1 input, Hardware considerations, Figure 32. magtrack1 input and timing – Echelon I/O Model Reference for Smart Transceivers and Neuron Chips User Manual

Page 99

background image

I/O Model Reference

89

// This next object allows monitoring of
// the ~Data_valid input signal.
IO_7 input bit ioDataValid;

int nibbles;
unsigned int buffer[20];
. . .

when (io_changes(ioDataValid) to 0) {
nibbles = io_in(ioCardData, buffer);
}

Magtrack1 Input

The magtrack1 I/O model is used to transfer synchronous serial data from an ISO

3554 track 1 magnetic stripe card reader.

See the magcard input model for track 2 compatible input, and the

magcard_bitstream input model for a general-purpose magnetic card input.
This model applies to Series 3100 Neuron Chips and Smart Transceivers, and to
Series 5000 Neuron Processors and Smart Transceivers.

Hardware Considerations

The data input is on pin IO9, and the clock, or data strobe, is presented as input

on pin IO8. The data on pin IO9 is clocked in just following the falling edge of the
clock signal on IO7, with the least-sigificant bit (LSB) first.

Serial Data

Clock

IO10

IO9

IO8

IO0
IO1
IO2
IO3

IO4
IO5
IO6
IO7

Timeout

CLOCK

(IO8)

SDA

(IO9)

TIMEOUT

START OF

io_in()

t

hold

END OF

io_in()

t

high

TIME

IO11

t

setup

t

low

t

clk

t

wto

t

ret

t

tret

t

fin

Figure 32. Magtrack1 Input and Timing