aduc7033bstz-8l-rl Analog Devices, Inc., aduc7033bstz-8l-rl Datasheet - Page 127

no-image

aduc7033bstz-8l-rl

Manufacturer Part Number
aduc7033bstz-8l-rl
Description
Integrated Precision Battery Sensor For Automotive
Manufacturer
Analog Devices, Inc.
Datasheet
while((GP2DAT & 0x10 ) == 0 )
{}
LHSCON0 = 0x4;
IRQEN = 0x800;
LIN Diagnostics
The ADuC7033 features the capability to unintrusively monitor
the current state of the LIN pin. This readback functionality is
implemented using 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 through
user software, allowing the user to detect open-circuit conditions.
This functionality is implemented via GPIO_12. To enable this
functionality, GPIO_12 must be configured as a GPIO through
GP2CON[20]. After it is configured, the LIN pin can be pulled
high or low using GP2DAT.
RESET AND
COUNTING
LHSVAL1
STARTS
LHSVAL1 = 0x3F
GENERATED
INTERRUPT
COMPARE
BREAK
LHSVAL0 STARTS
COUNTING
START
BIT
T
BIT
// 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
COUNTING. STOP
LHSVAL0 STOPS
Figure 49. Example LIN Configuration
GENERATED
INTERRUPT
Rev. 0 | Page 127 of 136
UART CONFIGURED
DISABLED EXCEPT
BREAK COMPARE
LHS INTERRUPTS
STOP
BIT
The ADuC7033 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 using HVCFG1[3]. It is possible to disable this feature
through HVCFG1[2].
LIN Operation During Thermal Shutdown
When a thermal event occurs, that is, HVSTA[3] is set, LIN
communications continue uninterrupted.
START
BIT
RECEIVING DATA
VIA UART
BEGIN
ID0
ID1
ID2
ID3
ID4
ID5
P0
ADuC7033
P1
STOP
BIT

Related parts for aduc7033bstz-8l-rl