×
嵌入式 > 技术百科 > 详情

AtmelATmega88汽车马达控制方案

发布时间:2021-05-26 发布时间:
|

Atmel 公司的ATMEGA88是带有8KB在系统编程Flash的8位微控制器,它是基于增强RISC架构,有丰富的指令集和32个通用的工作寄存器,吞吐量达到1 MIPS /MHz, 广泛应用于汽车电子和工业控制等领域。本文介绍了ATmega88的主要性能,方框图以及用于汽车马达控制的开发板ATAVRAUTO200的主要性能与详细电路图。

ATmega88 8-bit MICROCONTROLLER with 8K Bytes In-System Programmable Flash

The ATmega48/88/168 is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture. By execut ing powerful inst ruct ions in a SINGLE clock cycle, the ATmega48/88/168 achieves throughputs approaching 1 MIPS per MHz allowing the system designer to optimize power consumption versus processing speed.

The AVR core combines a rich instruction set with 32 GENERAL purpose working registers. All the 32 registers are directly connected to the Arithmetic Logic Unit (ALU), allowing two independent registers to be accessed in one single instruction executed in one clock cycle. The resulting architecture is more code efficient while achieving throughputs up to ten times faster than conventional CISC microcontrollers.

The ATmega48/88/168 provides the following features: 4K/8K/16K bytes of In-System Programmable Flash with Read-While-Write capabilities, 256/512/512 bytes EEPROM, 512/1K/1K bytes SRAM, 23 general purpose I/O lines, 32 general purpose working registers, three flexible Timer/Counters with compare modes, internal and external interrupts, a serial programmable USART, a byte-oriented 2-wire Serial INTERFACE, an SPI serial port, a 6-channel 10-bit ADC (8 channels in TQFP and QFN packages), a programmable Watchdog Timer with internal Oscillator, and five SOFTWARE selectable power saving modes. The Idle mode stops the CPU while allowing the SRAM, Timer/Counters, USART, 2-wire Serial Interface, SPI port, and interrupt system to continue functioning. The Power-down mode saves the register contents but freezes the

Oscillator, disabling all other chip functions until the next interrupt or HARDWARE reset. In Powersave mode, the asynchronous timer continues to run, allowing the user to maintain a timer base while the rest of the DEVICE is sleeping. The ADC Noise Reduction mode stops the CPU and all I/O MODULES except asynchronous timer and ADC, to minimize SWITCHING noise during ADC conversions.

In Standby mode, the crystal/resonator Oscillator is running while the rest of the device

is sleeping. This allows very fast start-up combined with low power consumption.

ATmega88主要特性:

High Performance, Low Power AVR® 8-Bit Microcontroller

ADVANCED RISC Architecture

131 Powerful Instructions – Most Single Clock Cycle Execution

32 x 8 General Purpose Working Registers

Fully Static Operation

Up to 16 MIPS Throughput at 16 MHz

On-chip 2-cycle Multiplier

Non-volatile Program and Data Memories

4/8/16K Bytes of In-System Self-Programmable Flash (ATmega48/88/168)

Endurance: 75,000 Write/Erase Cycles

Optional Boot Code Section with Independent Lock Bits

In-System PROGRAMMING by On-chip Boot Program

True Read-While-Write Operation

256/512/512 Bytes EEPROM (ATmega48/88/168)

Endurance: 100,000 Write/Erase Cycles

512/1K/1K Byte Internal SRAM (ATmega48/88/168)

Programming Lock for Software SECURITY

Peripheral Features

Two 8-bit Timer/Counters with Separate Prescaler and Compare Mode

One 16-bit Timer/Counter with Separate Prescaler, Compare Mode, and Capture

Mode

Real Time Counter with Separate Oscillator

Six PWM Channels

8-channel 10-bit ADC

Programmable Serial USART

Master/Slave SPI Serial Interface

Byte-oriented 2-wire Serial Interface

Programmable Watchdog Timer with Separate On-chip Oscillator

On-chip ANALOG Comparator

Interrupt and Wake-up on Pin Change

Special Microcontroller Features

Power-on Reset and Programmable Brown-out Detection

Internal Calibrated Oscillator

External and Internal Interrupt Sources

Five Sleep Modes: Idle, ADC Noise Reduction, Power-save, Power-down, and

Standby

I/O and Packages

23 Programmable I/O Lines

Green/ROHS 32-lead TQFP and 32-pad QFN

Operating VOLTAGE:

2.7 - 5.5V for ATmega48/88/168

Temperature Range:

40C to 125C

Speed Grade:

ATmega48/88/168: 0 - 8 MHz @ 2.7 - 5.5V, 0 - 16 MHz @ 4.5 - 5.5V

Low Power Consumption

ACTIVE Mode:

4 MHz, 3.0V: 1.8mA

ATmega88开发板ATAVRAUTO200

This document describes the ATAVRAUTO200 dedicated to the ATmega88 AVR micro

controllers. This board is designed to allow an easy EVALUATION of the product using

demonstration firmware.

This board includes all elements necessary for designers to quickly develop code related to LIN communication node implementing the ATmega88 and for prototyping and TESTING of new designs.


『本文转载自网络,版权归原作者所有,如有侵权请联系删除』

热门文章 更多
MSP430F149单片机的内部定时器A定时1秒钟实现LED闪烁