Electronic Components Datasheet Search
  English  ▼

X  

ATMEGA48 Datasheet(PDF) 210 Page - ATMEL Corporation

Part # ATMEGA48
Description  8-bit Microcontroller with 8K Bytes In-System Programmable Flash
PDF  374 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATMEGA48 Datasheet(HTML) 210 Page - ATMEL Corporation

Back Button ATMEGA48 Datasheet HTML 206Page - ATMEL Corporation ATMEGA48 Datasheet HTML 207Page - ATMEL Corporation ATMEGA48 Datasheet HTML 208Page - ATMEL Corporation ATMEGA48 Datasheet HTML 209Page - ATMEL Corporation ATMEGA48 Datasheet HTML 210Page - ATMEL Corporation ATMEGA48 Datasheet HTML 211Page - ATMEL Corporation ATMEGA48 Datasheet HTML 212Page - ATMEL Corporation ATMEGA48 Datasheet HTML 213Page - ATMEL Corporation ATMEGA48 Datasheet HTML 214Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 210 / 374 page
background image
210
2545J–AVR–12/06
ATmega48/88/168
The PRTWI bit in ”Minimizing Power Consumption” on page 41 must be written to zero to enable
the 2-wire Serial Interface.
20.2.2
Electrical Interconnection
As depicted in Figure 20-1, both bus lines are connected to the positive supply voltage through
pull-up resistors. The bus drivers of all TWI-compliant devices are open-drain or open-collector.
This implements a wired-AND function which is essential to the operation of the interface. A low
level on a TWI bus line is generated when one or more TWI devices output a zero. A high level
is output when all TWI devices tri-state their outputs, allowing the pull-up resistors to pull the line
high. Note that all AVR devices connected to the TWI bus must be powered in order to allow any
bus operation.
The number of devices that can be connected to the bus is only limited by the bus capacitance
limit of 400 pF and the 7-bit slave address space. A detailed specification of the electrical char-
acteristics of the TWI is given in ”2-wire Serial Interface Characteristics” on page 308. Two
different sets of specifications are presented there, one relevant for bus speeds below 100 kHz,
and one valid for bus speeds up to 400 kHz.
20.3
Data Transfer and Frame Format
20.3.1
Transferring Bits
Each data bit transferred on the TWI bus is accompanied by a pulse on the clock line. The level
of the data line must be stable when the clock line is high. The only exception to this rule is for
generating start and stop conditions.
Figure 20-2. Data Validity
20.3.2
START and STOP Conditions
The Master initiates and terminates a data transmission. The transmission is initiated when the
Master issues a START condition on the bus, and it is terminated when the Master issues a
STOP condition. Between a START and a STOP condition, the bus is considered busy, and no
Slave
The device addressed by a Master.
Transmitter
The device placing data on the bus.
Receiver
The device reading data from the bus.
Table 20-1.
TWI Terminology
Term
Description
SDA
SCL
Data Stable
Data Stable
Data Change



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com