Home
Atmel
Microcontrollers
ATmega32M1
Atmel ATmega32M1 User Manual
5
of 1
of 1 rating
367 pages
Give review
Manual
Specs
To Next Page
To Next Page
To Previous Page
To Previous Page
Loading...
337
7647H–AVR–03/12
Atmel
ATmega16/32/64/M1/C1
27.6
Pin Thresholds and Hysteresis
Figure 27-19.
I/O
Pin Input Thresh
old Voltage v
ersus V
CC
(VIH, I/O Pin R
ead As '1')
Figure 27-20.
I/O
Pin Input Thresh
old Voltage v
ersus V
CC
(VIL, I/O Pin
Read As '0')
336
338
Table of Contents
Default Chapter
1
Features
1
1 Pin Configurations
3
Pin Descriptions
5
2 Overview
8
Block Diagram
8
Automotive Quality Grade
9
Pin Descriptions
10
About Code Examples
11
3 AVR CPU Core
12
Introduction
12
Architectural Overview
12
ALU - Arithmetic Logic Unit
13
Status Register
14
General Purpose Register File
15
Stack Pointer
16
Instruction Execution Timing
17
Reset and Interrupt Handling
17
4 Memories
20
In-System Reprogrammable Flash Program Memory
20
SRAM Data Memory
21
EEPROM Data Memory
22
I/O Memory
28
General Purpose I/O Registers
28
5 System Clock
29
Clock Systems and Their Distribution
29
Clock Sources
30
Default Clock Source
31
Low Power Crystal Oscillator
31
Calibrated Internal RC Oscillator
33
Pll
34
128 Khz Internal Oscillator
36
External Clock
36
Clock Output Buffer
37
System Clock Prescaler
37
6 Power Management and Sleep Modes
40
Sleep Mode Control Register
40
Idle Mode
41
ADC Noise Reduction Mode
41
Power-Down Mode
41
Standby Mode
42
Power Reduction Register
42
Minimizing Power Consumption
44
7 System Control and Reset
46
Resetting the AVR
46
Reset Sources
46
Internal Voltage Reference
51
Watchdog Timer
52
8 Interrupts
57
Interrupt Vectors in Atmega16/32/64/M1/C1
57
9 I/O-Ports
62
Introduction
62
Ports as General Digital I/O
63
Alternate Port Functions
67
Register Description for I/O-Ports
80
10 External Interrupts
82
Pin Change Interrupt Timing
82
External Interrupt Control Register a - EICRA
83
11 Timer/Counter0 and Timer/Counter1 Prescalers
87
Internal Clock Source
87
Prescaler Reset
87
External Clock Source
87
12 8-Bit Timer/Counter0 with PWM
90
Overview
90
Timer/Counter Clock Sources
91
Counter Unit
91
Output Compare Unit
92
Compare Match Output Unit
94
Modes of Operation
95
Timer/Counter Timing Diagrams
99
8-Bit Timer/Counter Register Description
101
16 Bit Timer/Counter1 with PWM
107
Overview
107
Accessing 16-Bit Registers
109
Timer/Counter Clock Sources
112
Counter Unit
113
Input Capture Unit
114
Output Compare Units
116
Compare Match Output Unit
118
Modes of Operation
120
Timer/Counter Timing Diagrams
128
16-Bit Timer/Counter Register Description
130
14 Power Stage Controller - (PSC) (Only Atmega16/32/64M1)
136
Features
136
Overview
136
Accessing 16-Bit Registers
136
PSC Description
137
Functional Description
138
Update of Values
142
Overlap Protection
143
Signal Description
144
PSC Input
146
PSC Input Modes 001B to 10Xb: Deactivate Outputs Without Changing Timing
148
PSC Input Mode 11Xb: Halt PSC and Wait for Software Action
148
Analog Synchronization
149
Interrupt Handling
149
PSC Clock Sources
149
Interrupts
150
PSC Register Definition
151
15 Serial Peripheral Interface - SPI
158
Features
158
SS Pin Functionality
163
Data Modes
166
16 Controller Area Network - CAN
168
Features
168
CAN Protocol
168
CAN Controller
174
CAN Channel
175
Message Objects
178
CAN Timer
182
Error Management
183
Interrupts
184
CAN Register Description
186
General CAN Registers
187
Mob Registers
196
Examples of CAN Baud Rate Setting
202
17 LIN / UART - Local Interconnect Network Controller or UART
204
LIN Features
204
UART Features
204
LIN Protocol
205
LIN / UART Controller
206
LIN / UART Description
212
LIN / UART Register Description
223
18 Analog to Digital Converter - ADC
230
Features
230
Operation
232
Starting a Conversion
232
Prescaling and Conversion Timing
233
Changing Channel or Reference Selection
235
ADC Noise Canceler
237
ADC Conversion Result
241
Temperature Measurement
243
ADC Register Description
245
Amplifier
250
Amplifier Control Registers
254
19 ISRC - Current Source
258
Features
258
Typical Applications
259
Control Register
261
20 Analog Comparator
262
Features
262
Overview
262
Use of ADC Amplifiers
263
Analog Comparator Register Description
264
21 Digital to Analog Converter - DAC
270
Features
270
Operation
271
Starting a Conversion
271
DAC Register Description
272
22 Analog Feature Considerations
275
Purpose
275
Use of an Amplifier as Comparator Input
275
Use of an Amplifier as Comparator Input and ADC Input
275
Analog Peripheral Clock Sources
276
23 Debugwire On-Chip Debug System
277
Features
277
Overview
277
Physical Interface
277
Software Break Points
278
Limitations of Debugwire
278
Debugwire Related Register in I/O Memory
278
24 Boot Loader Support - Read-While-Write Self-Programming Atmega16/32/64/M1/C1
279
Boot Loader Features
279
Application and Boot Loader Flash Sections
279
Read-While-Write and no Read-While-Write Flash Sections
280
Boot Loader Lock Bits
282
Entering the Boot Loader Program
283
Addressing the Flash During Self-Programming
285
Self-Programming the Flash
286
25 Memory Programming
296
Program and Data Memory Lock Bits
296
Fuse Bits
297
PSC Output Behavior During Reset
298
Signature Bytes
300
Calibration Byte
301
Parallel Programming Parameters, Pin Mapping, and Commands
301
Serial Programming Pin Mapping
304
Parallel Programming
304
Serial Downloading
313
26 Electrical Characteristics
317
Absolute Maximum Ratings
317
DC Characteristics
317
Clock Characteristics
319
External Clock Drive Characteristics
319
Maximum Speed Vs. V
320
PLL Characteristics
320
SPI Timing Characteristics
321
ADC Characteristics
322
Parallel Programming Characteristics
324
27 Atmega16/32/64/M1/C1 Typical Characteristics
327
Active Supply Current
328
Idle Supply Current
330
Power-Down Supply Current
332
Pin Pull-Up
333
Pin Driver Strength
335
Pin Thresholds and Hysteresis
337
BOD Thresholds and Analog Comparator Hysterisis
340
Analog Reference
342
Internal Oscillator Speed
342
28 Instruction Set Summary
344
29 Register Summary
347
30 Errata
351
Errata Summary
351
31 Ordering Information
355
32 Package Information
355
Tqfp32
356
Qfn32
357
33 Datasheet Revision History for Atmega16/32/64/M1/C1
358
5
Based on 1 rating
Ask a question
Give review
Questions and Answers:
Need help?
Do you have a question about the Atmel ATmega32M1 and is the answer not in the manual?
Ask a question
Atmel ATmega32M1 Specifications
General
Brand
Atmel
Model
ATmega32M1
Category
Microcontrollers
Language
English
Related product manuals
Atmel ATmega328
567 pages
Atmel ATmega328PB
16 pages
Atmel ATmega8
12 pages
Atmel ATmega128
386 pages
Atmel ATmega48A
567 pages
Atmel ATmega48PV
452 pages
Atmel Atmel-ICE
62 pages
Atmel ATtiny25
196 pages
Atmel AVR ATtiny15L
85 pages
Atmel AVR AT90S2323
64 pages
Atmel AVR AT90CAN32
428 pages
Atmel AVR AT90S2313
91 pages