Operating Instructions Evaluation Board for dbc Operation with RS232 or SPI Interface

Similar documents
C8051F700 Serial Peripheral Interface (SPI) Overview

RS232-ADC16/24 Manual

Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide

< W3150A+ / W5100 Application Note for SPI >

Read section 8 of this document for detailed instructions on how to use this interface spec with LibUSB For OSX

Amarjeet Singh. January 30, 2012

Product Family Specification

ArduCAM-M-2MP Camera Shield

HP channel analog to CAN (mode = 0) or 6/8 key inputs to CAN (mode = 1)

PARALLEL COMMUNICATIONS

DSP240-LPI Inverter Controller Card. Technical Brief

ARDUINO MICRO PINS associated functions

Arduino Uno R3 INTRODUCTION

PIC Serial Peripheral Interface (SPI) to Digital Pot

ACU6. Technical Reference Manual. Specifications Interfacing Dimensions. Document topics. ANSARI Controller Unit Type 6 technical reference manual

Lecture 25 March 23, 2012 Introduction to Serial Communications

R1M-GH THERMOCOUPLE & DC INPUT MODULE MODEL. Remote I/O R1M Series. (16 points)

EPT-200TMP-TS-U2 TMP102 Temperature Sensor Docking Board Data Sheet

Serial Adapter for I 2 C / APFEL and 8 channel DAC ASIC

PAJ7025R2: Multiple Objects Tracking Sensor Module

PRACTICAL DESIGN TECHNIQUES FOR SENSOR SIGNAL CONDITIONING

PIXI click PID: MIKROE Weight: 28 g

ECE Microcontrollers. Serial Peripheral Interface (SPI) & NRF24 Radio

BB-303 Manual Baseboard for TMCM-303

EMBED2000+ Data Sheet

Parallel Data Transfer. Suppose you need to transfer data from one HCS12 to another. How can you do this?

± 2g Tri-axis Accelerometer Specifications

An SPI Temperature Sensor Interface with the Z8 Encore! SPI Bus

Manual iaq-engine Indoor Air Quality sensor

Definition of PLR on the RS485-bus. Version 1.06

Conto D2 COMMUNICATION PROTOCOL CONTENTS 1.0 INTRODUCTION

SC1602LCPro-YG ( Yellow Green Backlight ) SC1602LCPro-B ( Blue Backlight ) Large Character Size ( 4.88x9.66 mm )

Interfacing to Digital Potentiometers

UM2091 User manual. EVAL-L9301 Demo board Hardware documentation. Introduction

USB-1208LS Specifications

Pridgen Vermeer Robotics Xmega128 Manual

Growing Together Globally Serial Communication Design In Embedded System

Real-Time Embedded Systems. CpE-450 Spring 06

RFID A1 Module User Manual V1.183

JED MICROPROCESSORS PTY LTD

SPI (Serial & Peripheral Interface)

C:\Users\jacob\Documents\MtSAC\ELEC74 Mt SAC - chipkit\homework Sheets.docx

UART TO SPI SPECIFICATION

Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso

Real Time Clock with Temperature Sensor and RS485/Modbus Comunications

AMS 5812 OEM pressure sensor with an analog and digital output

SPI Universal Serial Communication Interface SPI Mode

Explorer V1.20. Features

PmodJSTK2 Reference Manual. Overview. 1 Functional Descriptions. Revised July 19, 2016 This manual applies to the PmodJSTK2 rev. C

SPI Storm. Data sheet

IF96017 MODBUS COMMUNICATION PROTOCOL

KCD-HP. KCD-HP200x, 300X. [Figures] Top : 1% Sensor probe Bottom left : 10% / 20% Sensor probe Bottom right : Holding bracket(optional) Measurement

SC2004MBS 20x4 Characters MODBUS RTU Slave LCD

HTD series digital differential pressure sensors

Data sheet * * Digital 2-channel transmitter for direct connection to bus-capable automation devices. Design and mode of operation

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING MSC SYSTEMS ENGINEERING AND ENGINEERING MANAGEMENT SEMESTER 2 EXAMINATION 2016/2017

BIG8051. Development system. User manual

Technical Documentation

XS S ERIES TM PMB US TM O PTION C ARD

1 Principal Schematic for HTPA32x32d: Digital

Specification E2 Interface

AND9032. How to Read Temperature Through I 2 C Bus for NCT75-based Thermostat APPLICATION NOTE

SPI Xpress. Data sheet

Signal conditioning and filtering. Temperature Sensor. 1 SCK 3 MISO 4 MOSI 7 CSB Sensing element 2. Signal conditioning and filtering

ILI2312. ILI2312 Single Chip Capacitive Touch Sensor Controller. Specification ILI TECHNOLOGY CORP. Version: V1.03.

Supply voltage. Input current. Encoder supply. Memory SIMATIC S7-200, CPU 221 COMPACT UNIT, DC POWER SUPPLY 6 DI DC/4 DO DC, 4 KB CODE/2 KB DATA,

