ATAVRMC321 Atmel, ATAVRMC321 Datasheet - Page 183

no-image

ATAVRMC321

Manufacturer Part Number
ATAVRMC321
Description
KIT EVAL MOTOR CTRL LOW COST
Manufacturer
Atmel
Series
AVR®r
Datasheets

Specifications of ATAVRMC321

Main Purpose
Power Management, Motor Control
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
ATtinyx61
Primary Attributes
3-Ph BLDC, Brushed DC, Stepper Motor- Controller Board
Secondary Attributes
Includes ATAVRMC300 Power Driver Board
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
18.7.7
2588E–AVR–08/10
Reading the Flash
programmed simultaneously. The programming algorithm for the EEPROM data memory is as
follows (refer to
Data loading):
Figure 18-6. Programming the EEPROM Waveforms
The algorithm for reading the Flash memory is as follows (refer to
page 180
RESET +12V
1. A: Load Command “0001 0001”.
2. G: Load Address High Byte (0x00 - 0xFF).
3. B: Load Address Low Byte (0x00 - 0xFF).
4. C: Load Data (0x00 - 0xFF).
5. E: Latch data (give PAGEL a positive pulse).
6. K: Repeat 3 through 5 until the entire buffer is filled.
7. L: Program EEPROM page
1. A: Load Command “0000 0010”.
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 Flash word low byte can now be read at DATA.
5. Set BS to “1”. The Flash word high byte can now be read at DATA.
6. Set OE to “1”.
PAGEL/BS1
RDY/BSY
XA1/BS2
XTAL1
DATA
a. Set BS to “0”.
b. Give WR a negative pulse. This starts programming of the EEPROM page.
c. Wait until to RDY/BSY goes high before programming the next page (See
XA0
WR
OE
RDY/BSY goes low.
18-6
for details on Command and Address loading):
for signal waveforms).
0x11
A
“Programming the Flash” on page 180
ADDR. HIGH
G
ADDR. LOW
B
DATA
C
XX
E
ADDR. LOW
B
for details on Command, Address and
DATA
C
K
XX
E
“Programming the Flash” on
L
Figure
183

Related parts for ATAVRMC321