advertisement
4.6
Illuminance [lux]
500
600
700
800
900
1000
ADC input [V]
1.1750
1.4100
1.6450
1.8800
2.1150
2.3500
Illuminance
Office lighting
Office lighting
Office lighting
Office lighting
Office lighting
Overcast day
Board controller
The Atmel AT32UC3B1256 board controller and the Atmel ATxmega32E5 are connected through TWI, SPI, and
USART interfaces. All interfaces can be used to communicate between the devices, but only the USART is implemented by default on the board controller.
Table 4-7. ATxmega32E5 and board controller communication interface.
Interface
UART RX
(1)
UART TX
(1)
TWI SCL
(2)
TWI SDA
(2)
SPI SS
(3)
SPI MOSI
(3)
SPI MISO
(3)
SPI SCK
(3)
ATxmega32E5 pin
PD6
PD7
PC1
PC0
PC4
PC7
PC6
PC5
Atmel AT32UC3B1256 pin
PA24
PA23
PA09
PA10
PA16
PA14
PA25
PA17
Notes:
1. This represents the RX and TX on the ATxmega32E5. The RX is connected to TX on the other device, and vice versa.
2.
3.
These TWI signals can be reconnected by placing a 0 ohm resistor or a solder drop on R408 and R409 footprints.
These SPI signals can be reconnected by placing a 0 ohm resistor or a solder drop on R410, R411, R412 and R413 footprints
Atmel AT02667: XMEGA-E5 Xplained Hardware User’s Guide [APPLICATION NOTE]
42084A −AVR−04/2013
11
5.
Code Examples
The example application is based on the Atmel AVR Software Framework that is included in Atmel Studio 6. The AVR
Software Framework can also be found as a separate package online at: http://www.atmel.com/tools/avrsoftwareframework.aspx
.
For more information about the code example, see the application note Atmel AT02657 XMEGA-E5 Xplained Software
Users Guide.
The Atmel AT32UC3B1256 board controller is also pre-programmed with a bootloader and an USART-to-USB gateway application which can be used to communicate with the target controller ATxmega32E5.
Atmel AT02667: XMEGA-E5 Xplained Hardware User’s Guide [APPLICATION NOTE]
42084A −AVR−04/2013
12
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 4 Preprogrammed firmware
- 4 Power supply
- 5 Measuring the Atmel AVR XMEGA power consumption
- 5 Communication through the USART-to-USB gateway
- 5 Programming the kit
- 6 Programming headers
- 6 I/O expansion headers
- 9 Mechanical buttons
- 9 Quadrature encoder
- 9 OLED display
- 10 Analog I/O
- 10 Ambient light sensor
- 11 Board controller
- 13 Revision history of the document
- 13 Revision history of the kit