background image

 

 

NXP Semiconductors 

UM10789 

 

USB-I²C-bus dongle OM13518 with a GUI 

UM10789 

All information provided in this document is subject to legal disclaimers. 

© NXP B.V. 2014. All rights reserved. 

User manual 

Rev. 1 — 19 May 2014 

7 of 19 

 

5.  Features of the Graphical User Interface (GUI) 

The GUI can be used as a universal I

2

C-bus interface for controlling any peripheral 

circuit. Alternatively some specific windows are available e.g. for the Real-Time Clocks 

PCF85263 and PCF85363. 

5.1   Universal I

2

C-bus interface 

The Universal I

2

C interface allows controlling any circuit by entering directly the I

2

C-bus 

instructions. It is part of the Tab 

USB-I2C Commands

 

 

Fig 5. 

First Tab: USB-I2C commands  

 
Procedure and details: 

1.  Universal I

2

C-bus interface control, type in the following format: 

  Writing data, e.g.: 

s A2 28 04 p

 press 

Send Command

 

(

s

 = START, 

A2

 = slave address, 

28 04

 = data, 

p

 = STOP) 

  Reading data, e.g.: 

s A2 28 s A3 0A p

: press 

Send Command

 

setting address pointer, then reading 10 bytes (0Ah) 

2.  The sent data will be reflected in the field 

Transmitted Data.

 

3.  The read data bytes are listed in the field 

Received Data

4.  Configuration can be saved on the PC (see section 5.2.1)
5.  Configuration can be reloaded to continue with the used presetting for further tasks 

(see section 5.2.1.2)

Содержание OM13518

Страница 1: ...UI for the RTCs PCF85263 and PCF85363 Rev 1 19 May 2014 User manual Document information Info Content Keywords I 2 C bus computer control GUI RTC PCF85263 PCF85363 USB Abstract User manual for the uni...

Страница 2: ...is subject to legal disclaimers NXP B V 2014 All rights reserved User manual Rev 1 19 May 2014 2 of 19 Contact information For more information please visit http www nxp com For sales office addresse...

Страница 3: ...us are enclosed 2 Key features 2 1 USB I2 C interface module The OM13518 dongle is a ready to run module It creates a virtual COM port via an USB connection It provides three I2 C bus connections with...

Страница 4: ...ction between the PC USB port and the I2 C bus interface Fig 1 Simplified Block diagram of the OM13518 3 2 Interfacing I2 C bus peripherals The I2 C bus peripherals are connected directly with the I2...

Страница 5: ...t be used Fig 2 Interfacing to the I 2 c bus There is no need for external pull up resistors since 10 k pull ups are already built in the OM13518 dongle 4 Installation 4 1 Hardware and driver installa...

Страница 6: ...e with the dongle and with the PC and let the device to install Connect the I2 C bus cable to your application turn on the power in case an external one is needed 2 The red LED will light up to indica...

Страница 7: ...llows controlling any circuit by entering directly the I2 C bus instructions It is part of the Tab USB I2C Commands Fig 5 First Tab USB I2C commands Procedure and details 1 Universal I2 C bus interfac...

Страница 8: ...PCF85363 to follow 7 Hovering the mouse pointer over a function button tool tips will pop up for explanations 8 Pressing will open the list of possible options to select from Fig 6 Hovering the mouse...

Страница 9: ...reserved User manual Rev 1 19 May 2014 9 of 19 Fig 7 Window structure Time Alarms Timestamps 5 2 1 Save and read back the configuration 5 2 1 1 All the setting can be saved 1 Work with the GUI until...

Страница 10: ...ovided in this document is subject to legal disclaimers NXP B V 2014 All rights reserved User manual Rev 1 19 May 2014 10 of 19 Fig 8 Selecting the directory 3 If the GUI succeeds in writing the file...

Страница 11: ...XP B V 2014 All rights reserved User manual Rev 1 19 May 2014 11 of 19 File Format The file is written in standard XML format which almost all Operating Systems can read see Fig 10 Fig 10 XML format e...

Страница 12: ...ss OK see Fig 12 Fig 12 Confirmation window 5 3 Examples 5 3 1 Setting the clock and reading it 1 Perform a Software reset Reset tab function SWR see Fig 13 Fig 13 Reset of the software 2 Select menu...

Страница 13: ...sly read the time at about once every second see Fig 7 and Fig 14 There are options to change from 24 hour to 12 hour mode activate the 1 100s resolution and change the RTC from RTC mode clock mode to...

Страница 14: ...ocument is subject to legal disclaimers NXP B V 2014 All rights reserved User manual Rev 1 19 May 2014 14 of 19 2 Enable INTA for interrupt mode see Fig 16 Fig 16 Enable the INTA for interrupt mode 3...

Страница 15: ...uartz frequency offset correction The quartz crystals come with a tolerance of typical 20 ppm To correct the actual offset of the quartz in use take the following steps 1 Measure the frequency at CLKo...

Страница 16: ...ion provided in this document is subject to legal disclaimers NXP B V 2014 All rights reserved User manual Rev 1 19 May 2014 16 of 19 5 3 4 Dedicated drop down menus are integrated for e g Register ov...

Страница 17: ...ations and products using NXP Semiconductors products and NXP Semiconductors accepts no liability for any assistance with applications or customer product design It is customer s sole responsibility t...

Страница 18: ...ig 4 Start window of the GUI 6 Fig 5 First Tab USB I2C commands 7 Fig 6 Hovering the mouse pointer and drop down menus 8 Fig 7 Window structure Time Alarms Timestamps 9 Fig 8 Selecting the directory 1...

Страница 19: ...2 C bus peripherals 4 4 Installation 5 4 1 Hardware and driver installation 5 4 1 1 The box contains 5 4 1 2 Driver 6 4 1 3 Hardware 6 4 2 GUI Installation 6 5 Features of the Graphical User Interface...

Отзывы: