Home
Philips MIIC-201D/U User's Manual
Contents
1. llus 2 IPort Utility Pack Software xau ve eats oe ES ERG C WR SEx ICs YE sx 3 iPort Software Development Kit for Windows lt lt lt eee eee 3 Packe SUD oue R vie que ol eae bh are Darna Bees ee ee 3 System ROquitemients irs ore a be ree a dee bee Bare wg 3 2 AIETCOMNE CIS 1 A da T RT QT ET 3 DSDCODBEGIOF quais woe bate bpm ee o Send Pubs Dens ue pt oA 4 Virtual Communications Port VCP 2 momo 4 TOV DC POWI Kur lho dec a ote nt Bd det d Estee toi me AR tuii a 4 FC Interface Connector qoe best ade che M dude e Eva A Me a 4 3 Hardware Configuration io ae eoe da Ae pee tesa eee bee eee 6 Pull pResistOEbS aia a ids aeg bea rd m Pedo ny oto SE 6 Connecting to a 3 3 Volt Target System lt lt lt lt lt lt lt lt lt lt lt lt 6 Connecting to an SMBus Target System 2 6 4 ESD Electrostatic Discharge Precautions 0 0 cece eee eee 7 Host Computer Grounding 2 6 ec 204 wes Re ee eee eee ee ew ee 7 Grounding Solutions s sestien ma vs ets eie a A 8 gt Hardware Set pueda A EM DRESSER E Seb is 8 Part 2 iPort Utility Pack for Windows 0000 eee 11 Port Utility Pack for Windows eens 13 Port Messages Genter id A a durar A A iecur eda 13 iPort Message Manager oos vae ra Men x a ES Mam ERE Sur 14 2 System Requirements is veria eee emo e 15 3 Port Utility Pack Installation corro a nc a dE uA V 15 Installing roms Dos a Moda ies edem
2. Main Application 17 4 1 3 Select the Communications Port Use the ComPort control to select the communication port connected to the PC adapter If an Port USB or Port DLL USB is selected the serial number for the adapter is displayed Win 2000 XP only In addition to legacy RS 232 ports and Virtual Communication Ports Message Center supports USB and network connected local or remote RS 232 ports via the Windows Com driver 4 1 4 Options Menu Use the Options menu to override default Baud Rate and PC Bus Clock rate settings Default settings and options are adapter dependant 4 1 5 Establish Adapter Communications Link Establish the communications link to the C adapter by clicking the Open Link button The Message Center sets the adapter s own C Slave address to OXFE Once the link has opened successfully you are an active C node I C messages entered into the message spreadsheet can be transmitted upon request If the link open is not successful follow the on screen directions Make sure the communications port is working is enabled in the Windows Device Manager and is not being used by other software 4 1 6 Entering or Editing C Messages PC messages can be entered with the Message Editor or a previously recorded message list can be loaded from the File menu To enter or edit a message open the PC Message Editor screen by double clicking on a message row in the spreadsheet 12C Message Editor Qu
3. ComPort Settings Advanced Setup Diagnostic Setup ComPort iPort s Own I2C Slave Address iPort Log File Level SC Cio ca os 9 e 70 M General Call Log File Name LOG COMI TXT Enabled C Disabled I2C Bus Master Bit Rate Log File Size Lines 1000 C 12 5 KHz 100 KHz d ig Y OK I2C Bus Time Out msec 1000 X Cancel Diagnostic Set Up Screen 5 1 3 3 Diagnostic Setup on supported adapters On the Diagnostic Set up screen you can set the following parameters Log File Level A log file is available for troubleshooting communication problems between the host computer and the I C adapter The log file is an ASCII text file viewable with any text editor Select logging level Level 1 provides minimum information Level 4 provides maximum information Log File Name Specify a log file name Unless a path is specified the log file will be created in the current working directory Log File Size Specify log file length in lines The log file overwrites earlier entries upon reaching the specified number on lines 32 5 1 4 Sending IC Messages 5 1 4 1 Master Operations 5 1 4 1 1 Specifying the Destination Address The Destination Address is the I C slave address of the slave device being addressed on the bus All slave addresses are displayed as even numbers 00 FE representing the 7 most significant bits of the 8 bit slave address transmitted on the bus aaaa aaa0 The PC adapter automatically
4. If you get a Slave Not Acknowledging message in the Communications Events window this could mean you have the wrong address in the I C Destination Address or the device is not answering to its address Consult your slave device s data sheet for details 35 Negative Acknowledge Last Byte On supported adapters the doNak checkbox gives you the option to acknowledge or negatively acknowledge the last byte read from a slave device Some Slave Transmitter Devices require a negative acknowledgment on the final byte read from the slave device IFC adapters not supporting this option automatically negatively acknowledge the last byte read 5 1 4 1 6 Master Transmit and Receive The Master TxRx button sends a master write message with no Stop Condition immediately followed by a Repeated Start master read message with Stop 5 1 4 2 Slave Operations In addition to performing IC Bus master operations the Message Manager can also perform I C bus slave transmit and receive operations 5 1 4 2 1 Slave Transmit Data Slave transmit data is entered in the Slave Tx Message Bytes text box control on the main screen Data in this text box is automatically sent to a requesting master upon receiving a slave transmit request Like Master Transmit data Slave Transmit data is entered with the data editor To enter data to be transmitted click on the Slave Tx Message Bytes text box to open the data editor See Specifying Master Tx Message
5. Acknowledgment oo 25 Beep On Busy o ives dor ERR dos by v fora quaii qa tenes 25 Beep On Arbitration Loss lt eee 26 Beep On Slave Negative Acknowledgment 00 26 Beep On ANT Assert cus aer bete do ete Bv Hab ROPA 26 Load LC Message Dist Bile cete tad A tb Rie ad 26 Saved C Message List File lt 27 A Bd acp Ese us dtum Reap T select RM DL UNA 27 PAULO Send 3 aco phia dd Y ou EO A o fg 27 ndi m PT ha Bee ds ed a a Cane EE pio ah 27 5 iPort Message Manager A tii iS O O hd celiac Wedd O 28 Message Manager Operations uas nes ooh ee deere ee E E Nee 29 Starting the Message Manager 0 0 e cece eee eee eee 29 Select Hie Adapter ud z vns x vado dott ss amp eae Vo m a a E a eae a 20 Establish Adapter Communications Link 30 Basic SED d o ea ac Meudon Sey ee uestes o Ek 30 Advanced Setup ae d AAA eee e E UR 3 Adapter s Own PC Slave Address cece cece ee eee 31 General Call Brable uoces esed EYE vx es NX Ss dp p 31 IC Bus Master Bit Rate aia etre E sko db dunk S don eds 31 TC Bus Wine UD er oda ts vu ed o o G ono s 31 Enable INT Signal Monitor lees 3 Diagnostic Setup cir own x ex poe ed RAP ied a etude be a edt 92 L g Pile Weve ees stes te epo ee o erm ent 32 Log FileName estu sent e ea Se Ie D p dnte 92 EOS EL SITE cuan tt els ian wet a aren Sica in 32 Sending PC Messages 0 0c ccc ccc
6. Bytes section for data entry details 5 1 4 2 2 Slave Receive Data Data bytes received from a Master Transmitter are automatically displayed in the main application screen Received Message window Received data is displayed in ASCII printable or hexadecimal 00 to FF formats Use the Hex Display checkbox to force ASCII printable data to display in hexadecimal format 36 6 Uninstalling Software Components Software components include the iPort Utility Pack for Windows and for IPort USB and Port DLL USB users the Virtual Communications Port V CP Device Driver The following instructions can be used to remove either or both software components from your computer 6 1 Uninstalling iPort Utility Pack for Windows The iPort Utility Pack for Windows software is installed from the iPort Utility Pack for Windows CD To uninstall the software do the following Click Start Programs iPort Utility Pack Vx y Uninstall Follow the on screen instructions 6 2 Uninstalling iPort DLL USB VCP Device Driver NOTE Computers using Windows 98se or Windows ME may need to be operating in safe mode to complete this procedure See your computer s operating manual for safe mode entry procedures The iPort DLL USB VCP Device Driver is installed when the iPort DLL USB is first connected to the computer and the Windows Hardware Wizard completes the installation procedure To uninstall the driver and release assigned communication port
7. Volt Target System If you are connecting the PC adapter to a 3 3 volt target system you should follow these steps BEFORE applying power e Shut off the PC adapter s internal pull ups See Pull up Resistor section Use external pull ups to the target system s 3 3V power These pull ups may already be present in the target system e Disconnect the C connector 5V wire from the target system The IC adapter will be powered from its own 5V power supply and the target system will be powered by its own 3 3V power supply The FC adapter is a 5 volt device Any signal above 3 3V on the SCL SDA and INT lines is high enough for the adapter to see a Logical 1 3 3 Connecting to an SMBus Target System If you are connecting the C adapter to a SMBus target system you should follow these steps BEFORE applying power e Shut off the C adapter s internal pull ups See Pull up Resistor section e Use external SMBus rated appoximately15k ohms pull up resistors These pull ups may already be present in the target system e Visit our C versus SMBus FAQ page www mcc us com I2CSMBusFAQ htm e See the SMBus Specification for additional details Special Note for SMBus Users MCC s IC adapters are designed to be C Bus 6 compatible not SMBus compatible Some features of the SMBus protocol not supported include time outs device reset and Packet Error Check byte processing The non supported SMBus features may or may not permit the use of
8. from the IC adapter to a USB port on the host computer or self powered USB hub The iPort DLL USB operates as a bus powered USB device with limited target system power Additional target system power can be provided via an included external power supply 2 1 1 Virtual Communications Port VCP The iPort DLL USB provides a Virtual Communications Port VCP interface via a host computer driver Application programs running on the host computer communicate with the iPort DLL USB via the standard iPort DLL 2 2 5VDC Power Jack The iPort DLL USB is a bus powered USB device When deriving power from the Universal Serial Bus only a limited amount of power is available to a target system via 5V wire in the IC Interface Connector Additional power for a target system can be provided via the 5VDC Power Jack When connected to the 5 VDC Power Jack an external power supply will remove all target system power load from the USB and replace it with power from the external power supply See the Hardware Setup section for additional details 2 3 FC Interface Connector The FC adapter includes a four wire positive locking modular receptacle connector see Appendix A for interfacing to an external PC Bus Lines provided include C Clock SCL PC Data SDA Ground and 45V Minimum wiring for PC communications include C Clock Data and Ground 4 Use of the 5V wire in the IC Interface connector is optional Connect this wire to the target
9. message to be sent with a Repeated Start 33 5 1 4 1 3 Auto Repeat The situation often arises where you would like to automatically repeat a master message operation The Message Manager supports auto repeat with the Auto Repeat checkbox You can automatically repeat a master operation by checking the Auto Repeat control before clicking the Master Tx Master Rx or Master TxRx buttons The master operation repeats until the Auto Repeat control is unchecked 5 1 4 1 4 Master Transmitting Data Specifying Master Tx Message Bytes Master Tx Message Bytes is the ASCII or Hexadecimal data you want to transmit to a slave receiver device With the Message Manager entering master transmit data is easy On the main application screen click on the Master Tx Message Bytes box to open the data editor 4 Master Tx Data Edit Master Tx Message Bytes Enter ASCII Text or Hex 00 FF Data AA BB AA S5 AA BB AA SE J OK X Cancel In the data editor enter one or more ASCII text characters or hexadecimal data bytes Each hexadecimal byte is entered as two ASCII Hex characters 00 to FF preceded by a tilde character ASCII text and hex data can be intermixed as long as each hex byte is preceded by a tilde For example to enter hex data bytes 0x00 0x01 and 0x02 enter the characters 00 01 02 into the text box Each iPort Message Manager IC message can include up to 80 bytes of 8 bit ASCII binary data NOTE The data
10. od as hae enna tah Aro Vadis 15 Installing from the Wet se ad 15 4 iPort Message Center ade lera opta S Rao aqui Re ae ea ace dee ROS 16 Message Center Operations ss oes de dete e eoe dead bes 17 Starting the Message Center vaio diarias 17 Selecting the Adaptet sron a e EUER Renee Pee ee eee M t 17 Select the Communications Port 2 18 ODAS MENU 2412 acto II 18 Establish Adapter Communications Link 18 Entering or Editing C Messages lt lt lt lt lt eee eee 18 Set EC Aggie SS a teda datu et able e Du ae Mee A S 19 Set Message Read Write Direction 2 e eee eee eee 19 Specify Repeated Start Messages essa EXE XE E 19 Set Time Delay ook Ao o ede ta by at o A exor Bara du A 20 Specify Write Data or Read Byte Count ooo 20 Inserting and Deleting Messages 2 21 Saving or Loading Message Lists 2 oo 21 pend the Message Li a A AA Aa 21 Special Event Handling ri AAA A AA 21 Slave Not Acknowledging 2a ri cd de 22 Command Line Arguments A RE KO AS 23 Set Adapter Type so iris ut ed usce PORE EI deda ES MEE 24 Set RS 232 Communication Port 2 24 Set RS 232 Baud Ral ocean K Bena n A EER R la 24 Sec EC Bus Clock Rate ar bon tse p EE ET eae a Eri ett os 24 Enable INT Signal Monitor 2 en 23 MOP CIBUS V oto ea ace ua o vacas hee ene qus dre d 25 Stop On Arbitration Loss 42s ex cw eee REOR RIP 75 Stop On Slave Negative
11. of this product 5 Hardware Set Up This section provides information on connecting the IC adapter to your host computer and IC Bus target system Attach the iPort DLL USB adapter to a free USB port on your host computer or self powered USB hub If this is the first time the Port DLL USB is connected to the host computer the Windows Hardware Wizard will appear Follow the on screen directions The required driver files can be found in the root directory of the iPort Utility Pack for Windows CD and after iPort Utility Pack software installation in the installed iPortDLLUSB Driver folder NOTE The Hardware Wizard may run multiple times to install the iPort DLL USB VCP driver and the iPort DLL USB device If the Hardware Wizard warns that the driver files is not certified press continue 8 The Windows Hardware Wizard will assign the iPort DLL USB to a new communications port number You can find the ComPort number of the iPort DLL USB by running our Message Center or Message Manager software and selecting the iPort DLL USB device You can also find the ComPort number by expanding the Ports Icon in the Windows Control Panel System Device Manager application At this time you can install the iPort Utility Pack software See the installation instructions in Part 2 iPort Utility Pack for Windows of this User s Guide 2 Connect the PC Bus cable to the C adapter and your PC device You can make this connection with the incl
12. the C adapter in your SMBus application Consult the MCC FAQ web page and SMBus Specification for details 4 ESD Electrostatic Discharge Precautions Electrostatic discharge is defined as the transfer of charge between bodies at different electrical potentials Electrostatic discharge can change the electrical characteristics of a semiconductor device degrading or destroying it Electrostatic discharge also may upset the normal operation of an electronic system causing equipment malfunction or failure When connecting the PC adapter to a host computer and a target system extreme care must be taken to avoid electrostatic discharge Failure to follow ESD protection procedures when using the I C adapter could damage the host computer PC adapter or the target system and void product warranty coverage 4 Host Computer Grounding Case 1 Desktop and Single board Computers The chassis on a desktop or single board host computer must be connected to earth ground to comply with safety regulations If the computer chassis is NOT connected to earth ground for some reason 1 e use of a two prong power mains plug the host computer power supply ground will float to some unknown voltage potential Case 2 Laptop Computers Laptop computers present special ESD problems Most laptop computers use an external double insulated mains power supply which is NOT connected to the mains earth ground This means that the laptop chassis is floating at
13. 3 Micro Computer Control Corp iPort Message Center SCROLLIML x ni x File Options Help MCC Quick Start ue Port Message Center a Open Link Send Close Link Auto Repeat Msg Address RWV Message Data Bytes op Delay msec m 2 2 2 22 22 2 2 22 2 28 3 mo HS IS IS A I IK IK IK IK I IK I lt IK lt lt Bg 2000000000000000 Ae ls Status e lt Link open O ComPort Device Select Stop On Beep On C Port C iPor USB Busy Busy iPort DU iPort AFM C Variable C iPort Al Refresh Sue 0000100 Arb Loss Arb Loss Slave Nak Slave Nak Main Application The Port Message Center allows a PC to become an PC Master transmitter or receiving device sending C messages between the PC and one or more IC devices across an IC Bus The iPort Message Center is designed to be a simple application for experimenting with PC messages It provides methods to po Enter Edit a list of PC Master Transmit or Receive Messages Save and or Load a list of C Master messages to from disk 3 Transmit the current list of PC Master messages with the option to auto repeat upon completion send on INT signal assertion with INT signal supported adapters only and beep or stop on special PC Bus events 4 Use command line arguments to automatically load send and save FC messages from a batch file or another program ps Each PC message can transfer up to 32 byt
14. Data ASCII Text or Hex 00 FF 0001 02 DeviceSelect C Port C iPort Al C Variable C iPort AFM iPort DU C iPort USB Open i Main Screen 29 5 1 3 Establish Adapter Communications Link On the main screen click the Open button to view the Set Up Screen Three levels of setup options are available Basic Advanced and Diagnostic Only Basic setup is required iPort Message Manager Setup Quick Start ComPort Settings ComPort Serial Port Settings Advanced Setup Diagnostic Setup Basic Set Up Screen 5 1 3 1 Basic Setup Use the ComPort control to select the communication port connected to the PC adapter If an Port USB or Port DLL USB is selected the serial number for the selected adapter is displayed Win 2000 XP only In addition to legacy and Virtual RS 232 ports Message Manager supports USB and network connected local or remote RS 232 ports via the Windows Com driver Select from the list of available baud rates Then click OK After a few moments the Communication Events window on the Main Application screen should report IC Open Successful If open is not successful follow the on screen instructions Make sure the communications port is working is enabled in the Windows Device Manager and is not being used by other software Additional communication port open information is available in the log file See Diagnostic Setup options 30 iPort Message Man
15. DefaultZOFF Generate a host computer beep if the adapter returns a Slave Not Acknowledging response to the host computer Slave Not Acknowledging occurs when the adapter is attempting to become a bus master and no slave device acknowledges the transmitted slave address 4 2 12 Beep On INT Assert BeepOn INT on INT supported adapters only Default OFF Generate a host computer beep if the adapter returns an INT Signal Assert response to the host computer INT Signal Assert occurs if INT Signal Monitoring is enabled and a high to low transition is detected on the adapter INT signal connector 4 2 13 Load PC Message List File AutoLoad filename AutoLoad file name filename iml file name iml Automatically open file with extension IML and load messages into Message Center spreadsheet 26 4 2 14 Saved FC Message List File AutoSave filename AutoSave file name Automatically save message list to the specified file upon executing AutoExit Use to save message data read from a slave transmitter device 4 2 15 Auto Open AutoOpen Auto Open Link to C Adapter Open link to the adapter 4 2 16 Auto Send AutoSend Auto Send IC Message List Send PC messages loaded with the AutoLoad command 4 2 17 Auto Exit AutoExit Auto exit after sending the message list Message Center will auto exit after sending the last message in the C message list 27 5 iPort Message Manager The Port Message Manager supports I C M
16. M iPot DU C iPort USB Slave Tx Message Data ASCII Text or Hex 00 FF 00 01 02 Assert NT Release JN Open i 14 2 System Requirements One of the following MCC C Bus adapters N OSU d 0 iPort USB MIIC 204 USB to PC Bus Host Adapter iPort AFM MIIC 203 RS 232 to PC Bus Host Adapter with ASCII Fast Mode Interface iPort AI KMIIC 202 RS 232 to PC Bus Host Adapter with ASCII Interface iPort HMIIC 201 Windows to PC Bus Host Adapter Variable Clock Rate HMIIC 201 V PC Bus Host Adapter iPort DLL USB MIIC 201D U FC Bus Host Adapter Windows 95 OS or higher Windows 98se 2000 XP or higher for iPort USB and iPort DLL USB One free RS 232 Serial Port or USB port for iPort USB and iPort DLL USB 3 1Port Utility Pack Installation 3 3 52 Installing from CD Insert a software distribution CD into your CD drive If the install program does not start automatically select Start Run and type D SETUP EXE Click OK Follow instructions on screen Installing from the Web Visit MCC s web site www mcc us com and click on the Upgrades Updates link 1 Follow the instructions listed on the Upgrade Update web page 4 iPort Message Center The Port Message Center supports I C Master Transmit and Master Receive activities for all MCC FC Bus host adapters With this program you can create save and execute scripts of IIC Master messages
17. See command details below Command Line Syntax imsgctr exe AdapterType argument list Example imsgctr exe iPort AFM adctestO1 iml AutoOpen AutoSend AutoExit 23 4 2 1 Set Adapter Type 1Port USB 1Port USB MIIC 204 1Port AFM iPort AFM MIIC 203 iPort AI iPort AI MIIC 202 iPort iPort 4 MIIC 201 Variable Variable Clock MIIC 201 V iPortDLL USB Port DLL USB MIIC 201D U The Adapter Type argument should be the first argument in the argument list as it controls the availability of other arguments If the Adapter Type is not specified the startup adapter selection screen will be presented 4 2 2 Set RS 232 Communication Port 1 Available ComPort Default COM1 COM40 Set the RS 232 communications port attached to the C adapter 4 2 3 Set RS 232 Baud Rate BAUD19200 Default BAUDS7600 Port AFM or iPort USB ONLY BAUD115200 iPort AFM or iPor USB ONLY Set the RS 232 Baud Rate 4 2 4 Set C Bus Clock Rate CLOCKI2 5K iPort and iPort DLL USB ONLY CLOCK23K iPort AFM and iPort USB ONLY CLOCKS6K iPort AFM and iPort USB ONLY CLOCKIOOK iPort iPort AI iPort AFM iPort USB Port DLL USB Default CLOCK400K iPort AFM and iPort USB ONLY VCLOCK nnnHz Variable ONLY nnn 451 57787 Set the C Bus Clock Rate to the specified value The defaults rate for the Variable Clock adapter is 451Hz The Variable Clock adapter does not support all rates 24 within the specified range The Message C
18. User s Guide ORI DLL USB PC Host Adapter with iPort Utility Pack Software Micro Computer Control Small Area Network Specialists WWW nmcc us com Introduction The MCC iPort DLL USB to FC Host Adapter HMIIC 201D U allows any Windows 98se 2000 XP or higher PC with a free USB port or self powered USB hub to become an C Master or Slave device transmitting or receiving C messages between the PC and one or more I C devices across an I C Bus This user s guide describes the installation and operation of the iPort DLL USB FC Bus host adapter and the iPort Utility Pack Software for Windows Are you new to C Want to know more We suggest you review What is PC at www mcc us com I2CBusTechnicalOverview pdf MCC products use Philips components and are licensed to use the PC Bus Purchase of Philips PC components conveys a license under the Philips PC patent to use the components of the PC system provided the system conforms to the PC specifications defined by Philips PC is a trademark of Philips Corporation 09 JAN 07 Copyright 2006 by Micro Computer Control Corporation All rights are reserved No part of this publication may be reproduced by any means without the prior written permission of Micro Computer Control Corporation PO Box 275 Hopewell New Jersey 08525 USA DISCLAIMER Micro Computer Control Corporation makes no representations or warranties with respect to the contents hereof and s
19. ager Setup Guick Start ComPort Settings Advanced Setup ComPort iPort s Own I2C Slave Address BA BC 70 i Eng 0000101 General l Call Refresh Enabled Disabled 120 Bus Master Bit Rate d 100 KHz C 23KHz 400 KHz C 86 KHz I2C Bus Time Out msec 1000 Enable INT Monitor Serial Port Settings Advanced Setup Diagnostic Setup Advanced Set Up Screen 5 1 3 2 Advanced Setup On the Advanced Setup screen you can set the following parameters Adapter s Own IPC Slave Address Select the C adapter s own slave address The adapter will acknowledge messages sent to this slave address The default address is Ox6E General Call Enable General Call Enable allows the I C adapter to respond as a slave receiver to the PC General Call Address 0x00 General Call is used by a master to broadcast an PC message to multiple devices The default value is enabled PC Bus Master Bit Rate Select C Bus speed during master operations 100kHz is standard mode 400kHz is fast mode Available rates are I C adapter dependant PC Bus Time Out Specify how long the PC adapter will wait before reporting an PC Bus inter byte time out 0 no time out 1 to 32767 milliseconds iPort AI fixed at 1 second Enable INT Signal Monitor on supported adapters Enables monitoring of the INT signal state INT state changes are reported in the main screen Communications Events window 3l iPort Message Manager Setup Quick Start
20. aster and Slave Transmit and Receive activities for all MCC IPC Bus host adapters allowing a PC to become an FC Master or Slave device transmitting or receiving PC messages between the PC and one or more I C devices across an IC Bus igi x File View Options Help Quick Start T MCC iPort Message Manager a Communication Events Opening Link Please wait Open Successful Port Address is Ox6E Target Address is Ox6E u I2C Destination Address Master Tx Message Data ASCII Text or Hex 00 FF 68 a 00 01 02 LIE BA E F dostop _Mastertx e i T Auto Repeat Master TxRx Received Messages v Hex Display z DeviceSelect Bytes to am 7 doStop TERNOS C iPort C iPon Al Master Rx v doNak C Variable iPort AFM Port DU iPort USB Slave Tx Message Data ASCII Text or Hex 00 FF 00 01 02 Assert NI Release INT Main Application The Message Manager is designed to be a simple application for experimenting with PC messages Message Manager provides methods to 1 Set the PC adapter s own PC Slave address General Call Enable and other operating parameters Master Transmit ASCII text or Hex 00 FF data to a specified IC Slave Receiver device Master Receive data from a specified PC Slave device Perform Master Read after Write operations Slave Transmit data to a requesting C Master device Display Master or Slave Receive data
21. available from MCC MCC Part CABA IC Interface Cable 48inches Aft MCC Part CAB8 IC Interface Cable 96 inches 8ft MCC Part CABIO PC Interface Cable 192 inches 16ft MCC Part CABCL PC and SMBus Clip Lead Cable 40 Declaration of Conformity This Declaration of Conformity is issued by the indicated company which is solely responsible for the declared compliance Product s iPort USB and iPort DLL USB Product Part Number s MIIC 204 and MIIC 201D U Product Description I2C Bus Host Adapter Applicable Directive s EC Directive 89 336 EEC Compliant Standards EN 55022 1998 Emissions Standard Conducted Emissions Class B Radiated Emissions Class B EN 55024 1998 Immunity Standard Immunity to Radiated Electromagnetic Fields Immunity to Fast Transient Bursts AC Power Lines Immunity to Conducted Field AC Power Lines Immunity to Voltage Dips AC Power Lines Immunity to Electrostatic Discharge Test Laboratory Information Cass Industries Ltd Blackbrook Trading Estate Weybrook Road Manchester M19 2QD ENGLAND Test Report Number CI02780 Test Report Date April 6th 2006 Technical file held by Micro Computer Control Corporation 17 Model Avenue PO Box 275 Hopewell New Jersey 08525 USA or its applicable authorized distributor or representative Responsible Company Micro Computer Control Corporation 17 Model Avenue PO Box 275 Hopewell New Jersey 08525 USA or its applicable authorized di
22. ccc hn 33 Master Operations ds taras wht eee da OR Wa oru mee ee Se hee Rees 33 Specifying the Destination Address 0 0 cece eee eee eee 33 Repeated Start Messages k a ir thane Reese Pare nie en asa dawns 33 Alto Repeat 2d exi sna haai ae Sos AA us 34 Master Transmitting Data ap acti DS EE et Wr ds 34 Specifying Master Tx Message Bytes 00 0 e eae 34 Sending Master Transmit Messages mmm 35 Master Receive Data ise Uster A Pe eae seed UEM ER 35 Specifying Data to Read oe bk vob ree e Roe edet ha 35 Negative Acknowledge Last Byte o o oooooooooooooooo 36 Master Transmit and Receive i666 4 c00 486 na 36 Slave Operations a Geena Ree Vade Pa qe haad ed xa deae 36 slave Transimit Data ar e AUR PRO E VR RIEN 36 Slave Receive Data toos dert eoe ee S Eu S tuve d a er 36 6 Uninstalling Software Components en 37 Uninstalling iPort Utility Pack for Windows 2 37 Uninstalling iPort DLL USB VCP Device Driver 37 iPort DLL USB Revision Report oo 39 Additional Information 0 0 eh 39 Appendix A PC Connector Information 0 000000 40 Part 1 iPort DLL USB EC Bus Host Adapter Part 1 ORI DLL USB FC Bus Host Adapter User s Guide Model MIIC 201D U Overview The MCC Port DLL USB I C Bus Host Adapter MIIC 201D U allows any Windows 98se 2000 XP or higher PC with a free USB port or self power
23. ed USB hub to become an C Master or Slave device transmitting or receiving IC messages between the PC and one or more IC devices across an PC Bus iPort DLL USB Product Features e Compatible with existing iPort FMIIC 201 applications Upgrade existing iPort applications from RS 232 to USB No software changes required Windows DLL Application Program Interface API Compatible with Windows 98se 2000 XP or higher based PC Compatible with USB 2 0 Specifications e Supports IC Bus Master and Slave Transmit and Receive operations e User Selectable Master IC bit rates of 12 5 KHz and 100 KHz e Compatible with 3 3V to 5V C Bus voltages e Includes switch enabled internal PC Pull Up resistors Includes our free C Message Center and Message Manager Windows Applications Get on the IC Bus in Seconds Includes our easy to use Virtual Communications Port VCP driver The FC adapter system consists of the following components 1 1 iPort DLL USB FC Bus Host Adapter The iPort DLL USB adapter is a bus powered USB device that plugs into a host computer s USB port or self powered USB hub and generates C Bus signals 1 2 Port DLL USB Virtual Communications Port VCP The Port DLL USB Virtual Communications Port VCP driver creates a virtual serial port within the Port DLL USB device To a Windows software application the VCP looks just like a legacy serial communications port allowing standard Port DLL programming
24. enter will adjust the specified rate to the nearest available supported rate 4 2 5 Enable INT Signal Monitor Monitor INT on INT supported adapters only Default OFF Enable INT signal monitoring 4 2 6 Stop On Busy StopOnBusy Default OFF Stop sending IC messages if the adapter returns a Busy response to the host computer 4 2 7 Stop On Arbitration Loss StopOnArbLoss DefaultZOFF Stop sending C messages if the adapter returns a Bus Arbitration Loss response to the host computer Bus Arbitration Loss occurs when another IC Bus master wins arbitration while the adapter is attempting to become a bus master 4 2 8 Stop On Slave Negative Acknowledgment StopOnNak DefaultZOFF Stop sending I C messages if the adapter returns a Slave Not Acknowledging response to the host computer Slave Not Acknowledging occurs when the adapter is attempting to become a bus master and no slave device acknowledges the transmitted slave address 4 2 9 Beep On Busy BeepOnBusy Default OFF Generate a host computer beep if the adapter returns a Busy response to the host computer 25 4 2 10 Beep On Arbitration Loss BeepOnArbLoss DefaultZOFF Generate a host computer beep if the adapter returns a Bus Arbitration Loss response to the host computer Bus Arbitration Loss occurs when another C Bus master wins arbitration while the adapter is attempting to become a bus master 4 2 11 Beep On Slave Negative Acknowledgment BeepOnNak
25. es of 8 bit data with Repeated Start and Time Delay options 16 4 Message Center Operations Communicating with another device on the IC Bus is easy Just install the software as described in Section 3 then follow these simple steps 4 1 Starting the Message Center Click Start Programs iPort Utility Pack iPort Message Center 4 2 Selecting the Adapter Select the I C adapter you are using by clicking the corresponding adapter image see Opening Screen or the Device Select checkbox see Main Application Screen Micro Computer Control Corp iPort Message Center CC iPort Message Center Micro Computer Control Small Area Network Sj sts TC Bus Host Adapter Port For Variable Clod Rate na Select Your IC Bus Host Adapter o TM fc is justa mouse click away Opening Screen 4 Micro Computer Control Corp iPort Message Center SCROLLIMU S Ioj x File Options Help MICC Quick Start ite iPort Message Center Send Close Link Auto Repeat Msg Address RAW Message Data Bytes op Delay msec lt lt lt lt lt lt lt lt lt lt lt lt lt lt lt y 2 S 2 2 2 3 2 2 2 2 3 3 Z Z 3 zl 4R Status ksnk S ComPort Device Select Stop On Beep On C iPort C iPart USB Busy Busy iPort DU C iPort AFM C Variable C iPort Al SN 0000100 Arb Loss J Arb Loss Slave Nak J Slave Nak
26. ick Start 12C Address Msg Direction do Stop Delay msec C Read Yes m 04 X Write C No 100 y Write Parameters Enter 0 or more bytes of Hex 00 FF Data to Send to Slave a gt X Cancel Use the C Message Editor to 1 Set C Address The PC Address is the I C slave address of the slave device being addressed on the bus All slave addresses are displayed as even numbers 00 FE representing the 7 most significant bits of the 8 bit slave address transmitted on the bus aaaa aaa0 The PC adapter automatically supplies the 8 least significant Read Write bit when it sends the slave address across the bus For master write operations the Read Write bit is always transmitted as a logical O aaaa aaa0 For master read operations the Read Write bit is always transmitted as a logical 1 aaaa aaal Use the C Address control to set the slave address of the slave device you want to address on the bus 2 Set Message Read Write Direction As a bus master device the PC adapter can write data to or read data from any device on the bus Use the Msg Direction control to specify if the current message is a master write or master read operation Upon making your selection additional Write or Read parameters appear 3 Specify Repeated Start Messages PC Bus communications support an operation called Repeated Start In this operation a message is sent across the bus beginning with a Start Condition but with
27. in hexadecimal or ASCII Display PC Bus communication events Assert or release the INT signal on supported adapters only N 00 10 tn AKU 28 5 1 Message Manager Operations Communicating with another device on the IC Bus is easy Just install the software as described in Section 3 then follow these simple steps 5 1 1 Starting the Message Manager Click Start Programs iPort Utility Pack iPort Message Manager 5 1 2 Select the Adapter Select the PC adapter you are using by clicking the corresponding adapter image see Opening Screen or the Device Select checkbox see Main Screen Micro Computer Control Corp iPort Message Center ICC 1Port Message Manager Micro Small Area Network Specialists Porr DC Bus Host Adapter Variable Clod Rate Select Your 12C Bus Host Adapter I E n TM rc is justa mouse click away us Opening Screen 3 Micro Computer Control Corp Port Message Manager zl x File View Options Help Quick Start UN MCC Port Message Manager C Communication Events Opening Link Please wait Open Successful Port Address is Ox6E Target Address is Ox6E El I2C Destination Address Master Tx Message Data ASCII Text or Hex 00 FF 68 aj 00 01 02 BA BC F dostop _ MasterTx sl Auto Repeat MSSIGETARA Received Messages IV Hex Display H SERE e M doSto Master Rx i p Master Rx v doNak Slave Tx Message
28. methods to work unchanged No special USB programming is required The Port DLL USB VCP is available to the host computer whenever the Port DLL USB is attached to the host computer 1 3 Port Utility Pack Software This free software package includes the Port Message Center and Message Manager applications to help you easily send and receive PC Bus messages 1 4 Port Software Development Kit for Windows This optional software package includes e Port DLL Dynamic Linked Library for Windows e Programmer s Guide e Sample Application Programs This iPort Software Development Kit for Windows is only needed if you are developing a custom Windows software application for the Port DLL USB Find additional sample programs and complete projects on our web site s Sample Program page 1 5 Packing Slip This package includes the following items e Port DLL USB FC Bus Host Adapter MIIC 201D U USB Interface Cable e IC Clip Lead Cable e C Interface Cable e Port DLL USB User s Guide this document e Port Utility Pack for Windows CD Global Power Supply Optional supplement power for target system 1 6 System Requirements a A host computer with one free USB port or self powered USB hub b Windows 98se 2000 XP or higher 2 Interconnects The iPort DLL USB includes three interconnections USB Connector 45VDC Power Jack I C Interface Connector 2 1 USB Connector The USB connector provides connection
29. numbers do the following Click Start Control Panel Add or Remove Programs iPort DLL USB I2C Host Adapter Follow the on screen instructions 37 38 iPort DLL USB Revision Report This section defines revisions and changes made to the iPort DLL USB interface Revision 1 00 Initial Release Additional Information For additional information on the C Bus please refer to the following What is PC www mcc us com I2CBusTechnicalOverview pdf Frequently Asked Questions FAQ www mcc us com faq htm The PC and How to Use It www incc us com i2chowto htm 80C51 Based 8 Bit Microcontroller Data Handbook Philips Semiconductors Tel 800 227 1817 IC Peripherals for Microcontrollers Data Handbook Philips Semiconductors Tel 800 227 1817 39 Appendix A PC Connector Information Interface Connector and Plug Information MCC uses two 2 different connectors and plug assemblies We have found these parts to be compatible PC Receptacle Connectors Molex SEMCONN ACCESS bus Receptacle Connector Molex Part 15 83 0064 AMP SDL Shielded Data Link Connectors for ACCESS bus AMP Part 4 943197 1 PC Plug Connectors Molex SEMCONN ACCESS bus Plug Molex Part 15 83 1564 AMP SDL Shielded Data Link Plug for ACCESS bus Bush Amp Part 520851 1 Ferrule Amp Part 520433 1 SDL Shell Amp Part 520461 1 SDL Shell Amp Part 520460 1 SDL Amp Part 4 520424 1 The following IC Cables are
30. out a Stop Condition at the end of the message The next message sent 19 across the bus begins with a Start Condition in this case a Repeated Start An C Bus master that successfully sends a message on the bus owns the bus until that master sends a message with a terminating Stop Condition The Repeated Start operation allows the bus master to retain control of the bus while sending one or more messages on the bus This prevents other bus masters in a multi master system from accessing the bus and interfering with message sequences The Message Center supports Repeated Starts with the doStop control Sending an C message with doStop enabled will cause the message to be terminated with a Stop Condition Sending an PC message with doStop disabled will cause the message to end without a Stop Condition allowing the next message to be sent with a Repeated Start Set Time Delay Message Center supports time delays after the completion of a message Time delays can be used to synchronize or sequence bus messages with the activity of external devices Specify Write Data or Read Byte Count Enter the hexadecimal data you want to write to a slave receiver device or the number of data bytes to read from a slave transmitter Message Center supports up to 32 bytes of 8 bit data per message NOTE The data you send may have special meaning to the receiving slave device but to the Message Center and the PC adapter message data has no s
31. pecial meaning Consult your slave device s data sheet for details Click OK to accept the message and enter it into the spreadsheet Master Write messages display the message data in the spreadsheet Master Read messages display OxFF placeholders in the spreadsheet Upon execution actual data received from a slave transmitter replaces the placeholders in the message spreadsheet Repeat above steps for additional messages The Message Center supports up to 32 000 messages in a list 20 4 1 7 Inserting and Deleting Messages You can insert a new message between existing messages by clicking once on a message below where you want to insert then press the Insert key on your keyboard The Message Editor also remembers the last message displayed so double clicking on a blank spreadsheet row will allow you to copy a message Delete a message by single clicking on the message row and pressing the Delete key on your keyboard 4 1 8 Saving or Loading Message Lists Message Center C message lists can be saved to or loaded from a disk file To save the current message list click FilelSave on the menu bar To open an existing message list click FilelOpen List on the menu bar Message lists are maintained in ASCII text files IML that can be edited manually or created with a customer developed program See message list files for details 4 1 9 Send the Message List An PC message list can be sent manually or automatically in respon
32. pecifically disclaims any implied warranties of merchantability or fitness for any particular purpose Further Micro Computer Control Corporation reserves the right to revise the product described in this publication and to make changes from time to time in the content hereof without the obligation to notify any person of such revisions or changes WARNING Life Support Applications MCC products are not designed for use in life support appliances devices or systems where the malfunction of the product can reasonably be expected to result in a personal injury WARNING Radio Frequency Emissions This equipment can radiate levels of radio frequency energy that may cause interference to communications equipment Operation of this equipment may cause interference with radio television or other communications equipment The user is responsible for correcting such interference at the expense of the user WARNING Electrostatic Discharge ESD Precautions Any damage caused by Electrostatic Discharge ESD through inadequate earth grounding is NOT covered under the warranty of this product See the Electrostatic ESD Precautions section of this guide for more information Printed in the United States of America Table of Contents Part 1 iPort DLL USB TC Bus Host Adapter 0005 1 E O a W oues Ok goats Eau a A Dai RE LE un 2 iPort DLL USB I C Bus Host Adapter 2 iPort DLL USB Virtual Communications Port VCP
33. se to an INT signal assertion with INT signal supported adapters only To send the list manually click the Send button on the main application screen To send the list in response to an INT signal assertion low enable the INT Signal Monitoring checkbox and check the Send on INT checkbox The list will be sent each time the INT signal is asserted The Message Center also supports the repeated sending of a message list If the Auto Repeat checkbox is checked a message list will automatically repeat upon completion 4 1 10 Special Event Handling The Message Center supports the early termination of a message list and beep on special events See the Stop On and Beep On controls on the main application screen of available options 21 4 11 Slave Not Acknowledging If you get a Slave Not Acknowledging message in the Status window this could indicate you have the wrong address in the PC Destination Address or the device is not answering to its address Some slave devices temporarily stop acknowledging their address Consult the slave device s data sheet for details 22 4 2 Command Line Arguments The Message Center can be controlled via command line arguments This feature allows the Message Center to be accessed from a batch file or another program Message Center Command Line Arguments iPort USB iPortDLL USB CLOCK100K CLOCK400K VCLOCK Exit after sending message list Adapter specific commands
34. some unknown voltage potential In either case upon connection to the FC adapter and the target system the host computer will discharge energy through its serial port to the I C adapter and on to the target system This discharge could damage the host computer IC adapter and the target system 4 2 Grounding Solutions To avoid damage to the host computer PC adapter or target system follow these instructions Wear an earth grounded wrist strap or discharge any static charge build up when handling the IC adapter or any target system devices Ensure that both the host computer and target system are connected to a common earth ground point Make sure that all interconnections are made BEFORE applying power to the host computer IC adapter and target system If you are using a laptop computer or host computer that is NOT connected to mains earth ground make a hard wired connection from the host computer 1 e port connector shell and the target system ground connector to a common earth ground point Avoid plugging and unplugging system components while the host computer or target system is powered Ensure that any devices connected to the target system are properly grounded to the common earth ground point e If unsure how to properly ground system components seek electrical expert help WARNING Any damage caused by Electrostatic Discharge ESD through inadequate earth grounding is NOT covered under the warranty
35. stributor or representative Signature of Authorized Representative Name Edward Thompson Title President Micro Computer Control Corporation Date 09 JAN 07 41
36. supplies the 8 least significant Read Write bit when it sends the slave address across the bus For master write operations the Read Write bit is always transmitted as a logical 0 aaaa aaa0 For master read operations the Read Write bit is always transmitted as a logical 1 aaaa aaal On the main screen use the C Destination Address list control to set the slave address of the slave device you want to address on the bus 5 1 4 1 2 Repeated Start Messages PC Bus communications support an operation called Repeated Start In this operation a message is sent across the bus beginning with a Start Condition but without a Stop Condition at the end of the message The next message sent across the bus begins with a Start Condition in this case a Repeated Start An PC Bus master that successfully sends a message on the bus owns the bus until that master sends a message with a terminating Stop Condition The Repeated Start operation allows the bus master to retain control of the bus while sending one or more messages on the bus This prevents other bus masters in a multi master system from accessing the bus and interfering with message sequences The Message Manager supports Repeated Starts with the doStop checkbox Sending an I C message with doStop checked will cause the message to be terminated with a Stop Condition Sending an I C message with doStop unchecked will cause the message to end without a Stop Condition allowing the next
37. system to power the target system from either USB derived power Maximum available target system power is 100 ma at 5V 2 A 5VDC Power Jack connected external 5V regulated power supply Maximum available target system power is 250 ma at 5V 43271 SCL 5 SDA GND Receptacle Connector An PC Clip Lead cable is provided to connect the C adapter to a target system Each clip lead is clearly marked CZSCL V 5 VDC D SDA G Ground An PC Interface Cable White SCL Red 5VDC Green SDA Black Ground is also provided to connect the FC adapter to an external C Bus Since there is no standard I C Bus connector you may want to cut off one end of the cable and add a connector compatible with your target system Additional I C Interface Cables 4 ft 8 ft or 16 ft and modular connectors are available from MCC Additional Clip Lead cables are also available see Appendix A 3 Hardware Configuration 3 Pull up Resistors PC Bus systems are based on open collector technology requiring pull up devices on each signal wire These pull up devices usually take the form of pull up resistors connected to bus power The FC adapter includes a slide switch used to enable or disable internal 5VDC PC Bus 1 8K ohm pull up resistors attached to the SCL SDA and INT lines Every I C Bus system must have at least one pull up on the signal lines Use this switch to configure the pull up resistors for your system 3 2 Connecting to a 3 3
38. ty includes e Master Transmit e Master Receive w Micro Computer Control Corp iPort Message Center SCROLLIME E m nmi xj File Options Help MCC Quick Start te iPort Message Center c Open Link Send Close Link Auto Repeat Msg Address RAV Message Data Bytes Stop Delay msec 2Z22222z2zz22z222222 lt lt RREEEEEREEEEKEERK Y AIR Status Link Opens ComPort Device Select Stop On Beep On C Port C iPort USB Busy Busy Pon DU iPort AFM Arb Loss Arb Loss C Variable C iPort Al Slave Nak Slave Nak wt 0000100 13 2 iPort Message Manager The Port Message Manager operates with all versions of our C Bus Host Adapters Using the Message Manager you can perform all four 4 modes of C Bus message activity including Master Transmit Master Receive Slave Transmit Slave Receive Acl x File View Options Help Quick Start MIN MICC iPort Message Manager e Communication Events Opening Link Please wait Open Successful Port Address is Ox6E Target Address is Ox6E H I2C Destination Address Master Tx Message Data ASCII Text or Hex 00 FF 68 aj 00 01 02 EE F dostop _MasterTx Y Hex Display T Auto Repeat Master TxRx Received Messages JE DeviceSelect Bytes to h 7 doStop ESSE C iPort C iPort Al Master Rx Y doNak C Variable iPort AF
39. uded FC Clip Lead cable or PC Interface Cable The FC interconnect includes a 5V wire You may not need to or want to connect the 5V wire to your target system Refer to the 5VDC Power Jack and Hardware Configuration sections for details on pull up resistors and connecting the optional 5V wire 3 Optionally connect the external power supply to the power jack C adapter power is derived from the USB with a limited amount of power available to the target system via the PC connector Use of the external power supply provides additional power to the target system via the PC connector See 5VDC Power Jack section for additional details If you have any questions on I C adapter setup and configuration please contact our technical support department via our web site 10 Part 2 iPort Utility Pack for Windows Part 2 iPort Utility Pack for Windows V5 4 12 iPort Utility Pack for Windows The Port Utility Pack for Windows is your express lane to C Bus communications The Utility Pack includes two 2 Windows based applications Message Center and Message Manager that will help you get started sending and receiving PC Bus messages quickly and easily 1 1 iPort Message Center The iPort Message Center our most popular application operates with all versions of our C Bus Host Adapters With the Message Center you can create save and automatically execute scripts of PC Bus messages IC Bus message activi
40. you send may have special meaning to the receiving slave device but to the Message Manager and the PC adapter message data has no special meaning Consult your slave device s data sheet for details 34 Click OK to accept the data Sending Master Transmit Messages Click the Master Tx button to write the specified Master Tx Data Bytes to the selected destination slave device If Auto Repeat is checked the message will automatically repeat upon completion The Communications Events window on the main screen should report Master Tx Complete If this message does not appear check the slave device address connections and power If you get a Slave Not Acknowledging message in the Communications Events window this could mean you have the wrong address in the PC Destination Address or the device is not answering to its address Consult your slave device s data sheet for details 5 1 4 1 5 Master Receive Data Specifying Data to Read On the lower part of the main screen set the Bytes to MasterRx edit box to the number of bytes you want to read For example Set this to 1 to read a single byte Click on the MasterRx button to read the data from the selected slave device Data received from the slave is displayed in the Received Messages text box on the main screen The Communications Events window should report Master Rx Transfer Complete If this message does not appear check the slave device address connections and power
Download Pdf Manuals
Related Search
Related Contents
Sony DS11iP Parce que je ne connais pas le chemin Wholehog 3 v2.0 Release Notes New Features TROUBLESHOOTING DIAGNOSIS (TIRES/WHEELS) Mode d`emploi Instrucciones de servicio - Ströter Antriebstechnik GmbH 取扱説明書 (2.77 MB/PDF) Terraillon Fitness Coach Premium Akurate DS installation manual Copyright © All rights reserved.
Failed to retrieve file