Data sheet CC 03, Commander Compact (603-1CC21)

NanoPower BPX. Datasheet High-capacity battery pack for nano-satellites

MODBUS Message Protocol MODEL FT3

Application Note. Interfacing the CS5521/22/23/24/28 to the 68HC05. Figure 1. 3-Wire and 4-Wire Interfaces

Revision History. Version Date Changes Error in PIN description SPI jack Initial version

OEM-ORP ORP. Reads mV mV. Range. 1 reading every 420ms. Response time. Any type & brand. Supported probes. Single point.

EA DOGS164x-A. INCL. CONTROLLER SSD1803A WITH SPI, I²C available at 1 piece! Switchable font height ACCESSORIES

Logosol Joystick Node LS-731

ISSI IS25C02 IS25C04 2K-BIT/4K-BIT SPI SERIAL ELECTRICALLY ERASABLE PROM FEATURES DESCRIPTION. Advanced Information January 2005

Product Specification

USER GUIDE EDBG. Description

DS1845 Dual NV Potentiometer and Memory

Introduction the Serial Communications Parallel Communications Parallel Communications with Handshaking Serial Communications

eip-24/100 Embedded TCP/IP 10/100-BaseT Network Module Features Description Applications

General information. Engineering with. Supply voltage. Load voltage L+ Input current. Power losses. Memory. Work memory.

DS28CM00. I²C/SMBus Silicon Serial Number

CW2013. Low-Cost 1s Fuel Gauge IC with Low-SOC Alert. General Description. Features. Applications. Order Information

ED1021 I/O Expander with UART interface & analog inputs

I2C-AO112DIx I2C-Bus 4-20mA Analog Output Boards Din-Rail supports

E2 Modbus RTU Register Map Revision History Version Comments Author Date 1.02 Previous version PAE 11/06/ Revised to new format PAE 09/03/09

Specifications minilab 1008

PCI Host Controller 14a Hardware Reference Release 1.2 (October 16, 2017)

More than Compatibility

CE4DMID01 COMMUNICATION PROTOCOL CONTENTS 1.0 INTRODUCTION

EE 456 Fall, Table 1 SPI bus signals. Figure 1 SPI Bus exchange of information between a master and a slave.

PAT9125EL: Optical Tracking Miniature Chip

I2C-OC805S, I2C-OC805SA I2C Bus 8-Output Open Collectors

SC5360B Manual SC5360B. 9.3 GHz Dual Channel Phase Coherent RF Downconverter. Core Module with USB and SPI

Data sheet CPU 115 (115-6BL02)

TSYS01-FAMILY Digital Temperature Sensors

DS1306. Serial Alarm Real Time Clock (RTC)

ATmega48/88/168 Development Board

SPI bus communication with LDE/LME pressure sensors

Introduction to I2C & SPI. Chapter 22

Transcription:

Operating Instructions Evaluation Board for dbc Operation with RS232 or SPI Interface Module type Interface Vb / Vout (max) dbc-120-3r RS232 1 [3.1 12.5]V / 120V dbc-220-3r RS232 1 [3.1 12.5]V / 220V dbc-380-5r RS232 1 [4.8 12.5]V / 380V dbc-120-3s SPI 2 [3.1 12.5]V / 120V dbc-220-3s SPI 2 [3.1 12.5]V / 220V dbc-380-5s SPI 2 [4.8 12.5]V / 380V 1: 9k6, 8-bit, no parity, 1 stop-bit, no flow control 2: SPI-slave, 4-wire serial bus operation Functions: RS232 version: Analog mode: Remote mode: Setting of Vout and TK using potentiometers. Setting of Vout and TK via the RS232 interface. The evaluation board (EVA board) allows the dbc module to be connected to a computer via the RS232 interface and controlled as described in the table of functions. Functions: SPI version: Analog mode: Remote mode: Setting of Vout and TK using potentiometers. Setting of Vout and TK via the SPI interface. The evaluation board allows the dbc module to be connected to a computer via the SPI interface. The EVA board is equipped with an RS232 <- > SPI converter, so that the SPI version of the dbc can communicate with a computer. 1

EVA-Board Pot: Vout HV setting at 25 C Pot: TK Vin Temperature compensation setting TK = [0 3] V EVA-board operating voltage Vin = [6..12] V Reverse voltage protected Regulated +5 V operating voltage for the HV supply Regulated +3.3 V supply for the Vout and TK pots R112 0 Ohm Connects the temperature sensor to the ADC of the HV module Temperature sensor Silicon diode Type BAV 102 RS232 Terminal interface RS232 driver for connection to a computer is included on the EVA board uc interface (C2 mode) Programming interface for the dbc and EVA board Firmware upload and debugging 2

SPI-Version EVA-board: RS232 to SPI 4-wire master and slave Master Device MISO MOSI SCK NSS Slave Device IO NSS dbc Slave Device Pin configuration for Master Device: MISO (Master In, Slave Out) MOSI (Master Out, Slave In) SCK (Clock) NSS Open Drain (Master Input) Push Pull Push Pull Push Pull 3

