beautypg.com

Reading the calibration byte, Parallel programming characteristics, Atmega162/v – Rainbow Electronics ATmega162V User Manual

Page 242: And t, Also apply to loading operation

background image

242

ATmega162/V

2513E–AVR–09/03

Reading the Calibration Byte

The algorithm for reading the calibration byte is as follows (refer to “Programming the
Flash” on page 236 f
or details on Command and Address loading):

1.

A: Load Command “0000 1000”.

2.

B: Load Address Low Byte, 0x00.

3.

Set OE to “0”, and BS1 to “1”. The Calibration byte can now be read at DATA.

4.

Set OE to “1”.

Parallel Programming
Characteristics

Figure 102. Parallel Program ming Timing, Including some G eneral Timing
Requirements

Figu re 103 . P arallel P rogra mm ing Tim in g, L oadin g S equ enc e w ith T im ing
Requirements

(1)

Note:

1. The timing requirements shown in Figure 102 (i.e., t

DVXH

, t

XHXL

, and t

XLDX

) also apply

to loading operation.

Data & Contol

(DATA, XA0/1, BS1, BS2)

XTAL1

t

XHXL

t

WLWH

t

DVXH

t

XLDX

t

PLWL

t

WLRH

WR

RDY/BSY

PAGEL

t

PHPL

t

PLBX

t

BVPH

t

XLWL

t

WLBX

t

BVWL

WLRL

XTAL1

PAGEL

t

PLXH

XLXH

t

t

XLPH

ADDR0 (low byte)

DATA (low byte)

DATA (high byte)

ADDR1 (low byte)

DATA

BS1

XA0

XA1

LOAD ADDRESS

(LOW BYTE)

LOAD DATA

(LOW BYTE)

LOAD DATA

(HIGH BYTE)

LOAD DATA

LOAD ADDRESS

(LOW BYTE)