atmel-7647-automotive--atmega16m1-32m1-64m1-32c1-64c1_datasheet_第1页
atmel-7647-automotive--atmega16m1-32m1-64m1-32c1-64c1_datasheet_第2页
atmel-7647-automotive--atmega16m1-32m1-64m1-32c1-64c1_datasheet_第3页
atmel-7647-automotive--atmega16m1-32m1-64m1-32c1-64c1_datasheet_第4页
atmel-7647-automotive--atmega16m1-32m1-64m1-32c1-64c1_datasheet_第5页
已阅读5页,还剩314页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、ATmega16M1/ATmega32M1/ATmega64M1/ ATmega32C1/ATmega64C1 Automotive8-bit AVR Microcontroller with 16K/32K/64KbytesIn-systemDATASHEETFeaturesHigh performance, low power AVR 8-bit microcontrollerAdvanced RISC architecture131 powerful instructions - most single clock cycle execution 32 x 8 general purpo

2、se working registersFully static operationUp to 1MIPS throughput per MHz On-chip 2-cycle multiplierData and non-volatile program memory16K/32K/64Kbytes flash of in-system programmable program memory Endurance: 10,000 write/erase cyclesOptional boot code section with independent lock bits In-system p

3、rogramming by on-chip boot program True read-while-write operation512/1024/2048 Bytes of in-system programmable EEPROM Endurance: 100,000 write/erase cyclesProgramming lock for flash program and EEPROM data security 1024/2048/4096 bytes internal SRAMOn chip debug interface (debugWIRE)CAN 2.0A/B with

4、 6 message objects - ISO 16845 certified(1) LIN 2.1 and 1.3 controller or 8-Bit UARTOne 12-bit high-speed PSC (power stage controller) (only AtmelATmega16/32/64M1)Non overlapping inverted PWM output pins with flexible dead-time Variable PWM duty cycle and frequencySynchronous update of all PWM regis

5、ters Auto stop function for emergency eventPeripheral featuresOne 8-bit general purpose Timer/Counter with separate prescaler, compare mode and capture modeOne 16-bit general purpose Timer/Counter with separate prescaler, compare mode and capture modeOne master/slave SPI serial interface7647KAVR12/1

6、310-bit ADCUp to 11 single ended channels and 3 fully differential ADC channel pairs Programmable gain (5x, 10x, 20x, 40x) on differential channelsInternal reference voltageDirect power supply voltage measurement10-bit DAC for variable voltage reference (comparators, ADC) Four analog comparators wit

7、h variable threshold detection 100A 6% current source (LIN node identification)Interrupt and wake-up on pin changeProgrammable watchdog timer with separate on-chip oscillator On-chip temperature sensor Special microcontroller featuresLow power idle, noise reduction, and power down modes Power on res

8、et and programmable brown out detection In-system programmable via SPI portHigh precision crystal oscillator for CAN operations (16MHz) Internal calibrated RC oscillator (8MHz) On-chip PLL for fast PWM (32MHz, 64MHz) and CPU (16MHz) (only Atmel ATmega16/32/64M1) Operating voltage: 2.7V - 5.5VExtende

9、d operating temperature: 40C to +125CCore speed grade: 0 - 8MHz at 2.7 - 4.5V 0 - 16MHz at 4.5 - 5.5VNote:1.See certification on Atmel web site and note on Section 16.4.3 “Baud Rate” on page 148.Table 1.ATmega32/64/M1/C1 Product Line-upAtmel ATmega16/32/64/M1/C1 DATASHEET7647KAVR12/132Part NumberATm

10、ega32C1ATmega64C1ATmega16M1ATmega32M1ATmega64M1Flash size32Kbyte64Kbyte16Kbyte32Kbyte64KbyteRAM size2048 bytes4096 bytes1024 bytes2048 bytes4096 bytesEEPROM size1024 bytes2048 bytes512 bytes1024 bytes2048 bytes8-bit timerYes16-bit timerYesPSCNoYesPWM outputs44101010Fault inputs (PSC)00333PLLNoYes10-

