TINY88-15MZ Atmel, TINY88-15MZ Datasheet - Page 123
TINY88-15MZ
Manufacturer Part Number
TINY88-15MZ
Description
MCU AVR 8KB FLASH 12MHZ 32-QFN
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheet
1.TINY88-15MZ.pdf
(246 pages)
Specifications of TINY88-15MZ
Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
28
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Eeprom Size
64 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
32-VQFN Exposed Pad, 32-HVQFN, 32-SQFN, 32-DHVQFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 123 of 246
- Download datasheet (5Mb)
14.3
14.3.1
14.3.2
9157B–AVR–01/10
SS Pin Functionality
Slave Mode
Master Mode
When the SPI is configured as a Slave, the Slave Select (SS) pin is always input. When SS is
held low, the SPI is activated, and MISO becomes an output if configured so by the user. All
other pins are inputs. When SS is driven high, all pins are inputs, and the SPI is passive, which
means that it will not receive incoming data. Note that the SPI logic will be reset once the SS pin
is driven high.
The SS pin is useful for packet/byte synchronization to keep the slave bit counter synchronous
with the master clock generator. When the SS pin is driven high, the SPI slave will immediately
reset the send and receive logic, and drop any partially received data in the Shift Register.
When the SPI is configured as a Master (MSTR in SPCR is set), the user can determine the
direction of the SS pin.
If SS is configured as an output, the pin is a general output pin which does not affect the SPI
system. Typically, the pin will be driving the SS pin of the SPI Slave.
If SS is configured as an input, it must be held high to ensure Master SPI operation. If the SS pin
is driven low by peripheral circuitry when the SPI is configured as a Master with the SS pin
defined as an input, the SPI system interprets this as another master selecting the SPI as a
slave and starting to send data to it. To avoid bus contention, the SPI system takes the following
actions:
C Code Example
1. The MSTR bit in SPCR is cleared and the SPI system becomes a Slave. As a result of
2. The SPIF Flag in SPSR is set, and if the SPI interrupt is enabled, and the I-bit in SREG
void SPI_SlaveInit(void)
{
}
char SPI_SlaveReceive(void)
{
}
the SPI becoming a Slave, the MOSI and SCK pins become inputs.
is set, the interrupt routine will be executed.
/* Set MISO output, all others input */
DDR_SPI = (1<<DD_MISO);
/* Enable SPI */
SPCR = (1<<SPE);
/* Wait for reception complete */
while(!(SPSR & (1<<SPIF)))
/* Return Data Register */
return SPDR;
;
(1)
ATtiny88 Automotive
123
Related parts for TINY88-15MZ
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Switch, Pushbutton, TINY, Sealed, Surface Mount, OFF-MOM., PC TerminalS
Manufacturer:
C&K / ITT / Cannon
Datasheet:
Part Number:
Description:
Switch, Pushbutton, TINY, Sealed, Surface Mount, ON-MOM., PC TerminalS/RT ANGLE
Manufacturer:
C&K / ITT / Cannon
Datasheet:
Part Number:
Description:
Switch, Pushbutton, TINY, Sealed, Surface Mount, OFF-MOM., SUPPORT BRACKET
Manufacturer:
C&K / ITT / Cannon
Datasheet:
Part Number:
Description:
Switch, Pushbutton, TINY, Sealed, Surface Mount, OFF-MOM., PC TerminalS/RT ANGLE
Manufacturer:
C&K / ITT / Cannon
Datasheet:
Part Number:
Description:
TINY TOGGLE SWITCH SPDT RT.ANGLE
Manufacturer:
C&K Components
Datasheet:
Part Number:
Description:
TINY INTEGRATED LI-ION/LI-POLY CHARGE MGNT CONTROLLER, 4.2V VREG
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Tiny High Speed Single Supply Operational Amplifier
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
Tiny, Low Power JFET-Input Op Amp
Manufacturer:
Analog Devices
Datasheet:
Part Number:
Description:
Tiny Power On Reset Circuit
Manufacturer:
National Semiconductor
Datasheet:
Part Number:
Description:
Tiny Digital Thermometer And Thermostat
Manufacturer:
Maxim Integrated Products, Inc.
Datasheet:
Part Number:
Description:
Tiny Power On Reset Circuit
Manufacturer:
NSC [National Semiconductor]
Datasheet:
Part Number:
Description:
Tiny, Low-Cost, Single/Dual-Input, Fixed-Gain Microphone Amplifiers with Integrated Bias
Manufacturer:
DALLAS [Dallas Semiconductor]
Datasheet:
Part Number:
Description:
TINY CMOS OP AMP
Manufacturer:
NJR
Datasheet:
Part Number:
Description:
Slide Switch,STRAIGHT,SPDT,ON-OFF-ON,WRAP POST Terminal,PCB Hole Count:3
Manufacturer:
C&K Components
Datasheet: