ATTINY167-15MD Atmel, ATTINY167-15MD Datasheet - Page 157

no-image

ATTINY167-15MD

Manufacturer Part Number
ATTINY167-15MD
Description
MCU AVR 16K FLASH 15MHZ 32-QFN
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheet

Specifications of ATTINY167-15MD

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
I²C, LIN, SPI, UART/USART, USI
Peripherals
Brown-out Detect/Reset, POR, PWM, Temp Sensor, WDT
Number Of I /o
16
Program Memory Size
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 150°C
Package / Case
32-VQFN Exposed Pad, 32-HVQFN, 32-SQFN, 32-DHVQFN
Processor Series
ATTINY1x
Core
AVR8
Data Bus Width
8 bit
Data Ram Size
512 B
Maximum Clock Frequency
16 MHz
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
EWAVR, EWAVR-BL
Development Tools By Supplier
ATAVRDRAGON, ATSTK500, ATSTK600, ATAVRISP2, ATAVRONEKIT
Minimum Operating Temperature
- 40 C
For Use With
ATSTK600-SOIC - STK600 SOCKET/ADAPTER FOR SOIC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
14.5.2
14.5.3
7728G–AVR–06/10
USIBR – USI Buffer Register
USISR – USI Status Register
Note that the corresponding Data Direction Register to the pin must be set to one for enabling
data output from the USI Data Register.
• Bits 7:0 – USID7..0: USI Buffer
The content of the Serial Register is loaded to the USI Buffer Register when the transfer is
completed, and instead of accessing the USI Data Register (the Serial Register) the USI Data
Buffer can be accessed when the CPU reads the received data. This gives the CPU time to
handle other program tasks too as the controlling of the USI is not so timing critical. The USI
flags as set same as when reading the USIDR register.
The Status Register contains Interrupt Flags, line Status Flags and the counter value.
• Bit 7 – USISIF: Start Condition Interrupt Flag
When Two-wire mode is selected, the USISIF Flag is set (to one) when a start condition is
detected. When output disable mode or Three-wire mode is selected and (USICSx = 11
USICLK = 0) or (USICS = 10
An interrupt will be generated when the flag is set while the USISIE bit in USICR and the
Global Interrupt Enable Flag are set. The flag will only be cleared by writing a logical one to the
USISIF bit. Clearing this bit will release the start detection hold of USCL in Two-wire mode.
A start condition interrupt will wakeup the processor from all sleep modes.
• Bit 6 – USIOIF: Counter Overflow Interrupt Flag
This flag is set (one) when the 4-bit counter overflows (i.e., at the transition from 15 to 0). An
interrupt will be generated when the flag is set while the USIOIE bit in USICR and the Global
Interrupt Enable Flag are set. The flag will only be cleared if a one is written to the USIOIF bit.
Clearing this bit will release the counter overflow hold of SCL in Two-wire mode.
A counter overflow interrupt will wakeup the processor from Idle sleep mode.
• Bit 5 – USIPF: Stop Condition Flag
When Two-wire mode is selected, the USIPF Flag is set (one) when a stop condition is
detected. The flag is cleared by writing a one to this bit. Note that this is not an Interrupt Flag.
This signal is useful when implementing Two-wire bus master arbitration.
• Bit 4 – USIDC: Data Output Collision
This bit is logical one when bit 7 in the USI Data Register differs from the physical pin value.
The flag is only valid when Two-wire mode is used. This signal is useful when implementing
Two-wire bus master arbitration.
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
USISIF
R/W
USIB7
7
0
R
7
0
USIOIF
R/W
USIB6
6
0
R
6
0
b
& USICLK = 0), any edge on the SCK pin sets the flag.
USIPF
R/W
5
0
USIB5
R
5
0
USIDC
R
4
0
USIB4
R
4
0
USICNT3
R/W
3
0
USIB3
R
3
0
ATtiny87/ATtiny167
USICNT2
R/W
2
0
USIB2
R
2
0
USICNT1
R/W
USIB1
1
0
R
1
0
USICNT0
USIB0
R/W
R
0
0
0
0
USIBR
USISR
157
b
&

Related parts for ATTINY167-15MD