EVAL-ADUC7032QSPZ Analog Devices Inc, EVAL-ADUC7032QSPZ Datasheet - Page 109

EVAL DEV QUICK START ADUC7032

EVAL-ADUC7032QSPZ

Manufacturer Part Number
EVAL-ADUC7032QSPZ
Description
EVAL DEV QUICK START ADUC7032
Manufacturer
Analog Devices Inc
Series
QuickStart™ PLUS Kitr
Type
MCUr
Datasheet

Specifications of EVAL-ADUC7032QSPZ

Contents
Evaluation Board, Power Supply, Cable, Software, Emulator and Documentation
For Use With/related Products
ADuC7032
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Example Code
LIN Diagnostics
The ADuC7032-8L features the capability to nonintrusively
monitor the current state of the LIN pin. This readback
functionality is implemented via GPIO_11. The current state of
the LIN pin is contained in GP2DAT[4].
It is also possible to drive the LIN pin high and low via user
software, allowing the user to detect open-circuit conditions.
This functionality is implemented via GPIO_12.
RESET AND
COUNTING
LHSVAL1
STARTS
while((GP2DAT & 0x10 ) == 0 )
{}
LHSCON0 = 0x4;
IRQEN = 0x800;
LHSVAL1 = 0x3F
GENERATED
INTERRUPT
COMPARE
BREAK
LHSVAL0 STARTS
COUNTING
START
BIT
T
BIT
COUNTING. STOP
LHSVAL0 STOPS
Figure 44. Example LIN Configuration
GENERATED
INTERRUPT
// Wait until LIN bus returns high
// Enable LHS to detect break condition ungate
// RX line
// Disable all interrupts except break compare
// interrupt
// Enable UART interrupt
// The UART is now configured and ready to be used
// for LIN
Rev.0 | Page 109 of 116
UART CONFIGURED
DISABLED EXCEPT
BREAK COMPARE
LHS INTERRUPTS
To enable this functionality, GPIO_12 must be configured as a
GPIO via GP2CON[20]. Once configured, the LIN pin can be
pulled high or low via GP2DAT.
The ADuC7032-8L also features short-circuit protection on the
LIN pin. If a short-circuit condition is detected on the LIN pin,
HVSTA[2] is set. This bit is cleared by re-enabling the LIN
driver via HVCFG1[3]. It is possible to disable this feature via
HVCFG1[2].
STOP
BIT
START
BIT
RECEIVING DATA
VIA UART
ID0
BEGIN
ID1
ID2
ID3
ID4
ID5
ADuC7032-8L
P0
P1
STOP
BIT

Related parts for EVAL-ADUC7032QSPZ