Chapter 6, Atmel microcontroller, Temperature sensing and reporting – Achronix Speedster22i HD1000 Development Kit User Guide User Manual
Page 55: Power measurement and reporting, Embedded control, Controller, Chapter 6 – atmel microcontroller

UG034, July 1, 2014
55
Chapter 6
– Atmel Microcontroller
You can use the on-board, Atmel Atmega2560 microcontroller (MCU) for monitoring and
control functions.
Temperature sensing and reporting
Power measurement and reporting
Temperature Sensing and Reporting
The MCU monitors the temperature of the HD1000 using the Maxim device, MAX6642 (U37).
This device asserts an alarm signal when the HD1000 operating temperature increases above
the set threshold. Figure 9 shows the connections between the HD1000 (U33), the MAX6642
and the MCU (U35). Table 23 shows the pin connections to drive the alert signal to the
microcontroller.
Table 23: Over-temperature Alert Circuitry Pin Connections
MAX6642 (U37)
Atmega2560 (U35)
Signal Name
Pin
Signal Name
Pin
SDA
5
AVR_SDA
44
SCL
4
AVR_SCL
43
ALERT#
6
TS_INTN_2
46
Power Measurement and Reporting
There are current sense resistors on the board to assist in the monitoring of the power
consumption by several of the functional blocks on the HD1000.
Embedded Control
You can use the MCU for embedded control. For example, you can use the over-temperature
alarm to power-down the board in the correct sequence. Achronix provides the firmware for
these functions pre-programmed in the MCU FLASH.
Initializing the board