Rainbow Electronics ATA6626 User Manual

1. Introduction
The development board for the ATA6621/22/24 (ATA6621-EK, ATA6622-EK, ATA6624-EK) is designed to give designers a quick start with the ICs and for prototyp­ing and testing of new LIN designs.
The ATA6621, ATA6622 and ATA6624 are system basis chips (SBCs) with fully inte­grated LIN transceiver according to the LIN specification 2.0, window watchdog with adjustable trigger times and low-drop voltage regulator providing 5V/50 mA (3.3V/50 mA for the ATA6622). The output current of the regulator can be boosted by using an external NPN transistor.
The ATA6622 and the ATA6624 are totally pin- and function-compatible, the only dif­ference between these circuits is the regulator’s output voltage.
ATA6621/22/24 Development
The ATA6621 differs in a few more ways—an initial overview of these differences starts with the different pins listed in Table 1-1:
Table 1-1. Overview of Pin Differences
Pin No. ATA6621 ATA6622 ATA6624
2 PTRIG GND GND 6 Not connected GND GND
8 Not connected GND GND 10 Not connected INH INH 16 GND KL_15 KL_15 17 TEMP GND GND
Figure 1-1. ATA6621/22/24 Development Board
Board
Application Note
4970A–AUTO–01/07
Another difference is unequal watchdog timing (see Section 2.3 on page 4).
The combination of the features included in the ATA6621/22/24 makes it possible to develop simple, but powerful and cheap, slave nodes in LIN-bus systems.
The ICs are designed to handle the low-speed data communication in vehicles, for example, in convenience electronics. Improved slope control at the LIN driver ensures secure data com­munication up to 20 Kbaud.
Sleep Mode and Silent Mode guarantee a very low current consumption.
This document has been developed to give the user an easy start with the development board of the ATA6621/22/24. For more detailed information about the use of these devices them­selves, refer to the corresponding datasheets.
1.1 Development Board Features
The development board for the ATA6621/22/24 supports the following features:
• All necessary components to put the ATA6621/22/24 in operation are included
• Placeholders for some optional components for extended functions included
• All pins easily accessible
• Easily adaptable watchdog times by replacing a resistor
• Possibility to place an external NPN transistor for boosting up the output current of the voltage regulator (jumper J1)
• Possibility of selecting between master or slave operation (mounting D3 and R4)
1.2 Quick Start
The development board for the ATA6621/22/24 is shipped with all necessary components and a default jumper setting to start with the development of a LIN slave node immediately.
After connecting an external 12V DC power supply between the terminals VB and GND, the circuit is in the Pre-normal mode (Fail Safe mode) and a 5V (3.3V) DC voltage provided by the internal voltage regulator can be measured between VCC and GND. (The Pre-normal mode is called Fail Safe mode in the datasheets of the devices ATA6622 and ATA6624.) Furthermore, the following voltages or states can be measured at the pins WD_OSC, TEMP, INH, RXD and LIN:
Table 1-2. ATA6621
Mode VCC WD_OSC TEMP INH RXD LIN Transceiver
Pre-normal mode 5V 2.5V ~2V - 5V Recessive Off
Normal mode 5V 2.5V ~2V - 5V Recessive On
Table 1-3. ATA6622
Mode VCC WD_OSC TEMP INH RXD LIN Transceiver
Fail Safe mode 3.3V 1.23V - On 3.3V Recessive Off
Normal mode 3.3V 1.23V - On 3.3V Recessive On
2
ATA6621/22/24 Development Board
4970A–AUTO–01/07
ATA6621/22/24 Development Board
Table 1-4. ATA6624
Mode VCC WD_OSC TEMP INH RXD LIN Transceiver
Fail Safe mode 5V 1.23V - On 5V Recessive Off
Normal mode 5V 1.23V - On 5V Recessive On
As the window watchdog of the ATA6621/22/24 is already active in the Pre-normal mode (Fail Safe mode), a periodic reset signal will be generated at the pin NRES as long as no trigger signal can be received at the watchdog trigger input. Normally the connected microcontroller will be monitored by the watchdog, so it has to generate the required trigger signal as described in Section 2.3 on page 4 and in more detail in the datasheet of the corresponding device. For the quick start it is sufficient to generate a square-wave signal with V f = 75Hz at pin NTRIG or PTRIG for the ATA6621 or with f = 50Hz at pin NTRIG for the ATA6622 and ATA6624 (this is recommended only for testing purposes). In order to check that the watchdog is triggered in the expected way, the reset pin NRES can be monitored until a continuous high level is available.
Please note that the communication is still inactive in Pre-normal mode (Fail Safe mode).
In order to communicate via the LIN bus interface you have to switch to normal mode by applying the VCC voltage (5V or 3.3V, as appropriate) at pin EN.
= VCC and
PP
2. Hardware Description
In the following sections only the normal operating conditions will be described. For further information concerning one of the mentioned features, refer to the corresponding datasheet.
2.1 Power Supply (VB and GND)
In order to get the development board running, an external 5.7V to 18V DC power supply is required between the terminals VB and GND. The input circuit is protected against inverse-polarity with the protection diode D1, so that there is normally a difference between the VB and VS level of approximately 0.7V.
2.2 Voltage Regulator (PVCC and VCC)
The internal 5V/3.3V voltage regulator is capable of driving loads with up to 50 mA current consumption so the SBCs are able to supply a microcontroller, sensors and/or other ICs. The voltage regulator is protected against overloads by means of current limitation and overtem­perature shutdown. To boost the maximum load current, an external NPN transistor may be used, with its base being connected to the VCC pin and its emitter connected to PVCC. If this is done, the regulated output voltage of 5V or 3.3V is available at pin PVCC. For this reason, the pin PVCC and not the pin VCC is led to the connector available off the board.
But in normal operation, the pins PVCC and VCC have to be connected directly. This is done by setting jumper J1.
4970A–AUTO–01/07
3
2.3 The Window Watchdog (PTRIG, NTRIG and NRES)
s
The watchdog anticipates a trigger signal from the microcontroller at the NTRIG input (nega­tive edge) within a defined time window. The ATA6621 has an additional PTRIG input, so it is also possible to trigger the watchdog with a positive edge. If no correct trigger signal is received, a reset signal will be generated at the NRES output. During Silent or Sleep Mode the watchdog is switched off to reduce current consumption.
The minimum time for the first watchdog pulse is required after the undervoltage reset at the NRES pin disappears and is defined as lead time t
The timing basis of the watchdog is provided by the internal oscillator, whose time period t is adjustable via the external resistor R3 at the pin WD_OSC. For the ATA6621, the voltage at this pin is 2.5V, for the ATA6622 and ATA6624 it is 1.23V (see Table 1-2 on page 2 through
Table 1-4 on page 3). Due to these different voltages at the devices, the resulting timings are
also different. There is a resistor R3 with a value of 51 kΩ mounted on the development board, which results in the following timing sequence for the ATA6621:
Figure 2-1. Timing Sequence with R3 = 51 kΩ at the ATA6621
= 5V
V
CC
Undervoltage Reset Watchdog Reset
= 10 ms
t
NRES
reset
.
d
OSC
t
= 1.9 m
nres
NTRIG
PTRIG
td = 49 ms
= 10 ms
t
1
t
trigg
t
t
wd
> 3 µs
= 10.5 ms
2
t
1
t
2
4
ATA6621/22/24 Development Board
4970A–AUTO–01/07
ATA6621/22/24 Development Board
t
For the ATA6622 and ATA6624 the resistor R3 at pin WD_OSC with the same value of 51 k results in the different timing sequence shown in Figure 2-2:
Figure 2-2. Timing Sequence with R3 = 51 kΩ at the ATA6622 and ATA6624
= 3.3V/5V
V
CC
Undervoltage Reset Watchdog Rese t
= 4 ms
NRES
reset
t
nres
= 4 ms
td = 150 ms
NTRIG
If you want to change the watchdog times mentioned above it is only necessary to change the value of the external resistor R3 (refer to the corresponding datasheet).
2.4 LIN Interface (LIN, TXD and RXD)
2.4.1 Bus Pin (LIN)
A low-side driver with internal current limitation and thermal shutdown as well as an internal pull-up resistor in compliance with the LIN specification 2.0 is implemented. LIN receiver thresholds are compatible with the LIN protocol specification.
At the LIN pin there is a 220-pF capacitor to ground on the board. Additionally, when using the development board for a LIN master application, there is the opportunity to mount the two nec­essary extra components diode D2 (LL4148) in series with resistor R1 (1kΩ) on the board at their designated placeholders.
= 20 ms
t
1
t
trigg
= 21 ms
t
2
t
wd
> 200 ns
t
1
t
2
2.4.2 Input Pin (TXD)
2.4.3 Output Pin (RXD)
4970A–AUTO–01/07
This pin is the microcontroller interface to control the state of the LIN output. TXD must be pulled to ground in order to have the LIN bus low. If TXD is high, the LIN output transistor is turned off and the bus is in the recessive state, pulled up by the internal resistor. If TXD is low, the LIN output transistor is turned on and the bus is in the dominant state. An internal timer prevents the bus line from being driven permanently in the dominant state. If TXD is forced to low longer than t
> 20 ms, the LIN bus driver is switched to the recessive state.
DOM
This pin reports the state of the LIN bus to the microcontroller. LIN high (recessive state) is reported by a high level at RXD, LIN low (dominant state) is reported by a low level at RXD. The output has an internal pull-up structure with typ. 5 kΩ to VCC.
The output is short-circuit protected.
5
2.5 Temp Pin (TEMP) (ATA6621 Only)
Besides the internal temperature monitoring of the voltage regulator, an additional sensor measures the junction temperature and provides a linearized voltage at the TEMP pin. Together with the analog functions of the microcontroller (for example, the analog comparator and/or the analog-to-digital converter), this enables the application to detect overload condi­tions. Further actions in order to prevent the IC from damage can be implemented.
2.6 Mode and TM Input Pins (MODE and TM)
The TM input is only used for Atmel® internal-testing purposes and therefore connected directly to GND. The Mode input is pulled to GND by the 4.7-kΩ resistor R1 and therefore the watchdog is active in the normal operation mode. Especially during the early development phase it can be helpful to have the possibility to deactivate the watchdog in order to debug the application program without disturbing RESETS caused by the watchdog. Therefore the watchdog can be switched off by connecting the MODE pin to VCC externally.
2.7 Reset Output (NRES)
After ramping up the battery voltage or after a wake-up from Sleep mode, the 5V regulator is switched on and the VCC voltage exceeds the undervoltage threshold. The implemented und­ervoltage delay keeps the NRES output at low level for approximately 10 ms after VCC reaches its nominal value. Then it switches to high and the watchdog waits for the trigger sequence from the microcontroller.
The NRES pin switches to low if the watchdog is not triggered correctly (see Section 2.3 on
page 4).
In the ATA6621 the Reset output is a push-pull state supplied by the VCC voltage.
In the ATA6622 and ATA6624, the Reset output is an open drain output implemented with a single MOS transistor which is switched on in case of a VCC undervoltage or if the watchdog is not triggered correctly. In order to pull up the NRES output of the ATA6622/24 an external resistor connected to VCC opment board.
If a reset occurs (NRES is Low), the circuit switches to Pre-normal mode (Fail Safe mode).
is necessary. This resistor (R9) is taken into account on the devel-
2.8 KL_15 Input (KL_15) (ATA6622/24 Only)
This pin is a high voltage input used to wake up the device from Sleep or Silent mode. It is an edge sensitive pin (rising edge). It is usually connected to the ignition in order to generate a local wake-up in the application if the ignition is switched on. To protect the pin against voltage transients, a series resistor R12 and a 100-nF ceramic capacitor C8 have to be used. If this pin is not needed, it must be connected to GND.
2.9 Inhibit Output (INH) (ATA6622/24 Only)
This pin is a high-side switch and it is normally used to switch on an external voltage regulator during Normal mode or Fail Safe mode. In Sleep mode or Silent mode the INH output is switched off.
For master node applications it is possible to switch off the external master resistor (R4) by the INH pin.
6
ATA6621/22/24 Development Board
4970A–AUTO–01/07
Loading...
+ 11 hidden pages