11、bit ADC channels11 single3 differential10-bit DACYesanalog comparators4Current sourceYesCANYesLIN/UARTYesOn-chip temp. sensorYesSPI interfaceYes1.Pin ConfigurationsFigure 1-1. ATmega16/32/64M1 TQFP32/QFN32 (7*7mm) Package3231302928272625(PCINT18/PSCIN2/OC1A/MISO_A) PD2 (PCINT19/TXD/TXLIN/OC0A/MOSI_A

12、) PD3 (PCINT9/PSCIN1/OC1B/SS_A) PC1VCC GND (PCINT10/T0/TXCAN) PC2(PCINT11/T1/RXCAN/ICP1B) PC3(PCINT0/MISO/PSCOUT2A) PB0123456782423222120191817PB4 (AMP0+/PCINT4) PB3 (AMP0-/PCINT3)PC6 (ADC10-/ACMP1/PCINT14) AREF(ISRC)AGND AVCCPC5 (ADC9/ACMP3/AMP1+/PCINT13)PC4 (ADC8/ACMPN3/AMP1-/PCINT12)9101112131415

13、16Note:On the engineering samples (Parts marked AT90PWM324), the ACMPN3 alternate function is not located on PC4. It is located on PE2.Atmel ATmega16/32/64/M1/C1 DATASHEET7647KAVR12/133(PCINT1/MOSI/PSCOUT2B) PB1 (PCINT25/OC0B/XTAL1) PE1 (PCINT26/ADC0/XTAL2) PE2 (PCINT20/ADC1/RXD/RXLIN/ICP1A/SCK_A) P

14、D4(ADC2/ACMP2/PCINT21) PD5 (ADC3/ACMPN2/INT0/PCINT22) PD6(ACMP0/PCINT23) PD7(ADC5/INT1/ACMPN0/PCINT2) PB2PD1 (PCINT17/PSCIN0/CLKO) PE0 (PCINT24/RESET/OCD) PC0 (PCINT8/INT3/PSCOUT1A) PD0 (PCINT16/PSCOUT0A)PB7 (ADC4/PSCOUT0B/SCK/PCINT7) PB6 (ADC7/PSCOUT1B/PCINT6)PB5 (ADC6/INT2/ACMPN1/AMP2-/PCINT5)PC7

15、(D2A/AMP2+/PCINT15)Figure 1-2. ATmega32/64C1 TQFP32/QFN32 (7*7 mm) Package3231302928272625(PCINT18/OC1A/MISO_A) PD2 (PCINT19/TXD/TXLIN/OC0A/MOSI_A) PD3(PCINT9/OC1B/SS_A) PC1VCC GND (PCINT10/T0/TXCAN) PC2(PCINT11/T1/RXCAN/ICP1B) PC3(PCINT0/MISO) PB0123456782423222120191817PB4 (AMP0+/PCINT4) PB3 (AMP0

16、-/PCINT3)PC6 (ADC10-/ACMP1/PCINT14) AREF(ISRC)AGND AVCCPC5 (ADC9/ACMP3/AMP1+/PCINT13)PC4 (ADC8/ACMPN3/AMP1-/PCINT12)910111213141516Note:On the first engineering samples (Parts marked AT90PWM324), the ACMPN3 alternate function is not located on PC4. It is located on PE2.Atmel ATmega16/32/64/M1/C1 DAT

17、ASHEET7647KAVR12/134(PCINT1/MOSI) PB1 (PCINT25/OC0B/XTAL1) PE1 (PCINT26/ADC0/XTAL2) PE2 (PCINT20/ADC1/RXD/RXLIN/ICP1A/SCK_A) PD4(ADC2/ACMP2/PCINT21) PD5 (ADC3/ACMPN2/INT0/PCINT22) PD6(ACMP0/PCINT23) PD7(ADC5/INT1/ACMPN0/PCINT2) PB2PD1 (PCINT17/CLKO)PE0 (PCINT24/RESET/OCD) PC0 (PCINT8/INT3)PD0 (PCINT

18、16)PB7 (ADC4/SCK/PCINT7) PB6 (ADC7/PCINT6)PB5 (ADC6/INT2/ACMPN1/AMP2-/PCINT5)PC7 (D2A/AMP2+/PCINT15)1.1Pin DescriptionsTable 1-1.Pin Out DescriptionNote:1.On the first engineering samples (Parts marked AT90PWM324), the ACMPN3 alternate function is not located on PC4. It is located on PE2.Atmel ATmeg

