ATtiny24 Automotive Atmel Corporation, ATtiny24 Automotive Datasheet - Page 161

no-image

ATtiny24 Automotive

Manufacturer Part Number
ATtiny24 Automotive
Description
Manufacturer
Atmel Corporation

Specifications of ATtiny24 Automotive

Flash (kbytes)
2 Kbytes
Pin Count
14
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
4
Hardware Qtouch Acquisition
No
Max I/o Pins
12
Ext Interrupts
12
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
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
Yes
Crypto Engine
No
Sram (kbytes)
0.12
Eeprom (bytes)
128
Self Program Memory
YES
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
2
Output Compare Channels
4
Input Capture Channels
1
Pwm Channels
4
32khz Rtc
No
Calibrated Rc Oscillator
Yes
20.4.4
20.5
20.5.1
7701E–AVR–02/11
Register Description
Programming Time for Flash when Using SPM
SPMCSR – Store Program Memory Control and Status Register
Flash corru ptio n ca n e asily b e avoided by fo llowing at lea st one the se d esig n
recommendations:
1. Keep the Atmel
2. Keep the AVR core in power-down sleep mode during periods of low VCC. This will
The calibrated RC Oscillator is used to time Flash accesses.
gramming time for Flash accesses from the CPU.
Table 20-1.
Note:
The Store Program Memory Control and Status Register contains the control bits needed to
control Program memory operations.
• Bits 7..5 – Res: Reserved Bits
These bits are reserved bits in the ATtiny24/44/84 and always read as zero.
• Bit 4 – CTPB: Clear Temporary Page Buffer
If the CTPB bit is written while filling the temporary page buffer, the temporary page buffer will
be cleared and the data will be lost.
• Bit 3 – RFLB: Read Fuse and Lock Bits
An LPM instruction within three cycles after RFLB and SPMEN are set in SPMCSR will read
either the lock bits or the fuse bits (depending on Z0 in the Z-pointer) in the destination regis-
ter. See
• Bit 2 – PGWRT: Page Write
If this bit is written to one at the same time as SPMEN, the next SPM instruction within four
clock cycles executes Page Write, with the data stored in the temporary buffer. The page
address is taken from the high part of the Z-pointer.
Bit
0x37 (0x57)
Read/Write
Initial Value
Flash write (Page Erase, Page Write,
and write Lock bits by SPM)
voltage. This can be done by enabling the internal Brown-out Detector (BOD) if the
operating voltage matches the detection level. If not, an external low V
tion circuit can be used. If a reset occurs while a write operation is in progress, the
write operation will be completed provided the power supply voltage is sufficient.
prevent the CPU from attempting to decode and execute instructions, effectively pro-
tecting SPMCSR and, thus, the flash from unintentional writes.
1. The min and max programming times are per individual operation.
“EEPROM Write Prevents Writing to SPMCSR” on page 160
SPM Programming Time
Symbol
R
7
0
®
AVR
®
R
6
0
Atmel ATtiny24/44/84 [Preliminary]
RESET active (low) during periods of insufficient power supply
R
5
0
(1)
Min Programming Time
CTPB
R/W
4
0
3.7 ms
RFLB
R/W
3
0
PGWRT
Table 20-1
R/W
2
0
Max Programming Time
PGERS
for details.
R/W
1
0
shows the typical pro-
CC
reset protec-
4.5 ms
SPMEN
R/W
0
0
SPMCSR
161

Related parts for ATtiny24 Automotive