SAMV71 Xplained Ultra Software Package 1.3

AFE temp sensor Example

Purpose

The example is aimed to demonstrate the temperature sensor feature inside the device. The channel 11 is connected to the sensor by default.

The temperature sensor provides an output voltage (VT) that is proportional to absolute temperature (PTAT). The relationship between measured voltage and actual temperature could be found in Electrical Characteristics part of the datasheet.

Usage

  1. Build the program and download it inside the SAM V71 Xplained Ultra board. Please refer to the Getting Started with SAM V71 Micro-controllers.pdf
  2. On the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:
    • 115200 baud rate
    • 8 bits of data
    • No parity
    • 1 stop bit
    • No flow control
  3. In the terminal window, the following text should appear (values depend on the board and chip used):
          -- AFE12 Example xxx --
          -- xxxxxx-xx
          -- Compiled: xxx xx xxxx xx:xx:xx --
    
  4. The application will output converted value to hyper-terminal and display a menu for user to show current temperature.

References

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines