Markus Hintermann Global Technical Marketing / Sales Manager at Micro Crystal

Similar documents
Errata Sheet RV-8803-C7

USB-to-I2C Basic. Hardware User s Manual.

USB-to-I2C. Ultra Hardware User s Manual.

USB-to-I2C. Professional Hardware User s Manual.

Win-I2CUSB Hardware User s Manual

AN10428 UART-SPI Gateway for Philips SPI slave bridges

SF100, SF200, SF300 Serial Flash Programming solutions

ic-msb EVAL MSB1D EVALUATION BOARD DESCRIPTION

SF100 programmer Serial Flash In System Programming solution

AK-DS2482S-100. Reference manual. Copyright 2016 Artekit Italy All rights reserved

EE100 EEPROM On Board and Off line Programmer Specification

Interfacing the NM24C16 Serial EEPROM to the microcontroller. Interfacing the NM24C16 Serial EEPROM to the 8031 Microcontroller AN-957

GIGAVAC Contactors I 2 C Communication

Application Note: AN0106. On-Board SPI Programming with Dediprog tools: End User Version

GRAVITECH GROUP

Micrel Serial Programmer (MICUSB)

Preliminary Data MOS IC. Type Ordering Code Package SDA Q67100-H5092 P-DIP-8-1

User Manual for TeraRanger Evo single point distance sensors and backboards

HDS Series I2C Application Notes

Evaluation Board for CS3308. Description CS Channel. Digitally Controlled Analog Volume Control. PC or External Serial Control Input

Table of Contents. 1. Introduction Getting Started Hardware Description Firmware Update More Information...

Application Note: AZD025 IQ Switch - ProxSense TM Series I2C Example Code for the IQS222

Logosol Joystick Node LS-731

User-configurable Resolution. 9 to 12 bits (0.5 C to C)

Hints and tips when using RC1xx0 RF Modules

Preliminary Data MOS IC. Type Ordering Code Package SDA Q67100-H5096 P-DIP-8-1

Eval Kit Manual. DN[Document ID] AS6200. Adapter Board AS6200-WL_EK_AB. ams Eval Kit Manual Page 1

DS WIRE INTERFACE 11 DECOUPLING CAP GND

User Manual for TeraRanger Evo single point distance sensors and backboards

OOB (1) Detection Module, With I 2 C Interface Accelerometer

Manual iaq-engine Indoor Air Quality sensor

MANHATTAN PROGRAMMING GUIDE IR38060/IR38062/IR38063/IR38064

DS1870 LDMOS BIAS CONTROLLER EV KIT

ZSSC4151 Evaluation Kit Hardware Manual

USB2I 2 C Programming Kit Quick-Start User s Guide

AN1656 APPLICATION NOTE

GT24C02. 2-Wire. 2Kb Serial EEPROM (Smart Card application)

User Manual. AS-Interface Programmer

AN510 Using SPI protocol with pressure sensor modules

Raystar Microelectronics Technology Inc.

GT34C02. 2Kb SPD EEPROM

Display Real Time Clock (RTC) On LCD. Version 1.2. Aug Cytron Technologies Sdn. Bhd.

MMC212xMG. Dual-axis Magnetic Sensor, With I 2 C Interface FEATURES. Signal Path X

DS2782EVKIT+ Standalone Fuel Gauge IC Evaluation Kit

Serial Peripheral Interface. What is it? Basic SPI. Capabilities. Protocol. Pros and Cons. Uses

Level Shifter. for. Hardware User s Manual.

1 General Description

Introduction to I2C & SPI. Chapter 22

WBI Series Mass flow sensors for gases

ORDERING INFORMATION. OPERATION Measuring Temperature A block diagram of the DS1621 is shown in Figure 1. DESCRIPTION ORDERING PACKAGE

CO 2 Sensor Evaluation Board EM7160

The EFM32 I2C module allows simple, robust and cost effective communication between integrated circuits using only one data and one clock line.

ijb Evaluation Kit Evaluation Kit for ijb Series Surface Mount Power Modules with PMBus Features Ordering Information

Web Site: Forums: forums.parallax.com Sales: Technical:

BV4626 General Purpose I/O. Product specification. Mar 2010 V0.a. ByVac Page 1 of 13

Fiber optic Switch. eol 1x2 1x4 2x2. eol 1x8 1x12 1x16 OPERATION MANUAL

TIM-UP 19k-S3-Spartan 6

USB-MPC with MDIO and I2C support User s Manual

I2C to DALI Interface

PI5USB30216C Plug-in Detector for Type-C Connector

User-configurable Resolution. 9 to 12 bits (0.5 C to C)

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT 1420A 12-PORT IEEE 802.3AT PSE INTEGRATED CONNECTOR MODULE (PSE-ICM)

EnerChip RTC Evaluation Kit CBC34803 Real-Time Clock with Integrated Backup Power. CBC-TAB Registers

