AT90CAN128-16AE ATMEL Corporation, AT90CAN128-16AE Datasheet - Page 335

no-image

AT90CAN128-16AE

Manufacturer Part Number
AT90CAN128-16AE
Description
8-bit Avr Microcontroller With 128K Bytes of Isp Flash And CAN Controller.flash (Kbytes) 128 Vcc (V) 2.7-5.5 EEPROM (Kbytes) 4 SRAM (bytes) 4K CAN (mess. Obj.) 15
Manufacturer
ATMEL Corporation
Datasheet
SPI Serial Programming
Overview
Signal Names
4250C–CAN–03/04
This section describes how to serial program and verify Flash Program memory,
EEPROM Data memory, Memory Lock bits, and Fuse bits in the AT90CAN128.
Both the Flash and EEPROM memory arrays can be programmed using the serial SPI
bus while RESET is pulled to GND. The serial interface consists of pins SCK, MOSI
(input) and MISO (output). After RESET is set low, the Programming Enable instruction
needs to be executed first before program/erase operations can be executed. NOTE, in
Table 132 on page 336, the pin mapping for SPI programming is listed. Not all parts use
the SPI pins dedicated for the internal SPI interface. Note that throughout the descrip-
tion about Serial downloading, MOSI and MISO are used to describe the serial data in
and serial data out respectively. For AT90CAN128 these pins are mapped to PDI (PE0)
and PDO (PE1).
Figure 159. Serial Programming and Verify
Notes:
When programming the EEPROM, an auto-erase cycle is built into the self-timed pro-
gramming operation (in the Serial mode ONLY) and there is no need to first execute the
Chip Erase instruction. The Chip Erase operation turns the content of every memory
location in both the Program and EEPROM arrays into 0xFF.
Depending on CKSEL Fuses, a valid clock must be present. The minimum low and
high periods for the serial clock (SCK) input are defined as follows:
Low: > 2 CPU clock cycles for f
High: > 2 CPU clock cycles for f
1. If the device is clocked by the internal Oscillator, it is no need to connect a clock
source to the XTAL1 pin.
PDO
SCK
PDI
ck
ck
< 12 MHz, 3 CPU clock cycles for f
< 12 MHz, 3 CPU clock cycles for f
PE0
PE1
PB1
XTAL1
RESET
GND
(1)
AVCC
VCC
+2.7 - +5.5V
+2.7 - +5.5V
AT90CAN128
ck
ck
12 MHz
12 MHz
335

Related parts for AT90CAN128-16AE