ATTINY25V-10MU Atmel, ATTINY25V-10MU Datasheet - Page 113
![IC MCU AVR 2K FLASH 10MHZ 20-QFN](/photos/6/87/68751/313-20-qfn_sml.jpg)
ATTINY25V-10MU
Manufacturer Part Number
ATTINY25V-10MU
Description
IC MCU AVR 2K FLASH 10MHZ 20-QFN
Manufacturer
Atmel
Series
AVR® ATtinyr
Specifications of ATTINY25V-10MU
Core Processor
AVR
Core Size
8-Bit
Speed
10MHz
Connectivity
USI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
6
Program Memory Size
2KB (1K x 16)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
20-MLF®, QFN
Processor Series
ATTINY2x
Core
AVR8
Data Bus Width
8 bit
Data Ram Size
128 B
Interface Type
USI
Maximum Clock Frequency
10 MHz
Number Of Programmable I/os
6
Number Of Timers
2
Operating Supply Voltage
1.8 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Minimum Operating Temperature
- 40 C
On-chip Adc
4-ch x 10-bit
For Use With
ATSTK600-DIP40 - STK600 SOCKET/ADAPTER 40-PDIPATAVRBC100 - REF DESIGN KIT BATTERY CHARGER770-1007 - ISP 4PORT ATMEL AVR MCU SPI/JTAGATAVRDRAGON - KIT DRAGON 32KB FLASH MEM AVRATAVRISP2 - PROGRAMMER AVR IN SYSTEMATJTAGICE2 - AVR ON-CHIP D-BUG SYSTEM
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATTINY25V-10MU
Manufacturer:
ATMEL
Quantity:
1 650
Part Number:
ATTINY25V-10MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
- Current page: 113 of 236
- Download datasheet (5Mb)
15.3.2
2586M–AVR–07/10
SPI Master Operation Example
Figure 15-3. Three-Wire Mode, Timing Diagram
The three-wire mode timing is shown in
erence. One bit is shifted into the USI Data Register (USIDR) for each of these cycles. The
USCK timing is shown for both external clock modes. In external clock mode 0 (USICS0 = 0), DI
is sampled at positive edges, and DO is changed (USI Data Register is shifted by one) at nega-
tive edges. In external clock mode 1 (USICS0 = 1) the opposite edges with respect to mode 0
are used. In other words, data is sampled at negative and changes the output at positive edges.
The USI clock modes corresponds to the SPI data mode 0 and 1.
Referring to the timing diagram
The following code demonstrates how to use the USI as an SPI Master:
1. The slave and master devices set up their data outputs and, depending on the protocol
2. The master software generates a clock pulse by toggling the USCK line twice (C and
3. Step 2. is repeated eight times for a complete register (byte) transfer.
4. After eight clock pulses (i.e., 16 clock edges) the counter will overflow and indicate that
SPITransfer:
SPITransfer_loop:
CYCLE
used, enable their output drivers (mark A and B). The output is set up by writing the
data to be transmitted to the USI Data Register. The output is enabled by setting the
corresponding bit in the Data Direction Register of Port B. Note that there is not a pre-
ferred order of points A and B in the figure, but both must be at least one half USCK
cycle before point C, where the data is sampled. This is in order to ensure that the data
setup requirement is satisfied. The 4-bit counter is reset to zero.
D). The bit values on the data input (DI) pins are sampled by the USI on the first edge
(C), and the data output is changed on the opposite edge (D). The 4-bit counter will
count both edges.
the transfer has been completed. If USI Buffer Registers are not used the data bytes
that have been transferred must now be processed before a new transfer can be initi-
ated. The overflow interrupt will wake up the processor if it is set to Idle mode.
Depending of the protocol used the slave device can now set its output to high
impedance.
USCK
USCK
out
ldi
out
ldi
out
in
DO
DI
( Reference )
r16, USISR
A
USIDR,r16
r16,(1<<USIOIF)
USISR,r16
r16,(1<<USIWM0)|(1<<USICS1)|(1<<USICLK)|(1<<USITC)
USICR,r16
B
MSB
MSB
C
1
D
(Figure
2
6
6
15-3), a bus transfer involves the following steps:
3
Figure 15-3
5
5
4
4
4
At the top of the figure is a USCK cycle ref-
5
3
3
6
2
2
7
1
1
LSB
LSB
8
E
113
Related parts for ATTINY25V-10MU
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ATTINY25V-15ST](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
MCU AVR 2K FLASH 4MHZ 8-SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY25V-10SUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 2KB FLASH 10MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY25V-10PU](/photos/6/50/65033/313-8-dip_tmb.jpg)
Part Number:
Description:
IC AVR MCU 2K 10MHZ 8-DIP
Manufacturer:
Atmel
Datasheet:
![ATTINY25V-10SH](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
IC MCU AVR 2KB FLASH 10MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY25V-10SSH](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
IC MCU AVR 2KB FLASH 10MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY25V-10SSUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 2KB FLASH 10MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY25V-10MUR](/photos/6/87/68751/313-20-qfn_tmb.jpg)
Part Number:
Description:
MCU AVR 2KB FLASH 10MHZ 20QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY25V-10SSU](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
MCU AVR 2K ISP FLASH 1.8V 8-SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY25V-10PI](/photos/6/50/65033/313-8-dip_tmb.jpg)
Part Number:
Description:
IC AVR MCU 2K 10MHZ 8DIP
Manufacturer:
Atmel
Datasheet:
![ATTINY25V-10SI](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
IC AVR MCU 2K 10MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY25V-10SSHR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
8-bit Microcontrollers - MCU 2KB FLASH,128B EE, 128B SRAM-10MHz
Manufacturer:
Atmel
![ATTINY25V-10SHR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
8-bit Microcontrollers - MCU 2KB FL,128B EE,128B SRAM-10MHz
Manufacturer:
Atmel
![ATTINY25V-10MF](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
8-bit Microcontrollers - MCU AVR 16KB FL 512B EE 1KB SRAM 10 MHZ GRN
Manufacturer:
Atmel