AT90CAN64 Atmel Corporation, AT90CAN64 Datasheet - Page 330

no-image

AT90CAN64

Manufacturer Part Number
AT90CAN64
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT90CAN64

Flash (kbytes)
64 Kbytes
Pin Count
64
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
53
Ext Interrupts
8
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Uart
2
Can
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)
4
Eeprom (bytes)
2048
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
4
Output Compare Channels
8
Input Capture Channels
2
Pwm Channels
7
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT90CAN64-15AT
Manufacturer:
Atmel
Quantity:
3 327
Part Number:
AT90CAN64-15AT
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT90CAN64-15AT1
Manufacturer:
Atmel
Quantity:
1 985
Part Number:
AT90CAN64-15AT1
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT90CAN64-15AZ
Manufacturer:
Atmel
Quantity:
1 995
Part Number:
AT90CAN64-15AZ
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT90CAN64-15MT
Manufacturer:
Freescale
Quantity:
100
Part Number:
AT90CAN64-15MT1
Manufacturer:
Atmel
Quantity:
7 775
Part Number:
AT90CAN64-15MT1
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
AT90CAN64-16AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT90CAN64-16AU
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
AT90CAN64-16AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT90CAN64-16MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
24.7.6
24.7.7
24.7.8
24.7.9
330
AT90CAN32/64/128
Prevent Reading the RWW Section During Self-Programming
Setting the Boot Loader Lock Bits by SPM
EEPROM Write Prevents Writing to SPMCSR
Reading the Fuse and Lock Bits from Software
change the Boot Loader software itself, it is recommended to program the Boot Lock bit11 to
protect the Boot Loader software from any internal software changes.
During Self-Programming (either Page Erase or Page Write), the RWW section is always
blocked for reading. The user software itself must prevent that this section is addressed during
the self programming operation. The RWWSB in the SPMCSR will be set as long as the RWW
section is busy. During Self-Programming the Interrupt Vector table should be moved to the BLS
as described in
the RWW section after the programming is completed, the user software must clear the
RWWSB by writing the RWWSRE. See
page 332
To set the Boot Loader Lock bits, write the desired data to R0, write “X0001001” to SPMCSR
and execute SPM within four clock cycles after writing SPMCSR. The only accessible Lock bits
are the Boot Lock bits that may prevent the Application and Boot Loader section from any soft-
ware update by the MCU.
See
Flash access.
If bits 5..2 in R0 are cleared (zero), the corresponding Boot Lock bit will be programmed if an
SPM instruction is executed within four cycles after BLBSET and SPMEN are set in SPMCSR.
The Z-pointer is don’t care during this operation, but for future compatibility it is recommended to
load the Z-pointer with 0x0001 (same as used for reading the Lock bits). For future compatibility
it is also recommended to set bits 7, 6, 1, and 0 in R0 to “1” when writing the Lock bits. When
programming the Lock bits the entire Flash can be read during the operation.
Note that an EEPROM write operation will block all software programming to Flash. Reading the
Fuses and Lock bits from software will also be prevented during the EEPROM write operation. It
is recommended that the user checks the status bit (EEWE) in the EECR Register and verifies
that the bit is cleared before writing to the SPMCSR Register.
It is possible to read both the Fuse and Lock bits from software. To read the Lock bits, load the
Z-pointer with 0x0001 and set the BLBSET and SPMEN bits in SPMCSR. When an LPM instruc-
tion is executed within three CPU cycles after the BLBSET and SPMEN bits are set in SPMCSR,
the value of the Lock bits will be loaded in the destination register. The BLBSET and SPMEN
bits will auto-clear upon completion of reading the Lock bits or if no LPM instruction is executed
within three CPU cycles or no SPM instruction is executed within four CPU cycles. When BLB-
SET and SPMEN are cleared, LPM will work as described in the Instruction set Manual.
Bit
R0
Bit
Rd (Z=0x0001)
Table 24-2
for an example.
“Interrupts” on page
7
1
and
7
Table 24-3
6
1
6
BLB12
for how the different settings of the Boot Loader bits affect the
5
BLB12
5
60, or the interrupts must be disabled. Before addressing
BLB11
“Simple Assembly Code Example for a Boot Loader” on
4
BLB11
4
BLB02
3
BLB02
3
BLB01
2
BLB01
2
1
1
LB2
1
0
1
LB1
0
7679H–CAN–08/08

Related parts for AT90CAN64