19、a16/32/64/M1/C1 DATASHEET7647KAVR12/135QFN32 PinNumberMnemonicTypeName, Function and Alternate Function5GNDPowerGround: 0V reference20AGNDPowerAnalog Ground: 0V reference for analog part4VCCPowerPower Supply19AVCCAnalog Power Supply: This is the power supply voltage for analog partPowerFor a normal

20、use this pin must be connected.21AREFAnalog Reference : reference for analog converter . This is the reference Powervoltage of the A/D converter. As output, can be used by external analogISRC (Current Source Output)8PB0MISO (SPI Master In Slave Out)I/OPSCOUT2A (PSC Module 2 Output A) PCINT0 (Pin Cha

21、nge Interrupt 0)9PB1MOSI (SPI Master Out Slave In)I/OPSCOUT2B (PSC Module 2 Output B) PCINT1 (Pin Change Interrupt 1)16PB2ADC5 (Analog Input Channel 5 )INT1 (External Interrupt 1 Input)I/OACMPN0 (analog comparator 0 Negative Input)PCINT2 (Pin Change Interrupt 2)23PB3AMP0- (Analog Differential Amplif

22、ier 0 Negative Input)I/OPCINT3 (Pin Change Interrupt 3)24PB4AMP0+ (Analog Differential Amplifier 0 Positive Input)I/OPCINT4 (Pin Change Interrupt 4)26PB5ADC6 (Analog Input Channel 6) INT2 (External Interrupt 2 Input)I/OACMPN1 (analog comparator 1 Negative Input) AMP2- (Analog Differential Amplifier

23、2 Negative Input) PCINT5 (Pin Change Interrupt 5)27PB6ADC7 (Analog Input Channel 7)I/OPSCOUT1B (PSC Module 1 Output A) PCINT6 (Pin Change Interrupt 6)28PB7ADC4 (Analog Input Channel 4)PSCOUT0B (PSC Module 0 Output B)I/OSCK (SPI Clock)PCINT7 (Pin Change Interrupt 7)30PC0PSCOUT1A (PSC Module 1 Output

24、A) I/OINT3 (External Interrupt 3 Input)PCINT8 (Pin Change Interrupt 8)Table 1-1.Pin Out Description (Continued)Note:1.On the first engineering samples (Parts marked AT90PWM324), the ACMPN3 alternate function is not located on PC4. It is located on PE2.Atmel ATmega16/32/64/M1/C1 DATASHEET7647KAVR12/1

25、36QFN32 PinNumberMnemonicTypeName, Function and Alternate Function3PC1I/OPSCIN1 (PSC Digital Input 1) OC1B (Timer 1 Output Compare B)SS_A (Alternate SPI Slave Select) PCINT9 (Pin Change Interrupt 9)6PC2I/OT0 (Timer 0 clock input) TXCAN (CAN Transmit Output)PCINT10 (Pin Change Interrupt 10)7PC3I/OT1

26、(Timer 1 clock input) RXCAN (CAN Receive Input)ICP1B (Timer 1 input capture alternate B input)PCINT11 (Pin Change Interrupt 11)17PC4I/OADC8 (Analog Input Channel 8)AMP1- (Analog Differential Amplifier 1 Negative Input) ACMPN3 (analog comparator 3 Negative Input)PCINT12 (Pin Change Interrupt 12)18PC5

