| Electronic Components Datasheet Search |
|
MS5637 Datasheet(PDF) 2 Page - Humirel |
|
|
|||||||||||||||||||||||||||||
MS5637 Datasheet(HTML) 2 Page - Humirel |
|
2 / 9 page ![]() MEAS MS5637 DCS FOR ZedBoard Digital Pressure and Temperautre Sensor SENSOR SOLUTIONS /// MEAS MS5637 DCS DEVELOPMENT KIT 07/2016 Page 2 Drivers & Software Detailed example software and drivers are available that execute directly, without modification, on a number of development boards that support an integrated or synthesized microprocessor. The download contains several source files intended to accelerate customer evaluation and design. The source code is written in standard ANSI C format, and all development documentation including theory/operation, register description, and function prototypes are documented in the interface file. Functions Summary Enumerations enum ms5637_status { ms5637_status_ok, ms5637_status_i2c_transfer_error, ms5637_status_crc_error } enum ms5637_resolution_osr { ms5637_resolution_osr_256, ms5637_resolution_osr_512, ms5637_resolution_osr_1024, ms5637_resolution_osr_2048, ms5637_resolution_osr_4096, ms5637_resolution_osr_8192 } Functions void ms5637_init (u32) Initializes the AXI address of the AXI IIC Core and the internal resolution variable to ms5637_resolution_osr_8192 to reflect the sensor’s initial resolution value on reset. enum ms5637_status ms5637_reset (void) Sends I2C reset command to the MS5637 device. enum ms5637_status ms5637_read_prom (void) Reads the factory calibrated coefficients for use in temperature and pressure conversion. enum ms5637_status ms5637_set_resolution (enum ms5637_resolution) Read the user register from the device, modify its contents to reflect the resolution that is passed in to this function, and then write the updated user register value to the MS5637 device. enum ms5637_status ms5637_read_temperature_and_pressure (float* t, float* p) Send the I2C commands to start a temperature conversion, wait for completion, read the temperature value, start a pressure conversion, wait for completion, read the pressure value, and use the PROM coefficients to calculate compensated values. Project Setup This project is based on a ZedBoard. The FPGA hardware and the console application will be loaded via SD card. You will need: ZedBoard MS5637 sensor for Digilent Pmod™ board SD card ZedBoard power adapter USB-to-MicroUSB cable for UART communications A computer with a card reader to write to the SD card and to host a terminal emulator The following steps will guide you through setting up the hardware platform: 1. First, if you have not connected your computer to a ZedBoard of MicroZed device before, you will likely need to download and install the Silicon Labs CP2104 USB-to_UART driver. The setup guide for installing the driver can be found at the address below: http://www.zedboard.org/sites/default/files/documentations/CP210x_Setup_Guide_1_2.pdf 2. Next, attach the SD card to your computer via a card reader or through the built-in SD card slot. Download the “boot.bin” file that pertains to the MS5637 from the software link and copy it onto the SD card so that it is the only file present on the file system. ZedBoard, MicroZed and Digilent Pmod ™ are trademarks. |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | 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 |