ATmega324P Automotive Atmel Corporation, ATmega324P Automotive Datasheet - Page 235

no-image

ATmega324P Automotive

Manufacturer Part Number
ATmega324P Automotive
Description
Manufacturer
Atmel Corporation

Specifications of ATmega324P Automotive

Flash (kbytes)
32 Kbytes
Pin Count
44
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
32
Ext Interrupts
32
Usb Speed
No
Usb Interface
No
Spi
3
Twi (i2c)
1
Uart
2
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
No
Crypto Engine
No
Sram (kbytes)
2
Eeprom (bytes)
1024
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
3
Output Compare Channels
6
Input Capture Channels
1
Pwm Channels
6
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
19.9
19.9.1
7674F–AVR–09/09
Register Description
TWBR – TWI Bit Rate Register
• Two or more masters are accessing different slaves. In this case, arbitration will occur in the
This is summarized in
Figure 19-21. Possible Status Codes Caused by Arbitration
• Bits 7:0 – TWI Bit Rate Register
TWBR selects the division factor for the bit rate generator. The bit rate generator is a frequency
divider which generates the SCL clock frequency in the Master modes. See
Unit” on page 216
Bit
(0xB8)
Read/Write
Initial Value
SLA bits. Masters trying to output a one on SDA while another Master outputs a zero will lose
the arbitration. Masters losing arbitration in SLA will switch to Slave mode to check if they are
being addressed by the winning Master. If addressed, they will switch to SR or ST mode,
depending on the value of the READ/WRITE bit. If they are not being addressed, they will
switch to not addressed Slave mode or wait until the bus is free and transmit a new START
condition, depending on application software action.
START
TWBR7
R/W
7
0
for calculating bit rates.
Address / General Call
Figure
received
Direction
Own
TWBR6
Yes
R/W
Arbitration lost in SLA
6
0
SLA
19-21. Possible status values are given in circles.
Write
Read
TWBR5
No
R/W
5
0
TWBR4
R/W
4
0
68/78
38
B0
Arbitration lost in Data
ATmega164P/324P/644P
TWBR3
TWI bus will be released and not addressed slave mode will be entered
A START condition will be transmitted when the bus becomes free
Data byte will be received and NOT ACK will be returned
Data byte will be received and ACK will be returned
Last data byte will be transmitted and NOT ACK should be received
Data byte will be transmitted and ACK should be received
R/W
3
0
Data
TWBR2
R/W
2
0
TWBR1
R/W
1
0
“Bit Rate Generator
TWBR0
R/W
0
0
STOP
TWBR
235

Related parts for ATmega324P Automotive