ATmega48 Automotive Atmel Corporation, ATmega48 Automotive Datasheet - Page 155

no-image

ATmega48 Automotive

Manufacturer Part Number
ATmega48 Automotive
Description
Manufacturer
Atmel Corporation

Specifications of ATmega48 Automotive

Flash (kbytes)
4 Kbytes
Pin Count
32
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
12
Hardware Qtouch Acquisition
No
Max I/o Pins
23
Ext Interrupts
24
Usb Speed
No
Usb Interface
No
Spi
2
Twi (i2c)
1
Uart
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
0.5
Eeprom (bytes)
256
Self Program Memory
NO
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 125
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
3
Output Compare Channels
6
Input Capture Channels
1
Pwm Channels
6
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
15.10 Timer/Counter Prescaler
15.10.1
7530I–AVR–02/10
General Timer/Counter Control Register – GTCCR
Figure 15-12. Prescaler for Timer/Counter2
The clock source for Timer/Counter2 is named clk
system I/O clock clk
clocked from the TOSC1 pin. This enables use of Timer/Counter2 as a Real Time Counter
(RTC). When AS2 is set, pins TOSC1 and TOSC2 are disconnected from Port C. A crystal can
then be connected between the TOSC1 and TOSC2 pins to serve as an independent clock
source for Timer/Counter2. The Oscillator is optimized for use with a 32.768 kHz crystal. Apply-
ing an external clock source to TOSC1 is not recommended.
For Timer/Counter2, the possible prescaled selections are: clk
clk
Setting the PSRASY bit in GTCCR resets the prescaler. This allows the user to operate with a
predictable prescaler.
• Bit 1 – PSRASY: Prescaler Reset Timer/Counter2
When this bit is one, the Timer/Counter2 prescaler will be reset. This bit is normally cleared
immediately by hardware. If the bit is written when Timer/Counter2 is operating in asynchronous
mode, the bit will remain one until the prescaler has been reset. The bit will not be cleared by
hardware if the TSM bit is set. Refer to the description of the
chronization Mode” on page 105
Bit
Read/Write
Initial Value
T2S
/128, clk
PSRASY
TOSC1
clk
CS20
CS21
CS22
AS2
I/O
T2S
TSM
R/W
7
0
/256, and clk
IO
. By setting the AS2 bit in ASSR, Timer/Counter2 is asynchronously
R
6
0
clk
T2S
T2S
/1024. Additionally, clk
for a description of the Timer/Counter Synchronization mode.
R
5
0
ATmega48/88/168 Automotive
Clear
TIMER/COUNTER2 CLOCK SOURCE
4
R
0
T2S
0
. clk
10-BIT T/C PRESCALER
R
3
0
T2S
T2S
clk
as well as 0 (stop) may be selected.
T2
is by default connected to the main
“Bit 7 – TSM: Timer/Counter Syn-
R
2
0
T2S
PSRASY
/8, clk
R/W
1
0
T2S
PSRSYNC
/32, clk
R/W
0
0
T2S
GTCCR
/64,
155

Related parts for ATmega48 Automotive