ADUC7034BCPZ-RL Analog Devices Inc, ADUC7034BCPZ-RL Datasheet - Page 121
![IC,Battery Management,LLCC,48PIN,PLASTIC](/photos/6/50/65022/cp-48-8_sml.jpg)
ADUC7034BCPZ-RL
Manufacturer Part Number
ADUC7034BCPZ-RL
Description
IC,Battery Management,LLCC,48PIN,PLASTIC
Manufacturer
Analog Devices Inc
Series
MicroConverter® ADuC7xxxr
Datasheet
1.ADUC7034BCPZ-RL.pdf
(136 pages)
Specifications of ADUC7034BCPZ-RL
Core Processor
ARM7
Core Size
16/32-Bit
Speed
20.48MHz
Connectivity
LIN, SPI, UART/USART
Peripherals
POR, PSM, Temp Sensor, WDT
Number Of I /o
9
Program Memory Size
32KB (32K x 8)
Program Memory Type
FLASH
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
3.5 V ~ 18 V
Data Converters
A/D 2x16b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 115°C
Package / Case
48-LFCSP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
LIN Hardware Synchronization Timer0 Register
Name:
Address:
Default Value:
Access:
Function:
LIN Hardware Break Timer1 Register
Name:
Address:
Default Value:
Access:
Function:
When user code writes to this location, the 12-bit value is
written not to the LIN break timer, but to a LIN break compare
register. In LIN mode of operation, the value in the compare
register is continuously compared to the break timer value. A
LIN break interrupt (IRQEN[7] and LHSSTA[0]) is generated
when the timer value reaches the compare value. After the
break condition interrupt, the LIN break timer continues to
count until the rising edge of the break signal. If a rising edge is
not detected and the 12-bit timer overflows (4096 × 1/131 kHz
= 31 ms), a break field error interrupt (IRQEN[7] and
LHSSTA[4]) is generated. By default, the value in the compare
register is 0x47, corresponding to 11 bit periods (that is, the
minimum pulse width for a LIN break pulse at 20 kbps). For
different baud rates, this value can be changed by writing to
LHSVAL1. Note that if a valid break interrupt is not received,
subsequent sync pulse timing through the LHSVAL0 register
does not occur.
LHSVAL0
0xFFFF0788
0x0000
Read only
The 16-bit, read only LHSVAL0 register holds
the value of the internal LIN synchronization
timer. The LIN synchronization timer is
clocked from an internal 5 MHz clock and is
independent of core clock and baud rate
frequency. In LIN mode, the value read by user
code from the LHSVAL0 register can be used
to calculate the master LIN baud rate. This
calculation is then used to configure the
internal UART baud rate to ensure correct LIN
communication via the UART from the
ADuC7034 slave to the LIN master node.
LHSVAL1
0xFFFF0790
0x000 (read) or 0x047 (write)
Read/write
When user code reads this location, the 12-bit
value returned is the value of the internal LIN
break timer, which is clocked directly from the
on-chip low power 131 kHz oscillator and
times the LIN break pulse. A negative edge on
the LIN bus or user code reading the
LHSVAL1 results in the timer and the register
contents being reset to 0.
Rev. B | Page 121 of 136
LIN HARDWARE INTERFACE
LIN Frame Protocol
The LIN frame protocol is broken into four main categories:
break symbol, sync byte, protected identifier, and data bytes.
The format of the frame header, break symbol, sync byte, and
protected identifier are shown in Figure 46. Essentially, the
embedded UART, the LIN hardware synchronization logic, and
the high voltage transceiver interface all combine on chip to
support and manage LIN-based transmissions and receptions.
LIN Frame Break Symbol
As shown in Figure 47, the LIN break symbol, which lasts at
least 13 bit periods, is used to signal the start of a new frame. The
slave must be able to detect a break symbol even while expecting or
receiving data. The ADuC7034 accomplishes this by using the
LHSVAL1 break condition and break error detect functionality
as described in the LIN Hardware Break Timer1 Register
section. The break period does not have to be accurately
measured, but if a bus fault condition (bus held low) occurs, it
must be flagged.
LIN Frame Synchronization Byte
The baud rate of the communication using LIN is calculated
from the sync byte, as shown in Figure 48. The time between
the first falling edge of the sync field and the fifth falling edge of
the sync field is measured and then divided by 8 to determine the
baud rate of the data that is to be transmitted. The ADuC7034
implements the timing of this sync byte in hardware. For
more information on this feature, refer to the LIN Hardware
Synchronization Status Register section.
LIN Frame Protected Identifier
After receiving the LIN sync field, the required baud rate for
UART is calculated. UART is then configured, allowing the
ADuC7034 to receive the protected identifier, as shown in
Figure 49. The protected identifier consists of two subfields: the
identifier and the identifier parity. The 6-bit identifier contains
the identifier of the target for the frame. The identifier signifies
the number of data bytes to be either received or transmitted. The
number of bytes is user configurable at the system-level design.
The parity is calculated on the identifier and is dependent on
the revision of LIN for which the system is designed.
LIN Frame Data Byte
The data byte frame carries between one and eight bytes of
data. The number of bytes contained in the frame is dependent
on the LIN master. The data byte frame is split into data bytes
as shown in Figure 50.
ADuC7034