Temperature Sensor; Embedded Debugger Implementation; Jtag - Atmel ATMEGA256RFR2 Xplained Pro User Manual

Hide thumbs Also See for ATMEGA256RFR2 Xplained Pro:
Table of Contents

Advertisement

Table 4-12. RF connections
Pin on ATmega256RFR2
RFP
RFN
4.2.5

Temperature sensor

ATMEGA256RFR2 Xplained Pro features an Atmel AT30TSE758 temperature sensor chip with an 8kbit
serial EEPROM inside. The sensor includes programmable high and low temperature alarms, user-selectable
temperature resolution up to 12 bits, and an I2C/SMBus™ compatible serial interface.
Table 4-13. Temperature sensor connections.
AT30TSE758
temperature
sensor pin
1
2
3
4
5
6
7
8
1
Notes:
Alert pin is available on a testpoint hole close to the sensor.
The temperature sensor has two TWI addresses, one for the temperature sensor and one for the EEPROM.
The addresses are "0b1001 A2 A1 A0" for the temperature sensor and "0b1010 A2 A1 A0" for the EEPROM.
The address selection lines (A2, A1 and A0) of the temperature sensor chip is by default pulled high for A0 and
A1 and low for A2, through 100kΩ resistors, which makes the default addresses 0b1001011 and 0b1010011.
Soldering the the straps on the front of the ATMEGA256RFR2 Xplained Pro board for An will alter that bit in
the address to low or high. Each strap is marked in silkscreen with A0, A1 and A2 as shown in
"Temperature sensor TWI
as a page address, for more details see the device
Figure 4-1. Temperature sensor TWI address.
4.3

Embedded Debugger implementation

The ATMEGA256RFR2 Xplained Pro contains an Embedded Debugger (EDBG) that can be used to
program and debug the ATmega256RFR2 using JTAG. The Embedded Debugger also include a Virtual Com
port interface over UART, an Atmel Data Gateway Interface over SPI and TWI and it monitors four of the
ATmega256RFR2 GPIOs. Atmel Studio can be used as a front end for the Embedded Debugger.
4.3.1

JTAG

The JTAG use five pins to communicate with the target. For further information on how to use the programming
and debugging capabilities of the EDBG, see
5
http://www.atmel.com/Images/doc8751.pdf
Pin name
Pin on
ATmega256RFR2
SDA
PD1
SCL
PD0
1
ALERT
NC
GND
GND
A2
-
A1
-
A0
-
VCC
VCC
address.". When communicating with the EEPROM, part of the TWI address is used
"Embedded Debugger" on page
Atmel ATMEGA256RFR2 Xplained Pro [USER GUIDE]
RF balanced output (Positive)
RF balanced output (Negative)
Comment
Data line of serial interface
Clock line of serial interface
Temperature alarm signalling pin
Addres line for serial interface, by default pulled low
Addres line for serial interface, by default pulled high
Addres line for serial interface, by default pulled high
5
datasheet
.
6.
Figure 4-1,
14
42079C-MCU-05/2013

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ATMEGA256RFR2 Xplained Pro and is the answer not in the manual?

Questions and answers

Table of Contents