Sensorless Bldc Control Source Code ATMEGA16

of 14 /14
   AVR Microcontrollers for Automotive Scalable Solutions for your Application Needs  AVR ®  MICROCONTROLLER SOLUTIONS

description

aa

Transcript of Sensorless Bldc Control Source Code ATMEGA16

  • AVR Microcontrollers for Automotive Scalable Solutions for your Application Needs

    AVR MicRocontRolleR SOLUTIONS

  • 2 AVR MICROCONTROLLERS FOR AUTOMOTIVE Everywhere You Are

    The automotive market for electronics is grow-

    ing rapidly as the demand for comfort, safety and

    reduced fuel consumption increases. All of these

    new functions require local intelligence and control,

    which can be optimized by the use of small, power-

    ful microcontrollers.

    Taking advantage of its unsurpassed experience

    in embedded Flash memory microcontrollers, with

    a large number of devices of AVR devices from

    8 to 32 bits, Atmel brings innovative solutions,

    whether for sensor or actuator control or more

    sophisticated networking applications.

    These microcontrollers are fully-engineered to fulfill

    OEMs quality requirements towards zero defects.

    Powertrain

    n Turbo Chargern Fuel Pumpn Exhaust Systemn Fan Controln Battery Monitoringn Intelligent Watchdog System

    Infotainment

    n Car Radio Amplifiersn Satellite Radio Receiversn Front Panels

    Door, Seat, Sunroof Modules

    n Electrical Mirrorn Window Lockn Power Windown Capacitive Touch Sensing

    Keypads

    n Power Seatn Ambient Lightn Roof Panel

    Climate Control

    n Blowern Flap Controln Xbridge DC Motor Control

    Security

    n Car Access - Remote Keyless Entry

    - Immobilizer

    - Passive Entry/Go

    Dashboard

    n Console Indicatorn Radio Paneln Climate Control Paneln Capacitive Sensitive Switch Panel

    Body Control Network

    n CAN/LIN Gatewayn CAN/MOST Gateway

    Typical Applications

    Several AVR microcontrollers are qualified for

    operation up to +150C ambient temperature (AEC-

    Q100 Grade0). Designers can distribute intelligence

    and control functions directly into or near gearbox-

    es, transfer cases, engine sensors actuators, turbo

    chargers and exhaust systems.

    The following Automotive AVR microcontrollers

    are available as Grade0 versions: ATtiny45,

    ATtiny87/167, ATtiny261/461/861, ATmega88/168,

    ATmega16M1, ATmega32M1, ATmega32C1,

    ATmega64M1, ATmega64C1.

    Atmels automotive AVR microcontrollers are avail-

    able in four different temperature ranges to serve

    various applications:

    AEC-Q100 Grade3 T: -40C to +85C

    AEC-Q100 Grade2 T1: -40C to +105C

    AEC-Q100 Grade1 Z: -40C to +125C

    AEC-Q100 Grade0 D, T2: -40C to +150C

    +150C Qualified

    Innovative AVR Microcontroller Solutions for Automotive Applications

  • 3www.atmel.com

    The AVR 8-bit and 32-bit architectures have

    reached a high level of acceptance in many market

    segments for their:

    n Highest System Integration with a Large Number of Analog and Digital Peripherals

    n Highest CPU Performance with Executing Instructions in a Single Clock Cycle

    n Highest Code Density with High-level C-language Optimization

    n Dedicated DSP and Floating Point Instructions (32-bit)

    n Self-programming Memoryn Product Compatibility for Both Code and

    Features

    n Complete and Low-cost Tool Set n Brown-out Detection and Flash Corruption

    Security

    With the ever-expanding popularity of touch-

    enabled products, such as portable media play-

    ers and mobile phones, consumers have become

    comfortable with touch interfaces. It is natural that

    touch interfaces find their way into the automobile.

    From the proximity sensor for keyless door entry to

    the touch screen of the GPS system, touch interfac-

    es give the driver and passengers a sense of luxury,

    quality, and differentiation. Atmel provides a touch

    solution for virtually any condition. In fact, Atmel

    delivers the most comprehensive portfolio of touch

    solutions in the industry standard products and

    programmable products, button/slider/wheel con-

    trollers and touch screen controllers. The 11-channel

    QTouch device AT42QT1110 is the first standard

    touchscreen controller for automotive applications.

    Two families of automotive 8-bit AVR micro-

    controllers include an ISO 16845 certified CAN

    controller peripheral: AT90CAN128/64/32 series

    and ATmega64M1/32M1/16M1, ATmega64C1/32C1

    series. They also feature a self-programming tech-

    nology and a comprehensive set of analog and

    digital peripherals. With 16 Kbytes to 128 Kbytes

    of Flash they cover a large range of applications.

    Vector Informatik drivers are available for the 8-bit

    AVR microcontrollers.

    Atmels first 32-bit AVR family UC3Cx512/256/128

    incorporates an ISO 16845 certified dual CAN con-

    troller with 128 to 512 Kbytes of Flash. The 32-bit

    AVR products are supported by a complete OSEK

    OSCAN driver and CAN boot loader.

    CAN Microcontrollers

    Automotive: A Completely Distributed Architecture

    Comfort and safety features are continuously

    being added to modern vehicles, requiring more

    embedded computing power. As cost-effective

    Flash microcontrollers become available, car mak-

    ers now have the ability to design distributed archi-

    tectures with scattered and re-programmable 8-bit

    controllers. Alternatively, they can merge all func-

    tions in one powerful 32-bit microcontroller with

    multiple peripherals and networking connections.

    8-bit AVR microcontrollers are perfectly suited for

    distributed architectures. They feature on-chip

    analog interfaces for signal conditioning or pro-

    grammable I/Os for actuator signaling, and CAN,

    LIN or PWM networking connections to the ECU.

    Centralized architectures benefit from Atmels

    32-bit AVR microcontrollers with rich peripheral set

    and multiple CAN and LIN connections.

    Capacitive Touch Products

    AVR Architecture Benefits:8-/32-bit RISC Core: High Performance, Low Power Consumption

  • 4 AVR MICROCONTROLLERS FOR AUTOMOTIVE Everywhere You Are

    LIN Bus Transceivers

    All automotive ATmega AVR products feature a

    general-purpose USART to support LIN master

    and slave systems. A stabilized RC oscillator satis-

    fies the LIN slave synchronization requirements. For

    LIN master applications, an oscillator with external

    crystal or resonator is also available.

    The ATtiny167/87 family with a hardware

    LIN featuring self synchronization serves

    cost-sensitive LIN slave applications.

    The same hardware LIN is also available

    in Atmels dedicated motor-control AVR

    products ATmega64M1/32M1/16M1 and

    ATmega64C1/32C1. A hardware LIN re-

    duces the Flash memory footprint and

    minimizes LIN real-time constraints.

    LIN2.1 protocol stacks are available from Mentor

    Graphic and Vector Informatik for all AVR micro-

    controllers with general-purpose USART or hard-

    ware LIN.

    LIN Microcontrollers

    Atmels modular LIN transceiver family includes

    simple transceiver ICs (ATA6662/63/64) and

    complex system basis chips (ATA6622/23/24/25/

    26/28/29/30/31). All of Atmels LIN transceiv-

    ers are compliant with the LIN specification 2.1

    and the SAE J2602-2. A combination of voltage

    regulator and bus transceiver enables the devel-

    opment of simple, yet powerful slave nodes for

    LIN bus systems. The ATA6622/24/26/28/30 also

    include a window watchdog. The ATA6626/64,

    which do not include a time-out feature at the

    LIN bus, are perfect for systems requiring very

    slow LIN communication. These devices are

    designed in Atmels high-voltage BCD-on-SOI

    ( SMART-I.S.TM) process. Due to the advan-

    tages of the SOI technology, this generation

    sets new benchmarks for EMI performance.

    Its ESD protection (8 kV) is best-in-class and

    enables the design of robust electronic units

    for the automotive harsh environment. This

    includes automotive comfort applications,

    intelligent sensors, or other body electronic

    applications where low-speed data communica-

    tion and low costs are a requirement.

  • 5www.atmel.com

    Brushless DC Motor (BLDC) are more and more

    present in power train, chassis and body applica-

    tions. Atmel has developed two families of 8-bit

    microcontrollers supporting Hall sensor and sen-

    sorless applications.

    The first family is the ATmega64M1/32M1/16M1

    which includes not only a powerful set of analog

    and digital peripherals optimized for up to six phas-

    es BLDC, but also CAN and LIN communication to

    the ECU.

    The second family is the ATtiny861/461/261

    including a powerful set of analog and digital

    peripherals for BLDC. This family supports cost-

    sensitive applications where communication with

    the ECU is carried out via a simplified I/O system

    such as PWM command/response.

    A family of high-voltage drivers complements

    Atmels motor-control solutions.

    The highest integration level is achieved by

    Atmels System-in-Package (SiP) solutions

    ATA6612/13/16/17. With these devices, the die of

    the ATA6624 LIN system basis chip (SBC) includ-

    ing LIN transceiver, voltage regulator, and watchdog

    is assembled together with an AVR microcontroller

    (ATmega88/168 and ATtiny87/167) in a single QFN

    package. With these SiP solutions, customers can

    create complete LIN nodes using just one IC. As all

    pins of the AVR and SBC are bonded out, the full

    range of AVR tools are available for development.

    LIN & Microcontroller System-in-Package

    Motor-control Applications

    ECUElectronic

    ControlUnit

    Comparator

    Hall Signals

    ATmega16/32/64M1

    LIN/CAN

    MotorATAxx33/34

    Vmotor

    ATtiny261/461/861

    PWM

    PSC

    PSC

    ADC

    AVR

    Hall

    Sensorless with BEMF(Back Electro Motive Force)

    Sensor with externalHall sensors

    3

  • 6 AVR MICROCONTROLLERS FOR AUTOMOTIVE Everywhere You Are

    CAN & LIN Bus TransceiversPart Number Description Package

    LIN Transceivers

    ATA6622 Same as ATA6623, with Window Watchdog QFN20

    ATA6623 LIN System Basis Chip with LIN Transceiver and Integrated 3.3V/50 mA Voltage Regulator SO8

    ATA6624 Same as ATA6625, with Window Watchdog QFN20

    ATA6625 LIN System Basis Chip with LIN Transceiver and Integrated 5V/50 mA Voltage Regulator SO8

    ATA6626 Same as ATA6624, with Time-out Function QFN20

    ATA6628LIN System Basis Chip with LIN Transceiver, Integrated 3.3V/50 mA Voltage Regulator and Window Watchdog

    QFN20

    ATA6629 LIN System Basis Chip with LIN Transceiver and Integrated 3.3V/50 mA Voltage Regulator SO8

    ATA6630LIN System Basis Chip with LIN Transceiver, Integrated 3.3V/50 mA Voltage Regulator and Window Watchdog

    QFN20

    ATA6631 LIN System Basis Chip with LIN Transceiver and Integrated 3.3V/50 mA Voltage Regulator SO8

    ATA6662LIN Transceiver with Outstanding EMC Performance, Physical Layer Conforming to LIN Specification 2.0 and SAE J2602-2

    SO8

    ATA6663 LIN Transceiver, Physical Layer According to LIN Specification 2.1 and SAE J2602-2 SO8

    ATA6664LIN Transceiver, Physical Layer According to LIN Specification 2.1 and SAE J2602-2, without Time-out Feature

    SO8

    CAN Transceivers

    B10011SLow-speed CAN Transceiver for High Transmission Levels, Two-wire Bus Interface, Point-to-Point Interface Between Trucks and Trailers, Interface Between Dashboard and Engine, etc.; High Reliability, 27V Operation, Hardware Fault Recognition

    SO16

    LIN & Microcontroller System-in-Package (SiP)

    Part Number LIN Transceiver Microcontroller Package

    ATA6612 ATA6624 ATmega88 QFN48

    ATA6613 ATA6624 ATmega168 QFN48

    ATA6616 ATA6624 ATtiny87 QFN38

    ATA6617 ATA6624 ATtiny167 QFN38

    3rd-partySoftware

    LIN2.1 VectorOSCAN Vector

    CAN Boot LoaderOSEK OS

    CapacitiveSensing

    ButtonsWheelsSlidersPeripherals

    Brown-out DetectionADC with Differential

    and GainHigh-speed Timers

    AVR3260 MIPS

    DMA & Event Controller

    Up to 512 kB Flash

    AVR 8-bit150C AEC-Q100,G0

    Motor ControlFlash & EEPROM

    SoftwareLibrary

    Brushless DC MotorDSPlib (AVR 32)

    QTouch

    NetworkingLIN2.1CAN

    FlexRayTWI/I2S

    System-in-Package

    Highly Integrated, AVR-based

    out Detectionth Differential nd Gainpeed Timers

    AVR 150C AEC

    Motor C

    LibraBrushless D

    DSPlib (AQTou

    em-in-ckage

    d

    CustomerApplication

    The range of devices available to auto motive cus-

    tomers covers a variety of needs and will expand

    rapidly in the future.

    Automotive Offering

    Broad Product Range: Multiplexing & Standard Microcontrollers

    An SiP device combines a LIN Transceiver and a microcontroller in one package.

  • 7www.atmel.com

    Par

    t Num

    ber

    Flash (kB)

    EEPROM (Bytes)

    SRAM (Bytes)

    I/O Pins

    Vcc (V)

    10-bit A/D Channels

    Analog Comparator

    Motor Ctrl Timer

    16-bit Timer

    8-bit Timer

    Ext. Interrupts

    Hardware Multiplier

    PWM Channels

    RTC

    Self Program Memory

    CAN (Mess. Obj.)

    SPI

    TWI

    UART (LIN HW)

    Packages

    Max. Temp (C)C

    AN

    AT90

    CA

    N32

    3210

    2420

    4853

    2.7

    - 5.

    58

    Yes

    22

    8Ye

    s8

    Yes

    Yes

    1 (1

    5)Ye

    s--

    2 V

    QFN

    64, L

    QFP

    6412

    5

    AT90

    CA

    N64

    6420

    4840

    9653

    2.7

    - 5.

    58

    Yes

    22

    8Ye

    s8

    Yes

    Yes

    1 (1

    5)Ye

    s--

    2 V

    QFN

    64, L

    QFP

    6412

    5

    AT9

    0C

    AN

    128

    128

    4096

    4096

    532.

    7 -

    5.5

    8Ye

    s2

    28

    Yes

    8Ye

    sYe

    s1

    (15)

    Yes

    --2

    VQ

    FN64

    , LQ

    FP64

    125

    meg

    aAV

    R

    ATm

    ega4

    84

    256

    512

    232.

    7 -

    5.5

    8Ye

    s1

    226

    Yes

    6Ye

    sYe

    s1+

    US

    AR

    TYe

    s1

    TQ

    FP32

    , VQ

    FN32

    125

    ATm

    ega8

    88

    512

    1024

    232.

    7 -

    5.5

    8Ye

    s1

    226

    Yes

    6Ye

    sYe

    s1+

    US

    AR

    TYe

    s1

    TQ

    FP32

    , VQ

    FN32

    125

    ATm

    ega8

    8V8

    512

    1024

    231.

    8 -

    3.6

    8Ye

    s1

    226

    Yes

    6Ye

    sYe

    s1+

    US

    AR

    TYe

    s1

    TQ

    FP32

    , VQ

    FN32

    85

    ATm

    ega1

    6M1

    1651

    210

    2427

    2.7

    - 5.

    511

    41

    11

    27Ye

    s10

    --Ye

    s1

    (6)

    Yes

    Yes

    1 (Y

    ) T

    QFP

    32, V

    QFN

    3212

    5

    ATm

    ega1

    64P

    1651

    210

    2432

    2.7

    - 5.

    58

    Yes

    12

    32Ye

    s6

    Yes

    Yes

    1+U

    SA

    RT

    Yes

    2 V

    QFN

    44, T

    QFP

    4412

    5

    ATm

    ega1

    6816

    512

    1024

    232.

    7 -

    5.5

    8Ye

    s1

    226

    Yes

    6Ye

    sYe

    s1+

    US

    AR

    TYe

    s1

    TQ

    FP32

    , VQ

    FN32

    125

    ATm

    ega1

    69P

    1651

    210

    2454

    2.7

    - 5.

    58

    Yes

    12

    17Ye

    s4

    Yes

    Yes

    Yes

    US

    I1

    VQ

    FN64

    , TQ

    FP64

    85

    ATm

    ega3

    2C1

    3210

    2420

    4827

    2.7

    - 5.

    511

    41

    127

    Yes

    4--

    Yes

    1 (6

    )Ye

    sYe

    s1

    (Y)

    TQ

    FP32

    , VQ

    FN32

    125

    ATm

    ega3

    2M1

    3210

    2420

    4827

    2.7

    - 5.

    511

    41

    11

    27Ye

    s10

    --Ye

    s1

    (6)

    Yes

    Yes

    1 (Y

    ) T

    QFP

    32, V

    QFN

    3212

    5

    ATm

    ega3

    24P

    3210

    2420

    4832

    2.7

    - 5.

    58

    Yes

    12

    32Ye

    s6

    Yes

    Yes

    1+U

    SA

    RT

    Yes

    2 V

    QFN

    44, T

    QFP

    4412

    5

    ATm

    ega3

    28P

    3210

    2420

    4823

    2.7

    - 5.

    58

    Yes

    12

    26Ye

    s6

    Yes

    Yes

    1+U

    SA

    RT

    Yes

    1 T

    QFP

    32, V

    QFN

    3212

    5

    ATm

    ega6

    44P

    6420

    4840

    9632

    2.7

    - 5.

    58

    Yes

    12

    32Ye

    s6

    Yes

    Yes

    1+U

    SA

    RT

    Yes

    2 V

    QFN

    32, T

    QFP

    4412

    5

    ATm

    ega6

    4C1

    6420

    4840

    9627

    2.7

    - 5.

    511

    41

    127

    Yes

    4--

    Yes

    1 (6

    )Ye

    sYe

    s1

    (Y)

    TQ

    FP32

    , VQ

    FN32

    125

    ATm

    ega6

    4M1

    6420

    4840

    9627

    2.7

    - 5.

    511

    41

    11

    27Ye

    s10

    --Ye

    s1

    (6)

    Yes

    Yes

    1 (Y

    ) T

    QFP

    32, V

    QFN

    3212

    5

    tinyA

    VR

    ATtin

    y24

    212

    812

    812

    2.7

    - 5.

    58

    Yes

    11

    12--

    4--

    Yes

    US

    IU

    SI

    -- V

    QFN

    20, S

    OIC

    1412

    5

    ATtin

    y25

    212

    812

    86

    2.7

    - 5.

    54

    Yes

    --2

    7--

    4--

    Yes

    US

    IU

    SI

    -- V

    QFN

    20, S

    OIC

    812

    5

    ATtin

    y261

    212

    812

    816

    2.7

    - 5.

    511

    Yes

    11

    (10b

    it)16

    --6

    --Ye

    sYe

    sU

    SI

    -- V

    QFN

    32, V

    QFN

    20, S

    OIC

    20, T

    SS

    OP

    2012

    5

    ATtin

    y44

    425

    625

    612

    2.7

    - 5.

    58

    Yes

    11

    12--

    4--

    Yes

    US

    IU

    SI

    -- V

    QFN

    20, S

    OIC

    1412

    5

    ATtin

    y44V

    425

    625

    612

    1.8

    - 3.

    68

    Yes

    11

    12--

    4--

    Yes

    US

    IU

    SI

    -- V

    QFN

    20, S

    OIC

    1485

    ATtin

    y45

    425

    625

    66

    2.7

    - 5.

    54

    Yes

    --2

    7--

    4--

    Yes

    US

    IU

    SI

    -- V

    QFN

    20, S

    OIC

    812

    5

    ATtin

    y45V

    425

    625

    66

    1.8

    - 3.

    64

    Yes

    --2

    7--

    4--

    Yes

    US

    IU

    SI

    -- V

    QFN

    20, S

    OIC

    885

    ATtin

    y461

    425

    625

    616

    2.7

    - 5.

    511

    Yes

    11

    (10b

    it)16

    --6

    --Ye

    sYe

    sU

    SI

    -- V

    QFN

    32, V

    QFN

    20, S

    OIC

    20, T

    SS

    OP

    2012

    5

    ATtin

    y84

    851

    251

    212

    2.7

    - 5.

    58

    Yes

    11

    12--

    4--

    Yes

    US

    IU

    SI

    -- V

    QFN

    2012

    5

    ATtin

    y85

    851

    251

    26

    2.7

    - 5.

    54

    Yes

    --2

    7--

    4--

    Yes

    US

    IU

    SI

    -- V

    QFN

    20, S

    OIC

    812

    5

    ATtin

    y85V

    851

    251

    26

    1.8

    - 3.

    64

    Yes

    --2

    7--

    4--

    Yes

    US

    IU

    SI

    -- V

    QFN

    20, S

    OIC

    885

    ATtin

    y87

    851

    251

    216

    2.7

    - 5.

    511

    Yes

    11

    16--

    3Ye

    sYe

    s1+

    US

    IN

    o1

    (Y)

    VQ

    FN32

    , SO

    IC20

    , TS

    SO

    P20

    125

    ATtin

    y88

    864

    512

    282.

    7 -

    5.5

    8Ye

    s1

    128

    --4

    --Ye

    sYe

    sYe

    s T

    QFP

    32, V

    QFN

    3212

    5

    ATtin

    y861

    851

    251

    216

    2.7

    - 5.

    511

    Yes

    11

    (10b

    it)16

    --6

    --Ye

    sYe

    sU

    SI

    -- V

    QFN

    32, V

    QFN

    20, S

    OIC

    20, T

    SS

    OP

    2012

    5

    ATtin

    y167

    1651

    251

    216

    2.7

    - 5.

    511

    Yes

    11

    16--

    3Ye

    sYe

    s1+

    US

    IN

    o1

    (Y)

    VQ

    FN32

    , SO

    IC20

    , TS

    SO

    P20

    125

    All

    dev

    ices

    hav

    e a

    pro

    gram

    mab

    le b

    row

    n-ou

    t con

    trol

    ler,

    on-c

    hip

    8-M

    Hz

    RC

    osc

    illat

    or a

    nd a

    wat

    chd

    og. T

    he m

    axim

    um fr

    eque

    ncy

    is 1

    6 M

    Hz.

    Standard Automotive AVR 8-bit Microcontrollers

  • 8 AVR MICROCONTROLLERS FOR AUTOMOTIVE Everywhere You Are

    Par

    t Num

    ber

    Flash (KB)

    EEPROM (Bytes)

    SRAM (Bytes)

    I/O Pins

    Vcc (V)

    10-bit A/D Channels

    Analog Comparator

    Motor Ctrl Timer

    16-bit Timers

    8-bit Timer

    Ext. Interrupts

    Hardware Multiplier

    PWM Channels

    RTC

    Self Program Memory

    CAN (Mess. Obj.)

    SPI

    TWI

    UART (LIN HW)

    Packages

    Max. Temp (C)

    meg

    aAV

    R

    ATm

    ega8

    88

    512

    1024

    232.

    7 -

    5.5

    8Ye

    s0

    12

    26Ye

    s6

    Yes

    Yes

    01+

    US

    AR

    TYe

    s1

    TQ

    FP32

    , VQ

    FN32

    150

    ATm

    ega1

    6M1

    1651

    210

    2427

    2.7

    - 5.

    511

    41

    11

    27Ye

    s10

    --Ye

    s1

    (6)

    Yes

    Yes

    1 (Y

    ) T

    QFP

    32, V

    QFN

    3215

    0

    ATm

    ega1

    6816

    512

    1024

    232.

    7 -

    5.5

    8Ye

    s0

    12

    26Ye

    s6

    Yes

    Yes

    01+

    US

    AR

    TYe

    s1

    TQ

    FP32

    , VQ

    FN32

    150

    ATm

    ega3

    2C1

    3210

    2420

    4827

    2.7

    - 5.

    511

    40

    11

    27Ye

    s4

    --Ye

    s1

    (6)

    Yes

    Yes

    1 (Y

    ) T

    QFP

    32, V

    QFN

    3215

    0

    ATm

    ega3

    2M1

    3210

    2420

    4827

    2.7

    - 5.

    511

    41

    11

    27Ye

    s10

    --Ye

    s1

    (6)

    Yes

    Yes

    1 (Y

    ) T

    QFP

    32, V

    QFN

    3215

    0

    ATm

    ega6

    4C1

    6420

    4840

    9627

    2.7

    - 5.

    511

    40

    11

    27Ye

    s4

    --Ye

    s1

    (6)

    Yes

    Yes

    1 (Y

    ) T

    QFP

    32, V

    QFN

    3215

    0

    ATm

    ega6

    4M1

    6420

    4840

    9627

    2.7

    - 5.

    511

    41

    11

    27Ye

    s10

    --Ye

    s1

    (6)

    Yes

    Yes

    1 (Y

    ) T

    QFP

    32, V

    QFN

    3215

    0

    tinyA

    VR

    ATtin

    y261

    212

    812

    816

    2.7

    - 5.

    511

    Yes

    01

    1 (1

    0bit)

    16--

    6--

    Yes

    0Ye

    sU

    SI

    --VQ

    FN32

    , TS

    SO

    P20

    150

    ATtin

    y45

    425

    625

    66

    2.7

    - 5.

    54

    Yes

    0--

    27

    --4

    --Ye

    s0

    US

    IU

    SI

    --VQ

    FN20

    150

    ATtin

    y461

    425

    625

    616

    2.7

    - 5.

    511

    Yes

    01

    1 (1

    0bit)

    16--

    6--

    Yes

    0Ye

    sU

    SI

    --VQ

    FN32

    , TS

    SO

    P20

    150

    ATtin

    y87

    851

    251

    216

    2.7

    - 5.

    511

    Yes

    01

    116

    --3

    Yes

    Yes

    01+

    US

    IN

    o1

    (Y)

    VQFN

    32, T

    SS

    OP

    2015

    0

    ATtin

    y861

    851

    251

    216

    2.7

    - 5.

    511

    Yes

    01

    1 (1

    0bit)

    16--

    6--

    Yes

    0Ye

    sU

    SI

    --VQ

    FN32

    , TS

    SO

    P20

    150

    ATtin

    y167

    1651

    251

    216

    2.7

    - 5.

    511

    Yes

    01

    116

    --3

    Yes

    Yes

    01+

    US

    IN

    o1

    (Y)

    VQFN

    32, T

    SS

    OP

    2015

    0

    All

    dev

    ices

    hav

    e a

    pro

    gram

    mab

    le b

    row

    n-ou

    t con

    trol

    ler,

    on-c

    hip

    8-M

    Hz

    RC

    osc

    illat

    or a

    nd a

    wat

    chd

    og. T

    he m

    axim

    um fr

    eque

    ncy

    is 1

    6 M

    Hz.

    Grade0 (150C) Automotive AVR 8-bit Microcontrollers

  • 9www.atmel.com

    Automotive AVR 32-bit Microcontrollers

    Par

    t Num

    ber

    MIPS

    Flash (KB)

    SRAM (KB)

    I/O Pins

    Vcc (V)

    10-bit A/D Channels

    Analog Comparator

    DAC

    32-bit Timers

    16-bit Timer

    DMA Channels

    On-chip Oscillator

    Ext. Bus (EBI)

    Ethernnet

    USB

    CAN (Mess. Obj.)

    SSC (I2S)

    SPI

    TWI

    Packages

    UART (LIN HW)

    Touch Hardware

    Max. Temp (C)

    meg

    aAV

    R

    UC

    3L01

    664

    168

    361.

    6 -

    3.6

    12b

    9c8

    612

    3--

    ----

    ----

    12

    TQFP

    48, Q

    FN48

    4Y

    125

    UC

    3L03

    264

    3216

    361.

    6 -

    3.6

    12b

    9c8

    612

    3--

    ----

    ----

    12

    TQFP

    48, Q

    FN48

    4Y

    125

    UC

    3L06

    464

    6416

    361.

    6 -

    3.6

    12b

    9c8

    612

    3--

    ----

    ----

    12

    TQFP

    48, Q

    FN48

    4Y

    125

    UC

    3C01

    2868

    128

    3212

    54.

    5 -

    5.5

    12b

    16c

    42

    12b

    it20

    bit

    4c6

    123

    YY

    FS-O

    TG2

    (16)

    12

    2VQ

    FP14

    44

    --12

    5

    UC

    3C11

    2868

    128

    3283

    4.5

    - 5.

    512

    b 16

    c4

    2 12

    bit

    20b

    it 4c

    612

    3--

    YFS

    -OTG

    2 (1

    6)1

    22

    TQFP

    100

    4--

    125

    UC

    3C21

    2868

    128

    3247

    4.5

    - 5.

    512

    b 11

    c2

    1 12

    bit

    20b

    it 4c

    612

    3--

    YFS

    -OTG

    2 (1

    6)1

    12

    TQFP

    643

    --12

    5

    UC

    3C02

    5668

    256

    6412

    54.

    5 -

    5.5

    12b

    16c

    42

    12b

    it20

    bit

    4c6

    123

    YY

    FS-O

    TG2

    (16)

    12

    2VQ

    FP14

    44

    --12

    5

    UC

    3C12

    5668

    256

    6483

    4.5

    - 5.

    512

    b 16

    c4

    2 12

    bit

    20b

    it 4c

    612

    3--

    YFS

    -OTG

    2 (1

    6)1

    22

    TQFP

    100

    4--

    125

    UC

    3C22

    5668

    256

    6447

    4.5

    - 5.

    512

    b 11

    c2

    1 12

    bit

    20b

    it 4c

    612

    3--

    YFS

    -OTG

    2 (1

    6)1

    12

    TQFP

    643

    --12

    5

    UC

    3C05

    1268

    512

    6412

    54.

    5 -

    5.5

    12b

    16c

    42

    12b

    it20

    bit

    4c6

    123

    YY

    FS-O

    TG2

    (16)

    12

    2VQ

    FP14

    44

    --12

    5

    UC

    3C15

    1268

    512

    6483

    4.5

    - 5.

    512

    b 16

    c4

    2 12

    bit

    20b

    it 4c

    612

    3--

    YFS

    -OTG

    2 (1

    6)1

    22

    TQFP

    100

    4--

    125

    UC

    3C25

    1268

    512

    6447

    4.5

    - 5.

    512

    b 11

    c2

    1 12

    bit

    20b

    it 4c

    612

    3--

    YFS

    -OTG

    2 (1

    6)1

    12

    TQFP

    643

    --12

    5

    UC

    3A05

    1291

    512

    6410

    91.

    8 -

    3.6

    10b

    8c--

    --20

    bit

    7c1(

    3c)

    2Y

    YFS

    -OTG

    12

    1LQ

    FP14

    44

    --85

    All

    dev

    ices

    hav

    e a

    pro

    gram

    mab

    le b

    row

    n-ou

    t co

    ntro

    ller,

    on-c

    hip

    8-M

    Hz

    RC

    osc

    illat

    or a

    nd a

    wat

    chd

    og. T

    he m

    axim

    um fr

    eque

    ncy

    is 6

    6 M

    Hz

    (UC

    3A05

    12) a

    nd 5

    0 M

    Hz

    (all

    othe

    rs).

  • 10 AVR MICROCONTROLLERS FOR AUTOMOTIVE Everywhere You Are

    AVR 8-bit Tools: Easy & Complete Tool Chain

    Contents Description

    Compilers CodeVision, GCC-AVR, IAR Systems, ImageCraft, Rowley

    On-chip Debugger JTAGICE mkII

    In-system Programmers AVRISP mkII, JTAGICE mkII, STK500 + STK501 + STK524

    Starter Kits STK500, STK600

    CAN & LIN Driver Libraries Atmel Drivers (See also Third-party Tools)

    The ATAVRAUTO-EK2 evaluation kit is delivered with a BLDC motor and Vector LIN stack demo for BLDC

    motor control using a potentiometer.

    ATAVRAUTO-EK2 Evaluation Kit

    n Front End for AVR Starter Kits, Programmers and Emulatorsn Macro Assemblern C and Assembly Source Level Debuggingn C-compiler Interfacen Plug-in for GCC Compilern AVR Simulatorn Freely Available at http://www.atmel.com

    Vector and Mentor provide LIN2.1 stacks that sup-

    port all members of Atmels microcontroller families

    with embedded USART (i.e., all ATmega devices),

    including all parts with an embedded hardware LIN

    macro (ATtinyx7 family). These stacks are available

    for master or slave LIN2.1 nodes.

    All Atmel ATmega and ATtinyX7 devices are able to

    run Vector or Mentor LIN 2.1 stacks with Atmels

    capacitive touch library, thus allowing a one-chip

    solution for touch and LIN networking applica-

    tions.

    Contents Description

    EK2-PA Board Power Adapter

    EK2-MC Board LIN2.1 Master Node for BLDC Motor Control

    EK2-SS Board LIN2.1 Slave Node with Sensors and LEDs

    EK2-LA Board AVR32 LIN2.1 Analyzer Tools

    EK2-CT Board LIN Slave Node with Capacitive Touch Functionality

    Third-party LIN Stack

    Integrated Development Environment: AVR Studio

  • 11www.atmel.com

    Development Kits

    Contents Description

    MC320 Motor Control Kit for CAN and LIN Applications

    MC300 Power Stage Board

    MC310 Device Board for ATmega32M1

    Motor BLDC Motor

    Hotline [email protected]

    Website www.atmel.com/products/avr/auto

    MC310 MC300

    CAN

    LIN

    EK2-PAPower

    Adapter

    Third-partyTools

    EK2-MC

    BDLCMotor

    Control

    EK2-SS

    SensorLEDs

    EK2-CT

    CapacitiveTouch

    EK2-LA

    AVR32LIN

    Analyzerwith LCD

    LIN NetworkPower Supply

    To PC

  • 12 AVR MICROCONTROLLERS FOR AUTOMOTIVE Everywhere You Are

    QTouch Library

    AVR 32-bit Tools

    Atmels QTouch library is a set of pre-compiled

    binaries for supported AVR microcontrollers.

    The library supports both QTouch and QMatrix

    acquisition methods. Please refer to the QTouch

    Library User Guide for a full overview of which

    devices are supported in each technology.

    Supported ATtiny AVR products

    n ATtiny44/84n ATtiny45/85n ATtiny461/861n ATtiny88n ATtiny87/167

    Supported ATmega AVR products

    n ATmega48/88/168/328Pn ATmega164P/324P/644Pn ATmega169Pn ATmega16M1n ATmega32M1/C1n ATmega64M1/C1n CAN32/64/128

    n AVR32 Studion C/C++ Compilern AVR32 Software Framework

    n Starter Kitsn Debuggers

    Part Number Description

    STK600 Generic Starter Kit

    Part Number Description

    EVK1100UC3A UC3A Evaluation Kit

    EVK1103UC3C UC3C Evaluation Kit

    Starter Kit

    Evaluation Kits

    Vector LIN2.1 protocol stack

    Atmel QTouch QMatrix library

    Customer application

    ATtinyx7, ATmegax8, ATmegax4P, ATmegaxM1/C1

  • 13www.atmel.com

    Quality: Atmel Fully Committed to Automotive

    AVR microcontrollers meet the most stringent re-

    quirements for ensuring robust functionality in

    harsh environmental conditions. This is the result

    of more than 25 years experience in automotive

    design and a continuous quest for excellence

    throughout the entire organization. The Qual-

    ity Management System complies from its incep-

    tion with the highest level standards, including

    ISO/TS 16949. As a result, Atmel microcontrollers

    have been embarked for years worldwide in a

    variety of vehicle applications, from infotainment to

    safety-critical functions, as well as multiplexing. This

    industrial expertise plus extended R&D efforts have

    allowed Atmel to successfully address the market

    of Grade0 microcontrollers capable to withstand

    the most severe environmental conditions.

    In the quality domain, just like in many others,

    Automotive is a leader in its field.

    Beyond a full product qualification according to

    AEC-Q100, Atmel has embedded quality in the

    entire product life cycle from the early design

    stage until the end of life. This includes usage

    of particular techniques, tools and methodolo-

    gies such as identification of Special Character-

    istics, Failure Modes and Effects Analysis (FMEA),

    design-for-test techniques, Part Average Test-

    ing (PAT) or Advanced Burn-In (AdBI), optimized

    capability, safe launch support teams and more.

    These approaches are developed and deployed

    by a dedicated automotive structure including

    Marketing, Design, Applications, Product Engine-

    ering and Quality and Reliability in-situ facilities.

    Dedicated Resources for Dedicated Methodologies

    nZero Defects is our Goal, Zero Tolerance is our Approach

    n 100% On-time Delivery n Excellence in Development and Manufacturing

    to Exceed Customer Expectations

    n Immediate Reaction to Minimize the Impact of any Customer Issue

    n Total Commitment by all Employees Throughout the Entire Organization

    Atmels Key Quality Objectives for Automotive Success

    To meet the zero-defect challenge Atmel has

    launched a 3-years automotive quality plan in 2008,

    that resulted in harmonized targets, development,

    supply chain and quality policy for the automo-

    tive portfolio. The implementation of a customer-

    focused quality structure enables the company to

    closely adhere to customer-specific requirements.

    Atmel is also continuously questioning its develop-

    ment and qualification approaches to achieve best-

    in-class reliability.

    This is why Atmel plays a key role in several major

    automotive European programs such as Failure-

    driven Qualification (Medea+ A407 FdQ) or End of

    Life Investigation for Automotive Systems (Catrene

    2T204 ELIAS), which are paving the way to future

    international standards. These important R&D pro-

    grams have resulted in techniques for Robustness

    Validation (SAE J1879) and contribute to support

    the new requirements of Road Vehicles Functional

    Safety (ISO 26262).

    Continuous Improvement

  • 2010 Atmel Corporation. All rights reserved.

    Atmel, Atmel logo and combinations thereof, Everywhere You Are, AVR, AVR Studio, STK, QTouch, QMatrix, megaAVR, tinyAVR, and others are registered trademarks, SMART-I.S. and others are trademarks of Atmel Corporation or its subsidiaries. Mentor Graphics is a registered trademark of Mentor Graphics. Other terms and product names may be trademarks of others.

    Rev.: 4073G-AUTO-02/10/03M

    Headquarters

    Atmel Corporation2325 Orchard ParkwaySan Jose, CA 95131USATel: (1) 408 441-0311Fax: (1) 408 487-2600

    International

    Atmel AsiaUnit 01-05 & 16, 19FBEA Tower, Millenium City 5418 Kwun Tong RoadKwun Tong, KowloonHong KongTel: (852) 2245-6100 Fax: (852) 2722-1369

    Atmel EuropeLe Krebs8, Rue Jean-Pierre Timbaud BP 30978180 Montigny-le-BretonneuxFranceTel: (33) 1-30-60-70-00 Fax: (33) 1-30-60-71-11

    Atmel Japan9F, Tonetsu Shinkawa Bldg.1-24-8 ShinkawaChuo-ku, Tokyo 104-0033JapanTel: (81) 3-3523-3551 Fax: (81) 3-3523-7581

    Product Contact

    Product [email protected]

    Literature Requestswww.atmel.com/literature

    Web Sitewww.atmel.com

    Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMELS TERMS AND CONDITIONS OF SALES LOCATED ON ATMELS WEB SITE, ATMEL ASSUMES NO LIABILITY WHAT-SOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS AND PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmels products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life.