Electronic Components Datasheet Search |
|
TSYS01 Datasheet(PDF) 6 Page - Humirel |
|
TSYS01 Datasheet(HTML) 6 Page - Humirel |
6 / 9 page MEAS TSYS01 DCS FOR ZedBoard Digital Temperature Sensor SENSOR SOLUTIONS /// MEAS TSYS01 DCS DEVELOPMENT KIT 07/2016 Page 6 Running the Console Application The console application is intended to demonstrate the required operations when using the sensor. a. The TSYS01 software must have an I2C address set or it may not function. Do this by selecting (1) BEFORE performing any other options. b. Second, after startup, it is a good idea to reset the sensor. This puts it in a known state. Do this by selecting (2) in the console application. c. Each sensor is tested at the factory to determine the variation of the sensor due to fabrication. Calibration coefficients are stored in the device at that time for later use in calculating the correct output. These coefficient values must be read from the device and stored in software variables before temperature measurements can be taken. Do this by selecting (3) in the console application. Now the sensor and the software are setup. These first three steps only need to be performed once at power up. d. The console application option (4) reads the temperature once. e. The console application option (5) reads the temperature 20 times at approximately two measurements per second and displays them to the screen in real time. Application Code This section is intended to provide a basic example of functionality. /* * Copyright (c) 2009-2012 Xilinx, Inc. All rights reserved. * * Xilinx, Inc. * XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS" AS A * COURTESY TO YOU. BY PROVIDING THIS DESIGN, CODE, OR INFORMATION AS * ONE POSSIBLE IMPLEMENTATION OF THIS FEATURE, APPLICATION OR * STANDARD, XILINX IS MAKING NO REPRESENTATION THAT THIS IMPLEMENTATION * IS FREE FROM ANY CLAIMS OF INFRINGEMENT, AND YOU ARE RESPONSIBLE * FOR OBTAINING ANY RIGHTS YOU MAY REQUIRE FOR YOUR IMPLEMENTATION. * XILINX EXPRESSLY DISCLAIMS ANY WARRANTY WHATSOEVER WITH RESPECT TO * THE ADEQUACY OF THE IMPLEMENTATION, INCLUDING BUT NOT LIMITED TO * ANY WARRANTIES OR REPRESENTATIONS THAT THIS IMPLEMENTATION IS FREE * FROM CLAIMS OF INFRINGEMENT, IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS FOR A PARTICULAR PURPOSE. * */ /* * MEAS_TSYS01_Main.c: Console Application for Testing the TSYS01 * * This application configures UART 16550 to baud rate 9600. * PS7 UART (Zynq) is not initialized by this application, since * bootrom/bsp configures it to baud rate 115200 * * ------------------------------------------------ * | UART TYPE BAUD RATE | * ------------------------------------------------ * uartns550 9600 * uartlite Configurable only in HW design * ps7_uart 115200 (configured by bootrom/bsp) */ #include <stdio.h> #include <unistd.h> #include "platform.h" #include "xparameters.h" #include "tsys01.h" #define XPAR_AXI_IIC_JC_BASEADDR XPAR_IIC_0_BASEADDR void tsys01_main_menu(void); int main() { char key_input; char prom_read_flag=0; int i; tsys01_status stat; float temperature; |
Similar Part No. - TSYS01 |
|
Similar Description - TSYS01 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.COM |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
Family Site : ic2ic.com |
icmetro.com |