27、I/OADC9 (Analog Input Channel 9)AMP1+ (Analog Differential Amplifier 1 Positive Input) ACMP3 (analog comparator 3 Positive Input)PCINT13 (Pin Change Interrupt 13)22PC6I/OADC10 (Analog Input Channel 10)ACMP1 (analog comparator 1 Positive Input) PCINT14 (Pin Change Interrupt 14)25PC7I/OD2A (DAC output

28、)AMP2+ (Analog Differential Amplifier 2 Positive Input) PCINT15 (Pin Change Interrupt 15)29PD0I/OPSCOUT0A (PSC Module 0 Output A)PCINT16 (Pin Change Interrupt 16)32PD1I/OPSCIN0 (PSC Digital Input 0) CLKO (System Clock Output) PCINT17 (Pin Change Interrupt 17)1PD2I/OOC1A (Timer 1 Output Compare A) PS

29、CIN2 (PSC Digital Input 2)MISO_A (Programming and alternate SPI Master In Slave Out)PCINT18 (Pin Change Interrupt 18)2PD3I/OTXD (UART Tx data)TXLIN (LIN Transmit Output) OC0A (Timer 0 Output Compare A) SS (SPI Slave Select)MOSI_A (Programming and alternate Master Out SPI Slave In)PCINT19 (Pin Change

30、 Interrupt 19)Table 1-1.Pin Out Description (Continued)Note:1.On the first engineering samples (Parts marked AT90PWM324), the ACMPN3 alternate function is not located on PC4. It is located on PE2.Atmel ATmega16/32/64/M1/C1 DATASHEET7647KAVR12/137QFN32 PinNumberMnemonicTypeName, Function and Alternat

31、e Function12PD4ADC1 (Analog Input Channel 1) RXD (UART Rx data)RXLIN (LIN Receive Input)I/OICP1A (Timer 1 input capture alternate A input)SCK_A (Programming and alternate SPI Clock) PCINT20 (Pin Change Interrupt 20)13PD5ADC2 (Analog Input Channel 2)I/OACMP2 (analog comparator 2 Positive Input) PCINT

32、21 (Pin Change Interrupt 21)14PD6ADC3 (Analog Input Channel 3)ACMPN2 (analog comparator 2 Negative Input)I/OINT0 (External Interrupt 0 Input)PCINT22 (Pin Change Interrupt 22)15PD7ACMP0 (analog comparator 0 Positive Input)I/OPCINT23 (Pin Change Interrupt 23)31PE0RESET (Reset Input)I/O or IOCD (On Chi

33、p Debug I/O)PCINT24 (Pin Change Interrupt 24)10PE1XTAL1 (XTAL Input)I/OOC0B (Timer 0 Output Compare B) PCINT25 (Pin Change Interrupt 25)11PE2XTAL2 (XTAL Output)I/OADC0 (Analog Input Channel 0) PCINT26 (Pin Change Interrupt 26)2.OverviewThe Atmel ATmega16/32/64/M1/C1 is a low-power CMOS 8-bit microco

34、ntroller based on the AVR enhanced RISC architecture. By executing powerful instructions in a single clock cycle, the Atmel ATmega16/32/64/M1/C1 achieves throughputs approaching 1MIPS per MHz allowing the system designer to optimize power consumption versus processing speed.2.1Block DiagramFigure 2-

35、1.Block DiagramData Bus 8-bitProgramStatus andFlashCounterControlProgram MemoryALUControl LinesThe 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

36、 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 Atmel ATmega16/32/64/M1/C1 provides the following features: 16K/32K/64K bytes of In-Sys

37、tem Programmable Flash with Read-while-write capabilities, 512/1024/2048 bytes EEPROM, 1024/2048/4096 bytes SRAM, 27 general purpose I/O lines, 32 general purpose working registers, one Motor Power Stage Controller, two flexible Timer/Counters with compare modes and PWM, one UART with HW LIN, an 11-

38、channel 10-bit ADC with two differential input stages with programmable gain, a 10-bit DAC, a programmable Watchdog Timer with Internal Individual Oscillator, an SPI serial port, an On-chip Debug system and four software selectable power saving modes.Atmel ATmega16/32/64/M1/C1 DATASHEET7647KAVR12/13