BV511 Hardware Guide ByVac ByVac Revision 1.0

Level Translator For SPI and I²C Bus Signals

User Manual for TeraRanger Evo with: USB and I2C/UART backboard

THE INTERNATIONAL JOURNAL OF SCIENCE & TECHNOLEDGE

UM0401 User manual. User manual for eight bit port expander STMPE801 demonstration board. Introduction

FXL6408 Fully Configurable 8-Bit I 2 C-Controlled GPIO Expander

EV Evaluation System User Guide. Contents. Kit Contents. Introduction

SF100 Seriall Flash Programmer SF100 Serial Flash Programmer The Innovative solution to update the Serial Flash on board

User Manual for. TeraRanger Evo with: USB and I2C/UART backboard

DS1845 Dual NV Potentiometer and Memory

EVAL-ADG2128EB. Evaluation Board I 2 C CMOS, 8 12 Analog Switch Array with Dual/Single Supplies FEATURES DESCRIPTION

CDB5346. Evaluation Board for CS5346. Features. Description CS5346. Single-ended Analog Inputs. Single-ended Analog Outputs

AN2737 Application note Basic in-application programming example using the STM8 I 2 C and SPI peripherals Introduction

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

DVK kHz RFID Development Kit User Manual

Dual H-Bridge shield. Dual H-Bridge shield - board user manual. Shield for DC motor control with IFX9202. About this document.

MP1251/MP1252 SMBus Voltage Source

KNJN I2C bus development boards

Documentation For Melexis USB LIN master used in demo setups and development kits

Manual iaq-core Indoor Air Quality sensor module

PI4IOE5V bit general purpose outputs for 1MHz I 2 C bus

GWK5Mx 2.4GHz Wireless Audio Module

IOX-16 User s Manual. Version 1.00 April Overview

UM10766 User manual for the I2C-bus RTC PCF85263A demo board OM13510

FT24C K-bit 2-Wire Serial CMOS EEPROM. Description V. Self time write cycle with auto clear

SILICON MICROSTRUCTURES

17 Hatidhar st. Ra anana 43665, Israel Fax: Tel: UDEC-1. Universal Debug Center User Manual & Quick Start

ZSC31xxx / ZSSC3xxx. SSC Communication Board. Datasheet. Brief Description. Features. Benefits

GT24C WIRE. 1024K Bits. Serial EEPROM

XS S ERIES TM PMB US TM O PTION C ARD

Model JI-300 I2C Host Adapter

USB-I2C USB to I2C Communications Module Technical Specification

McuProg MCU On Board and Off line programmer

GPIO-MM User Manual. FPGA-based PC/104 Counter/Timer and Digital I/O Module. User Manual v1.04

DIN-RAIL EXPANDER int-iors_en 10/14

Low Voltage, 10-Bit Digital Temperature Sensor in 8-Lead MSOP AD7314

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

Transcription:

Markus Hintermann Global Technical Marketing / Sales Manager at Date: July 2016 Revision N : 1.0 1/8 Headquarters: AG Muehlestrasse 14 CH-2540 Grenchen Switzerland Tel. Fax Internet Email +41 32 655 82 82 +41 32 655 82 83 www.microcrystal.com sales@microcrystal.com

Content 1. Summary... 3 2. Key Functions... 3 2.1. Hardware: USB-I 2 C interface dongle... 3 2.2. Software... 3 3. Bridge circuit USB to I 2 C-Bus... 4 3.1. Circuit diagram of the dongle... 4 4. Installation... 5 4.1. Software Driver... 5 4.2. Hardware... 5 4.3. Software GUI... 5 5. Operation... 6 5.1. Procedure... 6 5.2. General USB I 2 C-Bus Commands... 7 2/8

1. Summary The growing number of features of Real-time Clocks can be optimally evaluated through an intuitive Graphical User Interface (GUI). To simplify the hardware setup offers a kit with the USB port to I 2 C-Bus dongle and a type specific RTC demo board. The GUI it is the straight forward approach for communicating with the RTC and monitoring all functions including register and flag settings. The string of applied I 2 C-Bus commands is reflected in real time as reference for the firmware development. A dedicated mask for communication with other I 2 C-Bus circuits is provided in addition. Features: Ready to run dongle establishing bidirectional USB to I 2 C-Bus translation. Three parallel wired I 2 C-Bus ports include also +5 V for supplying power to the demo board. USB and customized cables for the I 2 C-Bus are included 2. Key Functions 2.1. Hardware: USB-I 2 C interface dongle The dongle is a ready to run module. It creates a virtual COM-port via the USB connection. It provides three I 2 C-Bus connections with optional output of 5 V for powering up the application (max 450 ma). Power consumption: Module / total: <50 ma / max 500 ma I 2 C-Bus clock frequency: 245 Hz 400 khz USB driver for Windows: Windows XP, Windows 7, Windows 8 Size: 50 mm 40 mm 15 mm 2.2. Software The software control via a GUI allows a fast setup for communicating with the Real-Time-Clock module. Aside from the detailed GUI pages for the specific Real-Time Clocks, allows communicating with any I 2 C-Bus device by entering directly the data hex codes. Example: s 64 2A p Nomenclature: All terms are in hexadecimal format! s stands for the I 2 C START condition 64 for the slave address 2A for the first data byte to be sent p for the I 2 C STOP condition 3/8

