參數(shù)資料
型號(hào): 90S1200
廠商: Atmel Corp.
元件分類: 8位微控制器
英文描述: -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
中文描述: 位AVR微控制器具有8K字節(jié)的系統(tǒng)內(nèi)可編程閃存
文件頁(yè)數(shù): 44/71頁(yè)
文件大?。?/td> 1416K
代理商: 90S1200
44
AT90S1200
0838H
AVR
03/02
Serial Downloading
Both the program and data memory arrays can be programmed using the SPI bus while
RESET is pulled to GND. The serial interface consists of pins SCK, MOSI (input) and
MISO (output) (see Figure 34). After RESET is set low, the Programming Enable
instruction needs to be executed first before program/erase instructions can be
executed.
Figure 34.
Serial Programming and Verify
Note:
If the device is clocked by the Internal Oscillator, it is no need to connect a clock source
to the XTAL1 pin
For the EEPROM, an auto-erase cycle is provided within the self-timed write instruction
and there is no need to first execute the Chip Erase instruction. The Chip Erase instruc-
tion turns the content of every memory location in both the Program and EEPROM
arrays into $FF.
The program and EEPROM memory arrays have separate address spaces: $0000 to
$01FF for Flash program memory and $000 to $03F for EEPROM data memory.
Either an external system clock is supplied at pin XTAL1 or a crystal needs to be con-
nected across pins XTAL1 and XTAL2. The minimum low and high periods for the Serial
Clock (SCK) input are defined as follows:
Low: > 1 XTAL1 clock cycle
High: > 4 XTAL1 clock cycles
Serial Programming
Algorithm
When writing serial data to the AT90S1200, data is clocked on the rising edge of SCK.
When reading data from the AT90S1200, data is clocked on the falling edge of SCK.
See Figure 35 and Table 20 for timing details.
To program and verify the AT90S1200 in the Serial Programming mode, the following
sequence is recommended (See 4-byte instruction formats in Table 17
):
1.
Power-up sequence:
Apply power between V
CC
and GND while RESET and SCK are set to
0
. If a crys-
tal is not connected across pins XTAL1 and XTAL2 or the device is not running from
the Internal RC Oscillator, apply a clock signal to the XTAL1 pin. If the programmer
can not guarantee that SCK is held low during power-up, RESET must be given a
positive pulse after SCK has been set to
0
.
2.
Wait for at least 20 ms and enable serial programming by sending the Program-
ming Enable serial instruction to the MOSI (PB5) pin.
AT90S1200
VCC
2.7 - 6.0V
PB7
PB6
PB5
RESET
GND
XTAL1
SCK
MISO
MOSI
GND
CLOCK INPUT
相關(guān)PDF資料
PDF描述
90S2313 -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
90S2343 -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
90S4414 16 Characters x 2 Lines, 5x7 Dot Matrix Character and Cursor
90S8535 -bit AVR Microcontroller with 8K Bytes In- System Programmable Flash
90SCFM 20SCFM
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
90S2313 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-Bit Microcontroller with 2K bytes In-System Programmable Flash
90S2343 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-Bit Microcontroller with 2K Bytes of In-System Programmable Flash
90S4414 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-Bit Microcontroller with 4K bytes In-System Programmable Flash
90S7A 制造商:QUARTZCOM 制造商全稱:QUARTZCOM the communications company 功能描述:-20 ~ +70 °C commercia l application -30 ~ +75 °C on request
90S8535 制造商:ATMEL 制造商全稱:ATMEL Corporation 功能描述:8-Bit Microcontroller with 4K/8K Bytes In-System Programmable Flash