39、8Direct AddressingIndirect AddressingCANMPSCDACADCTimer 1Timer 0HW LIN/UART4 Analog ComparatorsWatchdog TimerSPIUnitInterrupt UnitCurrent SourceI/O LinesEEPROMData SRAMInstruction DecoderInstruction Register32 x 8General PurposeRegistersThe Idle mode stops the CPU while allowing the SRAM, Timer/Coun

40、ters, SPI ports, CAN, LIN/UART 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. The ADC noise reduction mode stops the CPU and all I/O modules excep

41、t 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.The device is manufactured using Atmels high-density nonvolatile memory

42、 technology. The On-chip ISP Flash allows the program memory to be reprogrammed in-system through an SPI serial interface, by a conventional nonvolatile memory programmer, or by an On-chip Boot program running on the AVR core. The boot program can use any interface to download the application progra

43、m in the application Flash memory. Software in the boot flash section will continue to run while the application flash section is updated, providing true read-while-write operation. By combining an 8-bit RISC CPU with in-system self- programmable flash on a monolithic chip, the Atmel ATmega16/32/64/

44、M1/C1 is a powerful microcontroller that provides a highly flexible and cost effective solution to many embedded control applications.The ATmega16/32/64/M1/C1 AVR is supported with a full suite of program and system development tools including: C compilers, macro assemblers, program debugger/simulat

45、ors, in-circuit emulators, and evaluation kits.2.2Automotive Quality GradeThe Atmel ATmega16/32/64/M1/C1 have been developed and manufactured according to the most stringent requirements of the international standard ISO-TS-16949. This data sheet contains limit values extracted from the results of e

46、xtensive characterization (Temperature and Voltage). The quality and reliability of the ATmega16/32/64/M1/C1 have been verified during regular product qualification as per AEC-Q100 grade 1.As indicated in the ordering information paragraph, the products are available in only one temperature grade.Ta

47、ble 2-1.Temperature Grade Identification for Automotive Products2.3Pin Descriptions2.3.1VCCDigital supply voltage.2.3.2GNDGround.2.3.3Port B (PB7.PB0)Port B is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The Port B output buffers have symmetrical drive c

48、haracteristics with both high sink and source capability. As inputs, Port B pins that are externally pulled low will source current if the pull-up resistors are activated. The Port B pins are tri-stated when a reset condition becomes active, even if the clock is not running.Port B also serves the fu

49、nctions of various special features of the Atmel ATmega16/32/64/M1/C1 as listed in Section 9.3.2 “Alternate Functions of Port B” on page 58.2.3.4Port C (PC7.PC0)Port C is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The Port C output buffers have symmetri

50、cal drive characteristics with both high sink and source capability. As inputs, Port C pins that are externally pulled low will source current if the pull-up resistors are activated. The Port C pins are tri-stated when a reset condition becomes active, even if the clock is not running.Port C also se

51、rves the functions of special features of the ATmega16/32/64/M1/C1 as listed in Section 9.3.3 “Alternate Functions of Port C” on page 61.Atmel ATmega16/32/64/M1/C1 DATASHEET7647KAVR12/139TemperatureTemperature IdentifierComments40, +125ZFull automotive temperature range2.3.5Port D (PD7.PD0)Port D is

52、 an 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The port D output buffers have symmetrical drive characteristics with both high sink and source capability. As inputs, port D pins that are externally pulled low will source current if the pull-up resistors ar

53、e activated. The port D pins are tri-stated when a reset condition becomes active, even if the clock is not running.Port D also serves the functions of various special features of the Atmel ATmega16/32/64/M1/C1 as listed on 64.2.3.6Port E (PE2.0) RESET/ XTAL1/ XTAL2Port E is an 3-bit bi-directional

54、I/O port with internal pull-up resistors (selected for each bit). The port E output buffers have symmetrical drive characteristics with both high sink and source capability. As inputs, port E pins that are externally pulled low will source current if the pull-up resistors are activated. The Port E pins are tri-stated when a reset condition becomes active, even if the clock is not running.If the RSTDISBL fuse is programmed, PE0 is

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论