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

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
Reading the EEPROM
Programming the
Fuse Low Bits
Programming the
Fuse High Bits
Programming the
Extended Fuse Bits
4250C–CAN–03/04
The algorithm for reading the EEPROM memory is as follows (refer to “Programming the
Flash” on page 329 for details on Command and Address loading):
1. A: Load Command “0000 0011”.
2. G: Load Address High Byte (0x00 - 0xFF).
3. B: Load Address Low Byte (0x00 - 0xFF).
4. Set OE to “0”, and BS1 to “0”. The EEPROM Data byte can now be read at
5. Set OE to “1”.
The algorithm for programming the Fuse Low bits is as follows (refer to “Programming
the Flash” on page 329 for details on Command and Data loading):
1. A: Load Command “0100 0000”.
2. C: Load Data Low Byte. Bit n = “0” programs and bit n = “1” erases the Fuse bit.
3. Give WR a negative pulse and wait for RDY/BSY to go high.
The algorithm for programming the Fuse High bits is as follows (refer to “Programming
the Flash” on page 329 for details on Command and Data loading):
1. A: Load Command “0100 0000”.
2. C: Load Data Low Byte. Bit n = “0” programs and bit n = “1” erases the Fuse bit.
3. Set BS1 to “1” and BS2 to “0”. This selects high data byte.
4. Give WR a negative pulse and wait for RDY/BSY to go high.
5. Set BS1 to “0”. This selects low data byte.
The algorithm for programming the Extended Fuse bits is as follows (refer to “Program-
ming the Flash” on page 329 for details on Command and Data loading):
1. A: Load Command “0100 0000”.
2. C: Load Data Low Byte. Bit n = “0” programs and bit n = “1” erases the Fuse bit.
3. Set BS1 to “0” and BS2 to “1”. This selects extended data byte.
4. Give WR a negative pulse and wait for RDY/BSY to go high.
5. Set BS2 to “0”. This selects low data byte.
Figure 157. Programming the FUSES Waveforms
RESET +12V
RDY/BSY
PAGEL
DATA.
XTAL1
DATA
BS2
XA1
XA0
BS1
WR
OE
0x40
A
DATA
C
Write Fuse Low byte
XX
0x40
A
DATA
C
Write Fuse high byte
XX
AT90CAN128
0x40
A
DATA
C
Write Extended Fuse byte
XX
333

Related parts for AT90CAN128-16AE