AT90LS8535-4MI Atmel, AT90LS8535-4MI Datasheet - Page 58

IC MCU 8K FLASH 4MHZ IND 44-QFN

AT90LS8535-4MI

Manufacturer Part Number
AT90LS8535-4MI
Description
IC MCU 8K FLASH 4MHZ IND 44-QFN
Manufacturer
Atmel
Series
AVR® 90LSr
Datasheets

Specifications of AT90LS8535-4MI

Core Processor
AVR
Core Size
8-Bit
Speed
4MHz
Connectivity
SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
32
Program Memory Size
8KB (4K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 6 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
44-VQFN Exposed Pad
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
AT90LS8535-4MI
Quantity:
200
SPI Status Register – SPSR
SPI Data Register – SPDR
58
AT90S/LS8535
• Bits 1,0 – SPR1, SPR0: SPI Clock Rate Select 1 and 0
These two bits control the SCK rate of the device configured as a master. SPR1 and
SPR0 have no effect on the slave. The relationship between SCK and the oscillator
clock frequency f
Table 23. Relationship between SCK and the Oscillator Frequency
• Bit 7 – SPIF: SPI Interrupt Flag
When a serial transfer is complete, the SPIF bit is set (one) and an interrupt is gener-
ated if SPIE in SPCR is set (one) and global interrupts are enabled. If SS is an input and
is driven low when the SPI is in Master Mode, this will also set the SPIF flag. SPIF is
cleared by hardware when executing the corresponding interrupt handling vector. Alter-
natively, the SPIF bit is cleared by first reading the SPI Status Register with SPIF set
(one), then accessing the SPI Data Register (SPDR).
• Bit 6 – WCOL: Write Collision flag
The WCOL bit is set if the SPI Data Register (SPDR) is written during a data transfer.
The WCOL bit (and the SPIF bit) are cleared (zero) by first reading the SPI Status Reg-
ister with WCOL set (one) and then accessing the SPI Data Register.
• Bit 5..0 – Res: Reserved Bits
These bits are reserved bits in the AT90S8535 and will always read as zero.
The SPI interface on the AT90S8535 is also used for program memory and EEPROM
downloading or uploading. See page 99 for serial programming and verification.
The SPI Data Register is a read/write register used for data transfer between the regis-
ter file and the SPI Shift Register. Writing to the register initiates data transmission.
Reading the register causes the Shift Register Receive buffer to be read.
Bit
$0E ($2E)
Read/Write
Initial Value
Bit
$0F ($2F)
Read/Write
Initial Value
SPR1
0
0
1
1
SPIF
MSB
R/W
R
7
0
7
X
cl
is shown in Table 23.
WCOL
R/W
R
6
0
6
X
SPR0
0
1
0
1
R/W
R
X
5
0
5
R/W
R
4
0
4
X
R/W
R
X
3
0
3
R/W
R
X
SCK Frequency
2
0
2
f
f
f
cl
f
cl
cl
/128
cl
/16
/64
R/W
/4
R
X
1
0
1
LSB
R/W
R
X
0
0
0
1041H–11/01
Undefined
SPSR
SPDR

Related parts for AT90LS8535-4MI