3. Bridge circuit USB to I 2 C-Bus 3.1. Circuit diagram of the dongle The block diagram illustrates both connections: to the PC and to the application under evaluation. Fig. 1. Dongle block diagram The three connectors CON1, CON2, and CON3 are wired in parallel and carry the four required signals; their order is imprinted on the package: +5 V: Optional 5 V supply can be used. Total consumption of all 3 outputs must be kept below 450 ma. SCL: Serial Clock line * SDA: Serial Data line * GND: Ground *) : The pull-up resistors are located on the demo board Fig. 2. Interface to the RTC 4/8

Fig. 3. Interfacing low voltage RTC 4. Installation Use the following sequence: 4.1. Software Driver Install the USB software driver before connecting the interface module! Unpack the file: cp210x_vcp_win_xp_s2k3_vista_7_8_v6_6_1.zip Install the driver in administrator mode, by double click. 4.2. Hardware Connect the USB cable between the Dongle and your PC as well the as the I 2 C-Bus cable to your target RTC board. In case an external supply voltage is used make sure it is now turned on. The red LED will light up indicating the dongle successfully started up. The system is now ready for starting the GUI software. 4.3. Software GUI Installation of the GUI a) Run the exe file: USB-I2C-RTC_ RV_8803.exe (program name 8803 is RTC specific) b) The start window will pop op (Fig. 4) c) Choose the appropriate com-port from the drop down list (usually the last one on the list) d) Press Connect: Status changes to Connected to COMn and turns green Fig. 4. Start window of the GUI 5/8

5. Operation The Graphical User Interface is organized by a number of drop-down menus. Specific windows visualize the actual status and allow controlling the specific RTC-module. In a separate menu the GUI can be used as a universal I 2 C-Bus interface for controlling any peripheral circuit. Details under 5.2 5.1. Procedure The drop-down windows follow a general structure (Fig. 5 below) 1. Input fields to set e.g. the current time, to start transmission to the RTC press EXECUTE. 2. Output fields are updated after the READ button is pressed 3. Interactive knobs allow activating different functions or selecting specific parameters 4. Monitoring bus transmission: After every executed bus transmission the bus protocol is listed in the field Transmitted Data. Any data received by the controller is listed in the field Received Data. This is ideal for verifying the code needed for proper execution. Fig. 5. Structure of the GUI, example menu for Time, Alarm 6/8

5.2. General USB I 2 C-Bus Commands The Universal I 2 C interface allows controlling any circuit by entering directly the I 2 C-Bus instructions. Fig. 6. General USB-I 2 C-Bus interface a) There are 4 command lines A to D for preparing communication. The data format is straight forward I 2 C-Bus protocol: e.g.: for sending data: s 64 02 04 p press Send Command e.g.: for reading data: s 64 02 s 65 0A p: press Send Command setting address pointer, then reading 10 bytes (0Ah) (s = START, 64 = slave address, 02 04 = data, p = STOP) The command lines can be fired off once per click or repeatedly every 100ms, 1s, 2s, 10s. b) The string allows to sequentially firing the above command lines: e.g. A B B D C. When using fast repetition rate it is of good practice to increase the I 2 C-Bus speed. (Use the T400000 instruction for setting the bus speed to 400kHz, details are shown below under Additional instructions ) c) Reset functions can be executed d) Saving the actual configuration on the PC, including all settings on the RTC. Assign a specific name and select a directory. e) Reloading of stored settings to continue former tasks. Additional instructions: Space is ignored, letters can be in capital or small. Sequences like S6400P or S 64 00 p are interpreted identically S I 2 C-Bus Start condition, also for repetitive start condition P I 2 C-Bus-Bus STOP condition L n Inserts a delay of n ms: 1 to 65535ms (n= 0001 FFFF) T m Setting the I 2 C-Bus frequency: minimum 226Hz m= 000226, maximum 409.6kHz m= 409600? System status and settings are read from the dongle 7/8

Information furnished is believed to be accurate and reliable. However, assumes no responsibility for the consequences of the use of such information or for any infringement of patents or other rights of third parties which may result from its use. In accordance with our policy of continuous development and improvement, reserves the right to modify specifications mentioned in this publication without prior notice. This product is not authorized for use as critical component in life support devices or systems. 8/8