SPI Timing: Write Read It is necessary to always write and read 16 bits. The dbc module analyses 4 signals from the master. Data are read from the first two 8-bit blocks, then the dbc answers with 16-bit data. Write: SPI_Cmnd 4-Bit SPI-Data 12-Bit Read: Highbyte und Lowbyte A minimum delay of 3.3 µs is required between the write and read phases, to allow the write data to be evaluated by the µc. 4

Timing Diagram: Write-read-delay > 3.3 µs TCKH / TCKL TSE / TSD > 80 ns > 380 ns *max. SCK 7 Write-read-delay: A minimum delay of 3.3 µs is required between the write and read phases, to allow the write data to be evaluated by the µc. 5

EVA Board commands: SPI Terminal command Parameter Function spio scmd Y (see table of functions) Y = [0..127] (4-Bit) Transfers SPI data SPI commando data Z Z = [0..4095] (12-Bit) SPI data Port X X = [0..255] (8-Bit) Set port pins sckl X X = [0..223] (8-Bit) Set SPI CLK Ca. 200 khz 1.5 MHz Example: set HV (see table of functions) 16 bit write: scmd -> 4 bit / data -> 12 bit data 16 bit read: answer from dbc The following commands are must be entered to switch to remote mode: scmd spio 11 [Return or Enter] [Return or Enter] 6

Table of Functions: Function SPI command (2x 8 bit) Response Description U out @25 C scmd 8 High byte = 1000 yyyy High byte = 1000 yyyy Output voltage at 25 C and TK = 0 mv (e.g. APD data sheet Vop value) TK Wert scmd 4 High byte = 0100 yyyy High byte = 0100 yyyy TK value [mv] (V out @25 C + Temp * TK ) TEMP? scmd 2 High byte = 0010 yyyy High byte = 0010 yyyy Temp. Sensor readout (12 bit ADC value) HV? scmd 1 High byte = 0001 yyyy High byte = 0001 yyyy HV readout (12 bit ADC-value) Modul ON/OFF scmd 9 / 10 High byte = 1001 yyyy High byte = 1001 0000 (0x90) Low byte = 1001 0000 (0x90) Switch V out on or off High byte = 1010 yyyy High byte = 1100 0000 (0xA0) Low byte = 1100 0000 (0xA0) Remote-Mode ON/OFF scmd 11 / 12 High byte = 1011 yyyy High byte = 1011 0000 (0xB0) Low byte = 1011 0000 (0xB0) Switch between analog mode and remote mode High byte = 1100 yyyy High byte = 1100 0000 (0xC0) Low byte = 1100 0000 (0xC0) ERROR High byte = 1111 0000 (0xF0) Low byte = 1111 0000 (0xF0) BUS collision or buffer overrun Evaluation of Returned Values Function Range Evaluation TEMP? / scmd 2 (all dbc versions) HV? / scmd 1 dbc-380.. HV? / scmd 1 dbc-220. HV? / scmd 1 dbc-120. *resolution ±5% x = [0 0xffff] x = [0.4095] x = [0 0xffff] or x = [0.4095] x = [0 0xffff] or x = [0.4095] x = [0 0xffff] or x = [0.4095] Vtemp = x * 0.537 mv / digit Vtemp = [0..2.2] V HV = x * 110 mv / digit* HV = x * 60 mv / digit* HV = x * 30 mv / digit* 7

Temperature Measurement (Iref/Vtemp): TEMP? Example: BAV102 I ref : V temp : Constant current source (default 1mA) Si diode or temperature sensor Deviations from the absolute value may occur depending on the temperature sensor used. With an uncalibrated Si diode, a resolution of approx ± 1 C can be achieved. A calibrated diode in the range 1.8 mv/k 2.1 mv/k will allow a resolution of approx. 0.25 C. Reference current: constant current source ca. 1 ma Maximum voltage at the sensor: ca. 2.2 V Resolution 12 bit (0.537 mv/digit) Die sensor voltage may be read out using the TEMP? command. 8

RS232 Version dbc commands: RS232 version Function RS232 Command Description V out @25 C u_xxxx Output voltage at 25 C and TK = 0 mv (e.g. APD data sheet V op value) TK value t_xxxx Temperature compensation value [mv] (V out @25 C + Temp * TK ) TEMP? t_? Temperature sensor readout (12 bit ADC value) HV? v_? HV readout (12 bit ADC value) Module ON/OFF Remote mode ON/OFF Data out ON OFF m_1 m_0 r_1 r_0 d_1 ESC Switch output voltage on/off Switch between analog and remote mode Continuous readout:tk [mv] HV [0.1 * V] Temperature [0.1 * C] Help h? 9

Example: APD receiver with RS-232 interface 01/16 / V4 / IF / lce/dbc-series-evalboard-manual_e 10