ATxmega32D4 Atmel Corporation, ATxmega32D4 Datasheet - Page 212
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
ATxmega32D4
Manufacturer Part Number
ATxmega32D4
Description
Manufacturer
Atmel Corporation
Specifications of ATxmega32D4
Flash (kbytes)
32 Kbytes
Pin Count
44
Max. Operating Frequency
32 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
34
Ext Interrupts
34
Usb Speed
No
Usb Interface
No
Spi
4
Twi (i2c)
2
Uart
2
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
12
Adc Resolution (bits)
12
Adc Speed (ksps)
200
Analog Comparators
2
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
4
Eeprom (bytes)
1024
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
Yes
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.6 to 3.6
Operating Voltage (vcc)
1.6 to 3.6
Fpu
No
Mpu / Mmu
no / no
Timers
4
Output Compare Channels
14
Input Capture Channels
14
Pwm Channels
14
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATxmega32D4-AU
Manufacturer:
Atmel
Quantity:
123
Part Number:
ATxmega32D4-AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATxmega32D4-CU
Manufacturer:
Maxim
Quantity:
71
Company:
Part Number:
ATxmega32D4-MH
Manufacturer:
Atmel
Quantity:
1 910
Company:
Part Number:
ATxmega32D4-MH
Manufacturer:
Atmel
Quantity:
1 704
Part Number:
ATxmega32D4-MH
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
18.12 Multi-processor Communication Mode
18.12.1
8210B–AVR–04/10
Using Multi-processor Communication Mode
A comparison of the USART in Master SPI mode and the SPI pins is shown
Table 18-5.
Enabling the Multi-processor Communication Mode (MPCM) effectively reduces the number of
incoming frames that has to be handled by the Receiver in a system with multiple MCUs com-
municating via the same serial bus. In this mode a dedicated bit in the frames is used to indicate
whether the frame is an address or data frame.
If the Receiver is set up to receive frames that contain 5 to 8 data bits, the first stop bit is used to
indicate the frame type. If the Receiver is set up for frames with 9 data bits, the ninth bit is used.
When the frame type bit is one, the frame contains an address. When the frame type bit is zero,
the frame is a data frame. The Transmitter is unaffected by the MPCM setting, but if 5- to 8-bit
character frames are used, the Transmitter must be set to use two stop bit since the first stop bit
is used for indicating the frame type.
If a particular slave MCU has been addressed, it will receive the following data frames as nor-
mal, while the other slave MCUs will ignore the received frames until another address frame is
received.
For an MCU to act as a master MCU, it should use a 9-bit character frame format. The ninth bit
must be set when an address frame is being transmitted and cleared when a data frame is being
transmitted. The slave MCUs must in this case be set to use a 9-bit character frame format.
The following procedure should be used to exchange data in Multi-processor Communication
mode:
Using any of the 5- to 8-bit character frame formats is possible, but impractical since the
Receiver must change between using n and n+1 character frame formats. This makes full
duplex operation difficult since the Transmitter and Receiver uses the same character size
setting.
1. All Slave MCUs are in Multi-processor Communication mode.
2. The Master MCU sends an address frame, and all slaves receive and read this frame.
3. Each Slave MCU determines if it has been selected.
4. The addressed MCU will disable MPCM and receive all data frames. The other slave
5. When the addressed MCU has received the last data frame, it must enable MPCM
MCUs will ignore the data frames.
again and wait for new address frame from the Master. The process then repeats from
2.
USART
XCK
RxD
TxD
N/A
Comparison of USART in Master SPI mode and SPI pins.
MOSI
MISO
SCK
SPI
SS
Comment
Master Out only
Master In only
Functionally identical
Not supported by USART in Master SPI
Table
XMEGA D
18-5.
212