EVAL-AD74111EBZ Analog Devices Inc, EVAL-AD74111EBZ Datasheet - Page 6

BOARD EVAL FOR AD74111

EVAL-AD74111EBZ

Manufacturer Part Number
EVAL-AD74111EBZ
Description
BOARD EVAL FOR AD74111
Manufacturer
Analog Devices Inc
Datasheets

Specifications of EVAL-AD74111EBZ

Main Purpose
Interface, Analog Front End (AFE)
Utilized Ic / Part
AD74111
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Secondary Attributes
-
Embedded
-
Primary Attributes
-
Lead Free Status / Rohs Status
Supplier Unconfirmed
EVAL-AD74111EB
START:
WAIT1:
TXINT:
RXINT:
ONE:
ZERO:
//program starts here
reset fl1; //reset low until everything is set up
//set up the serial port (SPORT1)
//rfs, tfs & sclk are inputs
//frame syncs required
ax0=0x280f;
dm(SPORT1_CTRL_REG)=ax0;
imask=0; ifc=0xff;
//initialise DAGs
i0=CONTROLBUFFER; m0=1; l0=N;
i1=CTRL; m1=1; l1=2;
i2=STATUS; m2=1; l2=2;
//fill control buffer with control register values
ax0=0x807c; dm(i0,m0)=ax0;
ax0=0x8a00; dm(i0,m0)=ax0;
ax0=0x9000; dm(i0,m0)=ax0;
ax0=0x9809; dm(i0,m0)=ax0;
ax0=0xa000; dm(i0,m0)=ax0;
ax0=0xa800; dm(i0,m0)=ax0;
ax0=0x3000; dm(i0,m0)=ax0;
ax0=2; dm(CONTROLCOUNTER)=ax0;
//reinitialise DAG
i0=CONTROLBUFFER;
//preload the TX register
ax0=0x807c;
tx1=ax0;
//bring reset high and wait for interrupts
call MASTERRESET;
//set fl1;
//enable the SPORT
ax0=0x1c00; dm(SYS_CTRL_REG)=ax0;
//enable RX and TX interrupts
imask= 0x06; ifc=0xff;
jump WAIT1;
ax0=dm(i1,m1);
tx1=ax0;
rti;
//read the RX register straight away
ay1=rx1;
ax0=dm(CONTROLCOUNTER);
ar=ax0-1;
if eq jump ZERO;
//status word received
dm(CONTROLCOUNTER)=ar;
//do whatever with status word
rti;
//ADC Word Received - End Of Frame
//loopback operation
dm(ADC)=ay1;
dm(DAC)=ay1;
//get next control word
ax0=dm(i0,m0); dm(CTRL)=ax0;
//reset the counter
ax0=2; dm(CONTROLCOUNTER)=ax0;
rti;
//get next value to transmit
//transmit it
//done
Rev. 0 | Page 6 of 16
//cra
//crb
//crc
//crd NOTE Mixed Master Mode
//cre
//crg
//crg read
//store counter value

Related parts for EVAL-AD74111EBZ