ATtiny88 Automotive Atmel Corporation, ATtiny88 Automotive Datasheet - Page 132

no-image

ATtiny88 Automotive

Manufacturer Part Number
ATtiny88 Automotive
Description
Manufacturer
Atmel Corporation

Specifications of ATtiny88 Automotive

Flash (kbytes)
8 Kbytes
Pin Count
32
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
12
Hardware Qtouch Acquisition
No
Max I/o Pins
28
Ext Interrupts
28
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.5
Eeprom (bytes)
64
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
Yes
Temp. Range (deg C)
-40 to 125
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
4
Input Capture Channels
1
Pwm Channels
2
32khz Rtc
No
Calibrated Rc Oscillator
Yes
15.4
132
Multi-master Bus Systems, Arbitration and Synchronization
ATtiny88 Automotive
Figure 15-6. Typical Data Transmission
The TWI protocol allows bus systems with several masters. Special concerns have been taken
in order to ensure that transmissions will proceed as normal, even if two or more masters initiate
a transmission at the same time. Two problems arise in multi-master systems:
Figure 15-7. SCL Synchronization Between Multiple Masters
SCL from
SCL from
SDA
SCL
Master A
Master B
SCL Bus
• An algorithm must be implemented allowing only one of the masters to complete the
• Different masters may use different SCL frequencies. A scheme must be devised to
transmission. All other masters should cease transmission when they discover that they have
lost the selection process. This selection process is called arbitration. When a contending
master discovers that it has lost the arbitration process, it should immediately switch to Slave
mode to check whether it is being addressed by the winning master. The fact that multiple
masters have started transmission at the same time should not be detectable to the slaves,
i.e. the data being transferred on the bus must not be corrupted.
synchronize the serial clocks from all masters, in order to let the transmission proceed in a
lockstep fashion. This will facilitate the arbitration process.
Line
START
Addr MSB
1
2
SLA+R/W
Addr LSB
7
TA
Counting Low Period
R/W
low
8
Masters Start
TB
ACK
9
low
Data MSB
1
2
Data Byte
TA
Counting High Period
high
7
Masters Start
TB
Data LSB
high
8
ACK
9
9157B–AVR–01/10
STOP

Related parts for ATtiny88 Automotive