Home
MCC MIIC-203 User`s guide
Contents
1. 58 bxample OCC oeaatears qb vn ri Bard Grea eG eee Oa ae gere don Sao Red e 59 Wunde 50 iPort AFM Initialization llle 50 Master Transmit Messie aie Rr Reb ence eye eX I he ex oe RE Rs 50 Waster Receive Mesale Su ocomi viuda aqu doe pad wx Soda dici obs taeda 50 Communication Event Processing o o hn 60 iPort AFM Revision Report Additional Information Appendix A FC Connector Information Part 1 iPort AFM RS 232 to FC Bus Host Adapter Part Por AFM RS 232 to IC Bus Host Adapter with ASCII Fast Mode User s Guide Model MIIC 203 Overview The MCC iPort AFM RS 232 to IC Bus Host Adapter with ASCII Fast Mode MIIC 203 allows any PC Host Computer or Data Terminal to become an IC Master or Slave device transmitting or receiving FC messages between the PC and one or more I C devices across an IC Bus Product Features e Turn ANY Computer s RS 232 Serial Port into an IFC Port e Supports Bus Master and Slave Transmit and Receive and INT signal generation and detection e Compatible with 3 3V to 5V C at bit rates up to 400 KHz e High Performance IC Bus Co Processor e Optimized for Maximum Bus Throughput with Low Overhead e Get on the I C Bus in Seconds Includes our free C Message Center and Message Manager Windows Applications e Simple ASCII Text Commands makes building your own custom IC app
2. Slave Not Acknowledging Response 3 IS1 CR 1Port AFM is Busy Command Ignored Response 4 IS3 CR IC Arbitration Loss Detected Response 5 ISS CR 1Port Connection Not Open Default Setting None Examples Tabcd1234 CR ASCII Printable characters abcd1234 T 00 01 02 CR Binary data bytes 00 01 02 FT 00 01 02 CR Binary data bytes 00 01 02 with No Stop Tab 7Ecd CR Tilde embedded in ASCII Printable characters T12 0D24 CR Carriage Return embedded in ASCII Printable characters 48 Set C Bus Time oUt in msec Set bus time out in milliseconds The 1Port AFM reports a bus time out if no intra byte bus activity for the specified time occurs within an IC Bus message Command Unnnnn CR TC Bus time oUt nnnn 0 disable 32000 msec Response 1Port AFM Ready Default Setting 10000 msec 10 seconds Display Firmware Version requires firmware V2 00 Display firmware version Command V CR Firmware Version Response VCCXX XX CR Major XX XX Minor eXtended Commands requires firmware V2 00 The eXtended commands are used to generate out of spec signaling eXtended commands cannot use the adapter s I C hardware to control the SCL and SDA lines as the IC hardware only generates C compatible signals The eXtended commands use firmware to bit bang the SCL and SDA lines This firmware cannot operate as fast as the hardware and it can be interrupted at any time by adapter internal
3. K2 CR The iPort AFM FC Bus master clock rate is controlled by the frequency of the oscillator used in the adapter The oscillator frequency has been selected to give accurate RS 232 baud rates as the RS 232 baud rate must exactly match the rate used by the host computer Actual master I C clock rates are close to but not faster than the stated rates Slave I C clock rates are driven by the external master device with possible clock stretching as required to store or retrieve message data Command Menu Display Display iPort AFM s command menu Command M CR Command Menu Display Response iPor AFM Command Menu Syntax Select Optional xx 00 FE n 1 32767 Status Display B 01112 RS 232 Baud Rate Control 0219 2 1257 6 2 115 2KHz C Close I2C Connection Dxx Set Destination I2C Slave Address E 011 Echo Prompt Control 02Disable 1 Enable FTOII Flow Control O2XON XOFF 1 RTS CTS G OI 1 General Call Control 02Disable 1 Enable H OII Hex Only Display Control 02Disable 1 Enable Ixx Set 1Port AFM s Own I2C Slave Address K O1 11213 I2C Bus Clock Rate Control 0223 1286 22100 32400 KHz M Menu Display N OILIAIR iNterrupt Signal Monitor Control Status O Disable 1 Enable A Assert R Release lt CR gt Status 44 O Open I2C Connection Rn Master Rx Message No Stop S text Slave Tx Message yI tex Master Tx Message No Stop Un set I2C Bus Time o
4. No corrective action is taken by the iPort AFM regarding IC Bus activity No host computer response is required but this event can be used to detect possible bus problems iPort AFM Connection Closed Prompt ISS CR 1Port AFM Connection is Closed Cause The host computer is attempting to perform an I C Bus message operation while the 1Port AFM Connection is Closed The host computer should issue an Open FC Connection command before attempting to perform C Bus message operations Invalid Command Argument Prompt IS9 CR Invalid Command Argument Detected Cause This event normally indicates the value of a host command argument was out of range The host should reissue command with correct arguments Slave Transmit Request Not Active Prompt ISA CR Slave Transmit Request Not Active Cause This event indicates the host attempted to issue a Slave Transmit Text command when no Slave Transmit Request was present Invalid 1Port AFM Command Prompt ISF CR Invalid 1Port AFM Command Cause This event normally indicates that an invalid command was issued by the 55 host The host should reissue the correct command iPort AFM RS 232 Receive Buffer Overflow Prompt I90 CR 1Port AFM RS 232 Receive Buffer Overflow Cause This event normally indicates that data sent to the 1Port AFM via the RS 232 serial port has been lost Check the host computer s RS 232 Serial Port Flow Control XON XOFF or Hardware to make sure it
5. TextBox Text ISA Slave Tx Request Not Active Elself StrComp iPortResp I8F 0 Then TextBox Text ISF Invalid 1Port AFM Command Elself StrComp iPortResp I90 0 Then TextBox Text 190 1Port AFM Rx Buffer Overflow Else TextBox Text LineBuf Other Update Display End If LineBuf End If Wend End Sub 60 iPort AFM Revision Report This section defines revisions and changes made to the Port AFM interface Revision 2 00 1 Add Firmware Version command 2 Add eXtended commands 3 Add Tx bYte Count command Revision 1 02 Initial Release Additional Information For additional information on the I C Bus please refer to the following What is LC www mcc us com I2CBusTechnicalOverview pdf Frequently Asked Questions FAQ www mcc us com faq htm The C and How to Use It WWW mcc us com 12chowto 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 61 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 943 197 1 PC Plug C
6. iPort AFM RS 232 to C Bus Host Adapter 00 0000 cee eee 2 IPOort b trhby PACK SOLUWGLC 372 e Sor cot htt ante enean pcs Delia decane 2 IPort AEM Programmer s Reference a soc en b ee OHS ORS ACA eg s 2 Lac ene D rd odo be ee do dud pue Su ace dE a 3 System Requirements uo bd Rer RERO RR ORE AC Pd Rt letra 3 I EEEE E EE ES E E 6h sae 3 R5S 232 penal Port Connector o vario nn oe hide its na 3 DB S9 Serial Porm Pinout aorta RES REP EROR D et Ree tr e e e 4 IB Se tial POr NOU Por TT 4 PIVDC POW Ch O WR EESTI TITO TOT 1 LT ITI 4 IC Interface Connec eessen ed rcr vea quae ppp Ead ie E 4 Interrupt IN D S1enal COfIDOCLOFE urna 5 gt Hardware ConneurauOn au suene bp Er RR Gd Bea E ee e re eed 6 Pull up Ie SISEODS 2 0 ats 9 9 0 SURE ere ge cee pida 6 Connecting to a 3 3 Volt Target System ee ooo 6 Connecting to an SMBus Target System 0 0 0 0 cece eens 6 4 ESD Electrostatic Discharge Precautions 0 000 eens 7 Host Computer Groundin 2 ip neyee sed ace ERE bees ed 7 Groundin SONOS corsa Git o EAS eo Y eae eee wa aes 8 o Hardware Dele Dou etd E dur gos Eee eo bar aci ed vd ae SRE 8 Part 2 Port Utility Pack for Windows eee 11 Port Utility Pack for Windows oo oooooococoorocoooro ooo 13 IPON Messac e ODIGE aaa ee rota 13 Port Message Manat en evi aid a ic Rd ds 14 2 SIS REGUE MENS read psi A testi 15 gt 1POrc Ut
7. iPort Message Center a C iPort Message Manager Micro Ci Small rea Network Specialists LC Bus Host Adapter Fort PorAl AA A Select Your C Bus Host Adapter Sn TM lc is just a mouse click away 32 Opening Screen 4 Micro Computer Control Corp Port Message Manager e X Ele Options Help Quick Start M WIN CC Port AFM Message Manager us Communication Events Welcome to the Port Message Manager fa 2C Destination Address Master Tx Message Data ASCII Text or Hex 00 FF 68 aj 1 00 01 02 oc a Iv doStop a Auto Repeat Received Messages I Hex Display DeviceSelect C Port C jiPort Al iPaont AFM C Variable Main Application 28 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 Quick Start RS 232 Port Settings PC Comport 2 3 4 E Baud Rate C 19 200 C 57 600 115 200 Basic Set Up Screen 5 1 3 1 Basic Setup Use the RS 232 Port Settings control to select the RS 232 communication port connected to the C adapter 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 o
8. 25 Stop On Arbitration LOSS 1 0 0 ce es 25 Stop On Slave Negative Acknowledgment o oooooooooo oo 25 Beep OM BUSY 25 p 25 Beep On AITDIIFAtOTD LOSS s os eden ox ded a a is A 26 Beep On Slave Negative Acknowledgment Less 26 Beep Om7INT Asserts cnn a core tes OES ede ed Ser wee 26 Load FC Message List File eee 26 Saved IC Message List File lesen 27 PMO DE ier Bae A Oa Ee ES Sura dus tegat ou wae es eee 27 hus A e T E E E E 27 ij gm es 27 S Fort Messac Manado ossis dunqosc eite area odio ata 28 Message Manager Operalions aspe 3 35 tirinha ER tJ E e dc nd UR 20 Starting the Message Manager ausa REESE E WC bed 20 DCICCl the Adapter oe pde Ego cac nda Endet Aa oe te bea eee d 29 Establish Adapter Communications Link oooooo o 30 lr eterni Fem 30 Advanced DEUDA 3l Adapter s Own FC Slave Address esee 3l General C all Endble 6 0042 eece pang EE Woo pleno Oe Robe HR US pat pb 3l IC Bus Master Bit Rate 0 cc e 31 PC Bus Time Out o 31 Enable INT Signal Monitor 1 2232 E ira 3 DIAO SEU MERC 32 EAS APP 22 LOS Pe N AAA O II es 342 LOG TING SIZ Satori sais pa ab to e 32 Sending C Messages iie RR ees 33 Master Operations rasa ied etek esa omoi fatur idad 33 Specifying the Destination Address 0 0 cece oo 35 Repeated Start NIeSSage S o cic ce pe been Gao e
9. high to low transition is detected on the adapter INT signal connector 4 2 13 Load FC 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 4 2 14 Saved I C 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 25 4 2 15 Auto Open AutoOpen Auto Open Link to IFC Adapter Open link to adapter 4 2 16 Auto Send AutoSend Auto Send IC Message List Send IFC 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 26 5 1Port Message Manager The Port Message Manager supports IC Master and Slave Transmit and Receive activities for all MCC IC Bus host adapters allowing a PC to become an IC Master or Slave device transmitting or receiving FC messages between the PC and one or more I C devices across an IC Bus lt 4 Micro Computer Control Corp Port Message Manager File Options Help Quick Start m MICC Port AFM Message Manager B Communication Events Welcome to the iPort Message Manager I2C Destination Address Master Tx Message Data ASCII Text or Hex 00 FF aj j 00 01 02 BA p
10. matches current 1Port AFM Flow Control Also check 1f the host computer s FIFO buffers in its 16550 UART are enabled If so reduce or disable Transmit Data Buffering On Windows based host computers see the Device Manager COM port Advanced Settings You may need to power down the host computer for any FIFO change to take effect 56 Example Code The following examples are written in MS Visual Basic V3 for Windows using the serial communications control MSCOMM VBX It can be used as a guide in implementing 1Port AFM interface programs in other programming languages and operating environments Note Sample code is also available online at www mcc us com iPort AFM Reset Comm1 Output Chr 18 Ctrl R Comm1 Output Chr 18 Ctrl R Comm1 Output Chr 18 Ctrl R iPort AFM Initialization Comml Output f0 Set 1Port AFM XON XOFF Flow Control Comm1 Output Chr 13 Comm 1 Output 170 Set 1Port AFM s Own Slave Address Comm 1 Output Chr 13 Comm 1 Output d4e Set Destination Slave Address Comm Output Chr 13 Comm1 Output o Open IC Connection Comm Output Chr 13 Master Transmit Message Comml Output T 00 01 Send Master Tx Command Comml Output Chr 13 Terminate Command Master Receive Message Comml Output R10 Send Master Rx Command Comm 1 Output Chr 13 Terminate Command 57 Communication Event Processing Static Sub Comm OnComm Static LineBuf Whi
11. to the IFC adapter Message Center supports USB and network connected local or remote RS 232 ports via the Windows Com driver 4 4 Options Menu Use the Options menu to override default Baud Rate and IFC 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 IC Slave address to OxFE Once the link has opened successfully you are an active IFC node lC 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 I 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 I C Message Editor screen by double clicking on a message row in the spreadsheet 120 Message Editor 12 Address E Write Parameters Enter 0 or more 18 Use the IFC 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 b
12. wire positive locking modular receptacle connector see Appendix A for interfacing to an external C Bus Lines provided include IC Clock SCL FC Data SDA Ground and 5VDC Use of the 5V wire is optional Connect this wire to the target system to power the IPC adapter and the target system from a common regulated 5V power supply J a2 SCL SV SDA GND Receptacle Connector An FC Interface Cable White SCL Red 5VDC Green SDA Black Ground is provided to connect to an external I C Bus Since there is no standard C Bus connector you may want to cut off one end of the cable and add a connector compatible with your target system Additional IC Interface Cables 4 ft 8 ft or 16 ft and modular connectors are available from MCC Clip Lead cables are also available see Appendix A 2 4 Interrupt INT Signal Connector The Interrupt INT signal is an extra pin found on some I C devices The INT signal allows a slave only device to attract the attention of a bus master device by lowering the INT signal voltage level The 1Port AFM provides an open drain INT signal which can be connected to a corresponding pin on a master or slave device The INT signal allows the iPort AFM to participate in interrupt signaling between master or slave devices An interrupt output INT low is generated upon receiving an iNterrupt Assert command from the host computer The interrupt signal is released INT high when the iPo
13. you are connecting the I C adapter to a SMBus target system you should follow these steps BEFORE applying power e Shut off the IPC adapter s internal pull ups See Pull up Resistor section Use external SMBus rated approx 15k ohm pull up resistors These pull ups may already be present in the target system e Visit the IFC vs SMBus FAQ page www mcc us com IZCSMBusFAQ htm e See the SMBus Specification for additional details Special Note for SMBus Users MCC s IC adapters are designed to be C Bus compatible not SMBus compatible Some features of the SMBus protocol not 6 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 the IC 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 I C 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 C adapter
14. AIMER Micro Computer Control Corporation makes no representations or warranties with respect to the contents hereof and specifically 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 1s NOT covered under the warranty of this product See the Electrostatic ESD Precautions section of this guide for more information Printed 1n the United States of America Table of Contents Part 1 iPort AFM RS 232 to FC Bus Host Adapter 1 pO Kal TIPP 2
15. 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 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 C 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 21 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 1Port AI iPort AFM Variable Specify I C adapter type COMI COM20 Specify RS 232 communication port BAUDI9200 BAUD57600 BAUD1 15200 set RS 232 Baud Rate CLOCKIOO0K CLOCK400K VCLOCK Adapter specific commands See command details below Command Line Syntax imsgctr exe AdapterType argument list Example imsgctr exe iPort AFM adctest01 iml AutoOpen AutoSend AutoExit 22 4 2 Set Adapter Type 1Port iPort FRMIIC 201 iPort AI iPort AI FMIIC 202 IPor AFM 1Port AFM MIIC 203 Variable Variable Clock HMIIC 201 V The Adapt
16. C adapter Remember to select the correct Com Port COMI COM2 and set the communication parameters to 19200 Baud 8 Data Bits No Parity and 1 Stop Bit 3 Enter CR to get an 1Port AFM Status Report Note All iPort AFM commands are terminated with a Carriage Return CR character On most terminal emulators press the Enter key 4 Enter FO CR XON XOFP or F1 CR RTS CTS to set 1Port AFM s communications Flow Control to match your terminal 5 Enter Ixx CR xx 02 FE even to set iPort AFM s Own I C Slave Address 6 Enter O CR to Open the iPort AFM Connection The iPort AFM does not need to be connected to an I C Bus to open a connection 7 Enter Dxx CR xx 00 FE even to select a Destination PC Slave Address 8 Enter Ttext CR text ASCII or Hex Equivalent 00 FF to Master Transmit a message to the current Destination I C Slave device 9 Enter Rn CR n 0 32767 to Master Read a message from the current Destination I C Slave device 38 iPort AFM ASCII Command Interface Note CR 2 Carriage Return Code or Enter Key Syntax Select Optional xx 00 FE n 0 32767 Description Ctrl R Ctrl R Ctrl R iPort AFM Reset This command resets the Port AFM to its default state CR Status Display Display 1Port AFM status information B 01112 CR RS 232 Baud Rate Control Set the RS 232 Baud rate 0 19 2 1 57 6 2 115 2 Baud C CR Close PC Connect
17. CR Low Level Command X dc dCcDCcdCcdCcDCcDCcDCcdCc DCAc dCcdCcdCcdCcdCcdCcdCcDCc DCAcdCcdCcdCcdCcdCcdCcDCcdCc DCAc dCcdCcdCcdCcdCcdCcdCcDCc DCAc dCD CR 50 Low Level Response XCCOOOO CR Master read three bytes from slave address Ox4F First two bytes are acknowledged by master Command X S 4f Rrr P CR Response XCCA xx xx xx CR xx 00 FF Master transmit a Write WCR command to a Xicor X9241 at slave address 0x50 WCR data is OxOO Command X S 50 a0 00 P CR Response XCCAAA CR Master transmit a Write WCR command to a Xicor X9241 at slave address 0x50 WCR data is Ox5f Command X S 50 a0 3f P CR Response XCCAAA CR Issue a Read WCR command to a Xicor X9241 at slave address 0x50 Command X S 50 90 R P CR Response XCCAA xx CR xx 00 FF Issue an Increment Wiper command to a Xicor X9241 at slave address 0x50 Command X S 50 20 1 P CR Response XCCAA CR Issue an Decrement Wiper command to a Xicor X9241 at slave address 0x50 Command X S 50 20 0 P CR Response XCCAA CR Display Tx bYte Count requires firmware V2 00 Returns the number of bytes received by the slave device in the last master transmit message 5d Command Y CR Ix bYte Count Response TBCn CR 7n 200000 32767 52 Asynchronous Interface Events Asynchronous Events are those iPort AFM interface activities initiated by the iPort AFM I C Host Adapter in response to a
18. FORE applying power to the host computer IC adapter and target system f 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 RS 232 port D 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 1s 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 of this product 5 Hardware Set Up This section provides information on connecting the I C adapter to your host computer and I C Bus target system 1 Attach the IC adapter to a free RS 232 port on your host computer If your RS 232 port has a DB9 connector use DB 9F to DB 25M serial port cable included with the IC adapter 2 Connect the IC Bus cable to the IFC adapter and your IC device If your device does not have the matching I C connector you can cut the end of the cable and attach the individual wires via any appropriate connector See the C Interface Connector section for details MCC also offers an IC clip lead cable HCABCL that is compatible with our adapters You may not ne
19. User s Guide Por AEM RS 232 to I C Host Adapter ASCII Fast Mode with 1Port Utility Pack Software Pos AFM ASCH Fast Mode Micro Computer Control Small Area Network Specialists WWW IIICC US COIYI Introduction The MCC iPort AFM RS 232 to IC Host Adapter with ASCII Fast Mode MIIC 203 allows any PC Host Computer or Data Terminal with an RS 232 port to become an I C Master or Slave device transmitting or receiving IC messages between the PC and one or more I C devices across an IFC Bus This user s guide describes the installation and operation of the iPort AFM host adapter and the Port Utility Pack Software for Windows and includes the Programmers Reference for creating custom applications Are you new to C Want to know more We suggest you review What is IFC 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 IPC system provided the system conforms to the PC specifications defined by Philips PC 1s a trademark of Philips Corporation 09 JAN 07 Copyright 2004 by Micro Computer Control Corporation All rights 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 DISCL
20. Ut in msec O Disable IN Display Firmware Version Major XX XX Minor IX Extended Cmds See Prompt or User s Guide Y Display Tx bYte Count Interrupt Signal Control Status The INT signal allows the 1Port AFM to participate in INT master and or slave communications Control Command NO CR Disable Monitor NI CR Enable Monitor NA CR Assert INT Signal NR CR Release INT Signal Status Command N CR Status Response NSA INT Asserted INSR INT Released Response 1Port AFM Ready Default Setting NO NR Open FC Connection Activates iPort AFM as an active device on the C Bus Command O CR Open IC Connection Response OCC CR Open Connection Complete Default Setting Closed Master Read Message This command causes 1Port AFM to read the specified number of data bytes from the currently selected Destination IC Slave Address with or without generating an I C Stop condition after the last byte is received 45 Enter Byte Count Decimal 0 32767 then Press Enter or ESCape to Cancel A Byte Count of Zero 0 represents a Variable Length message where the first byte read from the I C Slave device indicates the number of additional trailing bytes that are available to read The 1Port AFM automatically reads the first byte then the additional bytes as specified by the first byte All message bytes including the Length byte are returned to the Host computer The received text 1s a representation o
21. ave Address sees 46 C Bus Clock Rate Control osorno ao 46 Command Menu Display aaron 46 Interrupt Signal Control Status 2l 4 Open IFC Connection 0 0 RR hen 47 Master Read MESSIO E gerd dite DP eI dps be ore 48 Slave Transmit MESSI E uten ih odo os e She Role ne ee ae ga 40 Master Transmit Message 0 0 ccc eee a 50 Set C Bus Time oUt in msec 1 1 0 0 0 eee een 5 Display Firmware Version 2 246 RE Sen CREATOR So PCR ded 51 eXtended COMMANGS 43994520 93 9E eb hee darian 5l Display Tx DYTe Count 2 45244 pose Ga eee eee ee ae uie d 54 Asynchronous Interface Events 4 44 94 4 0798 Veo ERU ok eo mw de EC 55 Slave Transmit Request romeros yv Ree RT eS ndo 55 Slave Receive CoODIDIete oud cede dieere RR mdr deos oe ide dd 55 General Call Receive Complete uuu mes tae ded HGS ews ROSE Ud 55 IPOFt VL Roddy usaban aod stor daria Ro eod e os edoceri aed he s 56 Slave Not Acknowledging lell een 56 IPO ARM BUS y 24 2406 ote eS ete tao ae So doe Ree eee eas 56 PC Bus Arbitration Loss aana cee een 56 IC Bus Error Detected 000 ccc cece eee een 56 PC Bus Time out Detected cese ee 57 iPort AFM Connection Closed 0 0 0 ee ees 57 Invalid Command Argument llle 57 Slave Transmit Request Not Active 0 0 ccc eee nee 57 Invalid 1Port AFM Command 0 0c cee eens 57 iPort AFM RS 232 Receive Buffer OverfloW
22. before reporting an I C Bus intra byte time out 0 no time out 1 to 32767 milliseconds 1Port AI fixed at 1 second Enable INT Signal Monitor on supported adapters Enables monitoring of the INT signal state INT state changes are reported 1n the 30 main screen Communications Events window anager Setup Advanced Setup iPortiPort Al 12C Slave Address BA a Diagnostic Setup ge Quick Start r Serial Port Settings iPort Log File Level Off C102 C3 CA BC 6E A b Default Y OK 70 zl iPortiPort Al Genera Call Log File Name LoG coMi TXT Enabled Disabled i ancel PC Comport REEL Lbs tel ey Log File Size Lines fi 000 c C 12 5KHz 100KHz 2 a Master Arbitration Retries 0 4 NH I2C Bus TimeOut Mse Br 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 1s available to troubleshoot RS 232 communication problems with the selected communication port 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 1s 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 up
23. could damage the host computer IC adapter or the target system and void product warranty coverage 4 1 Host Computer Grounding Case 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 some unknown voltage potential In either case upon connection to the IFC adapter and the target system the host computer will discharge energy through its RS 232 port to the IFC adapter and on to the target system This discharge could damage the host computer IFC adapter and the target system 4 2 Grounding Solutions To avoid damage to the host computer IC adapter or target system follow these instructions Wear an earth grounded wrist strap or discharge any static charge build up when handling the I C 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 BE
24. ctivities on the I C Bus Slave Transmit Request This event is caused by the reception of an I C Bus Slave Transmit message directed at the current Port AFM s own Slave address Prompt STR CR Slave Transmit Request Command Stext CR Slave Transmit Text The normal Host computer response is to send a Slave Transmit Stext CR command Note Upon receiving a Slave Transmit request from a Master Receiver device on the I C Bus iPort AFM outputs a Slave Transmit Request to its Host device and initiates an FC Clock Stretch SCL Low until a Slave Transmit Text command is received from the Host computer While clock stretching no other messages can be transmitted on the I C Bus Slave Receive Complete This event is caused by the reception of an I C Bus Slave Receive message directed at the current Port AFM s own Slave address The received text 1s a representation of the data bytes within the Slave Receive message The format of this data 1s controlled by the current setting of the Hex Only Display Control Prompt SRCtext CR Slave Receive Complete Command None Required General Call Receive Complete This event is caused by the reception of an I C Bus Slave Receive message directed at the I C General Call Address 00 when iPort AFM s General Call recognition is enabled 53 The received text 1s a representation of the data bytes within the Slave Receive message The format of this data 1s c
25. e 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 PC message with doStop checked will cause the message to be terminated with a Stop Condition Sending an l C message with doStop unchecked will cause the message to end without a Stop Condition allowing the next message to be sent with a Repeated Start 32 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 1s 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 Es Master Tx Message Bytes Enter ASCII Text or Hex 00 FF Data AA 55 AA Sb AA BST AA S X Cancel In the data editor enter one or more ASCII text characters or hexad
26. ecimal data bytes Each hexadecimal byte 1s 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 Port Message Manager IC message can include up to 80 bytes of 8 bit ASCII binary data NOTE The data you send may have special meaning to the receiving slave device but to the Message Manager and the I C adapter message data has no special meaning Consult your slave device s data sheet for details 33 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 1s 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 IC 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
27. ed 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 Connect I C adapter power via the power jack or C Bus connector See 5VDC Power Jack section for details 8 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 2 11 12 iPort Utility Pack for Windows The Port Utility Pack for Windows is your express lane to IC 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 I C Bus messages quickly and easily 1 1 1Port Message Center The 1iPort 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 C Bus messages I C Bus message activity includes e Master Transmit e Master Receive Micro Computer Control Carp Port Message Center 5croll iml File Options Help Quick Start WIH MICC iPort AFM Message Center E Open Link Seno Musei f Auto Repeat Send On INT Mag Address RAY Message Data Bytes stop Delay m
28. 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 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 34 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 I C 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 send 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 I C Bus master operations the Message Manager can also perform I C bus slave transmit and receive operations 5 1 4 2 1 Slave Tran
29. ee eee e Eo uie d 33 ZO TCeDedbauon eet Guede hese ERES on eos Sala wee Pb dor ec dada dea 34 Master Transtimttine Data aues ste rao E em rax e ER UE Uie des i 34 Specifying Master Tx Message Bytes 0 0 ccc 34 sending Master Transmit Messages 0 0 0 cc eee eee mo 35 Master Recerye Data a uud eh dor atas anc dra ke bord ade ed he stop ci 35 Specifying Data to Read cura eee d eee neg ew REG aS 35 Negative Acknowledge Last Byte o ooooooooooooooo 36 Master Transmit and Receive 36 SIQVECODOPIU OFISE adeat ee dio E rae Seo RE aaa 36 Slave Transmit Dala 2 45 29 ot dog vidoe lc e heo 36 Slave Receive Dali opaca bat ERE eiue De do andy AS et arcto redi eddie adr ee 36 6 Uninstalling 1POrt Utility Pack ovarios 37 Part 3 iPort AFM Programmer s Reference 045 39 Be Es AEE apace bet pa eee Sid aes O 40 ASCH Command Interia e 13 2 5 ord m edi 4 Synchronous Interface Events usara 42 TOFU VIUIRCSED os wi ao ba ode ee Gos aba aid sees baa eS 42 vu EDI we ete es mee Bea eae oe eee Bae eS 43 RS 232 Baud Rate 43 Close C Connection seee eel 43 Set Destination C Slave Address 0 0 0 ccc ccc cece eee 44 Echo PEOmpDD C ODIFOL quss epo S Gibbs PAL EU S c P Ed 44 155 252 BIOS CONTON eres grass rp tone eo oe ot cm bore aes 44 PC General Call Control seseeeeeeeee re 45 Hex Only Display Control 222 x 22e Ee wed aye wee bee bera 45 Set iPort AFM s Own FC Sl
30. er 4 2 Selecting the Adapter Select the IC 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 iPort Message Center Micro Computer Contro Small rea Network Specialists LC Bus Host Adapter Fort PorAl ANA A Select Your I7C Bus Host Adapter o TM lc is just a mouse click away WIN Opening Screen 4 Micro Computer Control Corp Port Message Center Scroll iml File Options Help Quick Start WIN MCC iPor AFM Message Center GS Open Link Iv Auto Repeat Send On INT Msq Address RAV Message Data Bytes Stop Delay msec ao w Y D n 2 J Wo BF Y D a Jae w DF v D 4 le Wo EF Y oo i Jae w FT Y D e Ls w FB Y D iz ar WFD Y D a l Wo FE Y D ig J WFD Y o HO Jae Wo FB Y o 14 l4 Wo OFT Y D M2 ar Wo EF Y D M3 J4 WOOF Y D M4 lac Wo BF Y D M5 Jae Wo TF Y D hd Status lt lt Link Closed gt gt Device Select INT Signal Stop On Beep On C Port F Enable Monitor L Busy Busy Using Com ni C iPortal EE Arb Loss Arb Loss 2 iPort AFM signal Leve Slave Nak Slave Nak C Variable Clock ANT Assert Main Application 17 4 1 3 Select the Communications Port Use the Using Com control to select the RS 232 communication port connected
31. er Receiver device Ttext CR Master Transmit Message Master Transmit the specified data bytes to the current Destination I C Slave device No Stop for Repeated Start Un CR PC Bus Time oUt Set I2C Bus Time oUt in msec O Disable V CR Display Firmware Version Major XX XX Minor Requires Firmware V2 0 or later X CR eXtended Commands See Prompt or User s Guide Requires Firmware V2 0 or later Y CR Display Tx bYte Count Requires Firmware V2 0 or later Synchronous Interface Events Synchronous Events are those Port AFM interface activities initiated by the Host computer iPort AFM Reset Reset Port AFM to its default state The reset command consists of three 3 sequential Ctrl R characters Ctrl R 1s the character code Decimal 18 and Hexadecimal 0x12 When using a terminal emulator program you can generate a Ctrl R by holding down the Ctrl key and pressing the R key Note It is recommended that the Host computer turn off all serial port flow control before sending this command to override any flow control from the IFC adapter that could block the transmission Flow control should be enabled once the response 1s received Command Ctrl R Ctrl R Ctrl R 1Port Reset Response 1Port AFM Ready Default Setting None Status Display Display Port AFM status 40 Command CR Status Display Response iPort AFM I C Host Adapter w ASCII Fast Mode Interface Vxx xx Copyright O xxxx M
32. er 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 COMI Default COM2 COM20 Set the RS 232 communications port attached to the IC adapter 4 2 3 Set RS 232 Baud Rate BAUD19200 Default BAUDS7600 iPort AFM ONLY BAUD115200 Port AFM ONLY Set the RS 232 Baud Rate 4 2 4 Set FC Bus Clock Rate CLOCK12 5K GPort ONLY CLOCK23K Port AFM ONLY CLOCKS6K aPort AFM ONLY CLOCKIOOK Port 1Port AI 1Port AFM Default CLOCK400K GPort AFM ONLY VCLOCK nnnHz Variable ONLY nnn 451 57787 Set the IC Bus Clock Rate to the specified value The defaults rate for the Variable Clock the adapter is 451Hz The Variable Clock adapter does not support all rates within the specified range The Message Center will adjust the specified rate to the nearest available supported rate 23 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 IC messages if the adapter returns a Bus Abritration Loss response to the host computer Bus Arbitration Loss occurs when ano
33. essage Write the specified data bytes to the currently selected Destination I C Slave Address with or without generating an IC Stop condition after the last byte is transmitted 47 Enter Message Bytes 0 or more Printable ASCII or Hex equivalent 00 FF then Press Enter ESCape to Cancel Note The tilde character and the Carriage Return CR characters are used as special marker characters within all 1Port AFM RS 232 transmitted text messages These characters may not be used within the text of a message but must be replaced by the following Hex equivalent characters Tilde replaced by 7E Carriage Return replaced by 0D iPort AFM automatically translates Hex equivalent characters to their single byte value for transmission across the IC Bus All entered data bytes are transmitted to the Destination IC Slave Receiver device Master Transmit stops upon receiving the first negative acknowledgment Nack from the Slave Receiver If not disabled the message is then terminated with an I C Stop condition Sending Master Transmit messages with No Stop allows the Master to retain exclusive control of the I C Bus until it finally sends a Stop During this time the Master can send additional Repeated Start Master Transmit or Master Receive messages to the same or other I C Slave devices Command Ttext CR Master Transmit Message No Stop Response 1 MTC CR Master Transmit Complete Response 2 SNA CR
34. evice on 46 the I C Bus the iPort AFM outputs a Slave Transmit Request to its Host device and initiates an IC Clock Stretch SCL Low until a Slave Transmit command is received from the Host computer While clock stretching no other messages can be transmitted on the I C Bus Note 2 The tilde character and the Carriage Return CR characters are used as special marker characters within all 1Port AFM RS 232 transmitted text messages These characters may not be used within the text of a message but must be replaced by the following Hex equivalent characters Tilde replaced by 7E Carriage Return replaced by 0D iPort AFM automatically translates Hex equivalent characters to their single byte value for transmission across the IC Bus All entered data bytes are transmitted to the requesting Master Receiver device Slave Transmit stops upon receiving the first negative acknowledgment Nack from the Master Receiver Command Stext CR Slave Transmit Message Response 1 STC CR Slave Transmit Complete Response 2 ISS CR Port Connection Not Open Response 3 I8A CR Slave Transmit Request Not Active Cmd Ignored Default Setting None Examples Sabcd1234 CR ASCII Printable characters abcd1234 S 00 01 02 CR Binary data bytes 00 01 02 Sab 7Ecd CR Tilde embedded in ASCII Printable characters S12 OD24 CR Carriage Return embedded in ASCII Printable characters Master Transmit M
35. f the data bytes within the Master Receive message The format of this data 1s controlled by the current setting of the Hex Only Display Control If the slave device acknowledges its C Slave Address the specified number of bytes are read The 1Port AFM acknowledges all bytes read except the last If not disabled the message is then terminated with an IFC Stop condition sending Master Receive messages with No Stop allows the Master to retain exclusive control of the I C Bus until it finally sends a Stop During this time the Master can send additional Repeated Start Master Transmit or Master Receive messages to the same or other I C Slave devices Command Rnnnn CR Master Read Message No Stop Response 1 MRCtext CR Master Read Complete Response 2 SNA CR Slave Not Acknowledging Response 3 ISI CR 1Port AFM is Busy Command Ignored Response 4 IS3 CR IC Arbitration Loss Detected Response 5 ISS CR 1Port Connection Not Open Response 6 IS9 CR Invalid Command Argument Default Setting None Slave Transmit Message This command should be issued to 1Port AFM 1n response to a Slave Transmit Request STR This command causes 1Port AFM to write the specified data bytes to the requesting IC Master Receiver device Enter Message Bytes 1 or more Printable ASCII or Hex equivalent 00 FF then Press Enter or ESCape to Cancel Note 1 Upon receiving a Slave Transmit request from a Master Receiver d
36. icro Computer Control Corp Visit our Web Site at http www mcc us com RS 232 Baud Rate 19 2kHz Destination I C Slave Address xxH Echo Prompt Disabled Flow Control XON XOFF Hex Only Display Enabled FC Connection Closed General Call Enabled iPort s own Slave Address xxH DC Bus Clock Rate 100kHz iNterrupt Signal Released I2C Bus Time oUt 10000 msec RS 232 Baud Rate This command sets the RS 232 Baud Rate 0219 2k 1 57 6k 22 115 2k Command B OIII2 CR Set RS 232 Baud Rate Response 1 BCO CR Baud Change Complete Response 2 BCI CR Baud Change Complete Response 3 BC2 CR Baud Change Complete Response 3 IS9 CR Invalid Command Argument Default Setting BO CR Close PC Connection Disconnect iPort AFM from the IC Bus Command C CR Close FC Connection Response CCC CR Close Connection Complete Default Setting Closed Set Destination PC Slave Address Set the destination IFC Slave Address Hex 0 2 FE for all subsequent Master 4 Transmit or Receive operation Command Dxx CR Set Destination IC Slave Address Response 1 1Port AFM Ready Response 2 89 CR Invalid Command Argument Default Setting 00 Echo Prompt Control This command enables or disables data entry echo and prompts used as feedback to manual operations from a computer terminal Command E OI1 CR Echo Prompt Control 0 2 Off 1 On Response 1Port AFM Ready Default Setti
37. ility Pack Installation esperara IR Pe b xc ade 15 Install Gron DE eame qu qos wae DR E daa clo qaos 15 Installins tron the Webcon sator E EE EEE RA EUREN 15 4 POR MOSSQSCIC DIOE sear rins gab canes du S ECCE bob UE aereis Sd ees ox 16 Message Center Operations uunc Wace ios 17 starting the Message Center iiia e ee et RO eem peces 17 oelectins the AGA arriva 17 Select the Communications Port 0 0 0 cee ees 18 Sess creed pee aes a he hehe Beta eee ee 18 Establish Adapter Communications Link ooooooo o 18 Entering or Editing C Messages 0 0 00 c ce cece eee 18 Sl a ne 19 Set Message Read Write Direction 0 0 0 ccc ee 19 Specify Repeated Start Messages 0 cc cece eens 19 Sel Lime DEY scsi ata add ber 20 specify Write Data or Read Byte Count 0 0 0 00 eee eee 20 Inserting and Deleting Messages llle 21 saving or Loading Message Lists oo ooooooooooo momo eens 21 sena the Mossie DISP aa vaccin og RR deg gh dete PEA 2l Special Event Hand penita coa Ss s ea 21 slave INOt Acknowledglng cuerda a 22 Command Line Arguments 0 0 ccc eee eens 23 A UV Pe e weed taints II ove dus Ced aded 24 set RS 232 Communication Port seabass gaa ma eee ee 24 DELIS DAU hale dena eh eee d OI nee en eaten a cae gr oh ee 24 Set IFC Bus Clock Rate 2 0 0 0 ccc RI en 24 Enable INT Signal MODOS se cruiser peer oca oe 25 SOP ONB A tt soc do pu daa sd Alo dass
38. interrupts The eXtended commands run directly off the command characters as they are received on the RS 232 link Speed of execution of eXtended commands is controlled by the RS 232 baud rate the execution speed of the firmware delays caused by execution interruptions that may occur while a command is executing and IC Bus clock stretching by external slave devices The following commands manipulate the I C Clock SCL and data SDA lines Command X SI xxIRIrIPIOI LIDIdICICILIAI I then Press Enter or ESCape Enter X followed by zero or more sub commands the CR Response XCC see commands below CR High Level Sub Commands 49 S Send Start xx Send Byte xx O0 FF response A or N R Read Byte with Ack response xx r Read Byte with Nak response xx P Send Stop Mid Level Sub Commands 0 Send 0 Bit 2 Send 1 Bit Read Bit response 0 or 1 Low Level Sub Commands D Set SDA High d Set SDA Low C Set SCL High c Set SCL Low L Read SCL response 0 or 1 A Read SDA response 0 or 1 Miscellaneous Sub Commands space no action comment no action Examples Master transmit three bytes to slave address Ox4e using high level mid level and low level sub commands High Level Command X S 4e 01 02 03 P CR High Level Response XCCAAAA CR Mid Level Command X S 01001110 00000001 00000010 00000011 P CR Mid Level Response XCCOOOO
39. ion Disconnect from the IFC Bus Dxx CR Set Destination IC Slave Address Set the destination IC Slave Address for subsequent Master Transmit or Receive operations E OI1 CR Echo Prompt Control 0 Off 1 On Enable Disable data entry echo and prompts FLOI CR Flow Control 0 XON XOFT 1 RTS CTS Select RS 232 communication handshaking protocol G OI1 CR FC General Call Control 0 Disabled 1 Enabled ED E Enables Disables iPort AFM response to IC Bus General Call 00 messages H OI1 CR Hex Only Display Control 0 Disabled 1 Enabled Controls display format of received message data Ixx CR Set iPort AFM s Own C Slave Address Sets iPort AFM s own PC Slave Address iPort AFM will respond to IC Bus messages sent to this address K 0111213 CR PC Bus Clock Rate Control Set I2C Bus Clock Rate Control 0223 1286 2 100 32400 KHz Command Menu Display Displays iPor AFM s Command Menu N OILIAIR DICR iNterrupt Signal Monitor Control Status Sets Monitor Control Status of INT line 0 Disable 1 Enable A Assert R Release CR Status O CR Open EC Connection Activates iPort AFM as an IC device attached to the bus Rnnnn CR Master Read Message Read the specified number of data bytes from the current Destination I C Slave device 2 No Stop for Repeated Start 39 Stext CR Slave Transmit Message Write the specified data bytes to a requesting I C Mast
40. it slave address transmitted on the bus aaaa aaaQ The IC 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 IFC 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 IFC 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 1s 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 FC 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 ma
41. l signals Command F OI1 CR Flow Control 0 XON XOFF 1 RTS CTS Response 1Port AFM Ready Default Setting XON XOFF PC General Call Control Enables or disables iPort AFM response to I C Bus General Call Address x00 messages Command G Ol1 CR TC General Call 0 Disabled 1 Enabled Response 1Port AFM Ready Default Setting Enabled Hex Only Display Control Controls Hex Only 00 FF output of Master or Slave received data When enabled all received I C message data bytes are displayed in Hex 00 FF format When disabled received IC message data bytes representing ASCII printable characters x20 x7F are displayed as their ASCII printable character Non ASCII printable data bytes are always displayed in Hex O0 FF form Command H Ol1 CR Hex Only Display 0 Disabled 1 Enabled Response 1Port AFM Ready Default Setting Enabled Set iPort AFM s Own EC Slave Address Sets iPort AFM s own IFC Slave Address Hex 2 FE Subsequent C messages to this address will cause 1Port AFM to become an active Slave device on the bus Command Ixx CR Set iPort AFM s Own IC Slave Address Response 1 1Port AFM Ready 43 Response 2 IS9 CR Invalid Command Argument Default Setting 6E FC Bus Clock Rate Control Set the IC Bus master clock rate 0223 1286 22100 32400 KHz Command K 0111213 CR Set 1Port AFM s Clock Rate Response 1 1Port AFM Ready Default Setting
42. le Comm 1 InBufferCount Msg Comm1 Input Get Comm input character CharIn Msg If Msg Chr 13 Then Msg Remove CR If Msg Chr 10 Then Msg 2 Remove LF If Msg Then If iPort AFM Ready Msg Substitute Token CharIn Chr 13 Terminate Line End If LineBuf LineBuf Msg Add new text to line buffer If CharIn Chr 13 Then if Carriage Return detected iPortResp Left LineBuf 4 Isolate Response Code Test for Port AFM Synchronous Interface Events If StrComp iPortResp OCC 0 Then Open Connection Complete Processing TextBox Text OCC Open Connection Complete ElseIf StrComp iPortResp MTC 0 Then Master Transmit Complete Processing TextBox Text MTC Master Tx Complete ElseIf StrComp iPortResp MRC 0 Then Master Rx Complete Processing TextBox Text LineBuf Update Display Elself StrComp iPortResp STC 0 Then Slave Tx Complete Processing TextBox Text STC Slave Tx Complete ElseIf StrComp iPortResp CCC 0 Then Close Connection Complete Processing TextBox Text CCC Close Connection Complete 58 ElseIf StrComp iPortResp BCO 0 Then JPorVAFM Baud Change 0 19 2K TextBox Text 1Port AFM Baud Change 0 19 2K ElseIf StrComp iPortResp BC1 0 Then 1Port AFM Baud Change 1 57 6K TextBox Text 1Port AFM Baud Change 1 57 6K Elself StrComp iPortResp BC2 0 Then 1P
43. lications quick and easy Programmer s Reference and Sample Programs included Fully Compatible with iPort AI applications The IC adapter system consists of the following components 1 1 iPort AFM RS 232 to IFC Bus Host Adapter This adapter plugs into an RS 232 Port on any host computer and generates IC Bus signals 1 2 i1Port Utility Pack Software This free software package includes the 1Port Message Center and Message Manager applications to help you easily send and receive I C Bus messages 1 3 1Port AFM Programmer s Reference This section of the iPort AFM User s Guide provides a programmer s guide to creating custom I C Bus applications Find additional sample programs and complete projects on our web site s Sample Program page 1 4 Packing Slip This package includes the following items e iPort AFM RS 232 to I C Bus Host Adapter MIIC 203 e T C Interface Cable Interrupt INT Signal Clip Lead Wire e RS 232 Serial Port Cable 9F 25M e jPort AFM User s Guide e Port Utility Pack for Windows software e Power Supply 1 5 System Requirements a A host computer with one free RS 232 port b Windows 95 OS or higher to run Port Utility Pack applications 2 Interconnects The 1Port AFM includes four interconnections eseseeeseeeeeeee cas em le m i ee ee 5WDC Power Jack INT Line e Interface Connector RS 232 Serial Port Connector 2 1 RS 232 Serial Port Connector The RS 232 connector provides c
44. n the Main Application screen should report I C Open Successful If open is not successful follow the on screen instructions Make sure the communications port is working is enabled 1n 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 20 Quick Start RS 232 Port Settings Advanced Setup PC Comport Port s Own I2C Slave Address BA z 2 3 4 E 70 Y Baud Rate Enabled C Disabled a 50 12C Bus Master Bit Rate 115 200 12 5 KHz 100 KHz C 23 KHz C 400 KHz C 85 KHz I2C Bus Time Out msec 1000 Enable INT Monitor 5 1 3 2 Advanced Setup On the Advanced Setup screen you can set the following parameters Adapter s Own I C Slave Address Select the IC adapter s own slave address The adapter will acknowledge messages sent to this slave address The default address 1s Ox6E General Call Enable General Call Enable allows the I C adapter to respond as a slave receiver to the IC General Call Address 0x00 General Call is used by a master to broadcast an PC message to multiple devices The default value 1s enabled FC Bus Master Bit Rate Select IC Bus speed during master operations 100kHz is standard mode 400kHz is fast mode Available rates are IFC adapter dependant IC Bus Time Out Specify how long the I C adapter will wait
45. ng Off RS 232 Flow Control Select the serial communication handshaking protocol to be use in communicating with the Host computer iPort AFM implements either XON XOFF by default or RTS CTS flow control protocols Flow control is used by the iPort AFM to limit character flow to and from the Host computer to avoid overflowing internal communication buffers and lost data The XON XOFF protocol inserts characters directly into the ASCII data stream XON Hexadecimal 0x11 1s used to enable the flow of data XOFF Hexadecimal 0x13 1s used to stop the flow of data The RTS CTS protocol uses two additional wires in the cable connecting communicating devices The RTS wire is an output signal It indicates that the device generating the signal has buffer space available and can receive data The CTS wire is an input signal It indicates that the other device has buffer space available and can receive In general XON XOFF requires a minimal three wire connection Ground Transmit Data and Receive Data This protocol does insert control characters into the stream of data and may not be appropriate for all Host systems If supported these control characters are normally automatically stripped out of the data stream 42 by Host communication driver software and are not visible at the application program level The RTS CTS protocol requires a serial port cabling and Host communication driver software that supports the additional contro
46. on reaching the specified number on lines 3l 5 1 4 Sending PC Messages 5 1 4 1 Master Operations 5 1 4 1 1 Specifying the Destination Address The Destination Address is the IFC 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 aaaQ The IC 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 On the main screen use the IC 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 1s 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 FC 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 mor
47. onnection from the IC adapter to the serial port on the host computer For computers with DB 9 connectors use the DB 9 to DB 25 C9F25M1 cable provided with the adapter or equivalent The IC adapter implements the RS 232 interface using the following pins 2 1 1 DB 25 Serial Port Pinout DB 25 Pin 2 Transmit Data from the Host Computer to the Port DB 25 Pin 3 Receive Data from the Port to the Host Computer DB 25 Pin 4 Request to Send from the Host Computer to 1Port DB 25 Pin 5 Clear to Send from the 1Port to the Host Computer DB 25 Pin 7 Ground between Host Computer and 1Port 2 1 2 DB 9 Serial Port Pinout DB 9 Pin 3 Transmit Data from the Host Computer to the 1Port DB 9 Pin 2 Receive Data from the iPort to the Host Computer DB 9 Pin 7 Request to Send from the Host Computer to iPort DB 9 Pin 8 Clear to Send from the iPort to the Host Computer DB 9 Pin 5 Ground between Host Computer and iPort 2 2 5VDC Power Jack The IC adapter requires 50ma of REGULATED 5 volt power This power can be supplied in one of two ways Via the power jack If the C adapter is powered via its 5 VDC power jack excess power is available via the 5V wire in the IPC connector to power external devices e Via the I C interface connector If 50ma of regulated 5V power is available in the target system the I C adapter can be powered via the 5V wire in IC interface connector 2 3 IC Interface Connector The IC adapter includes a four
48. onnectors Molex SEMCONN ACCESS bus Plug Molex Part 15 83 1564 AMP SDL Shielded Data Link Plug for ACCESS bus Bush Amp Part 52085 1 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 available from MCC MCC Part CABA I C Interface Cable 48inches 4ft MCC Part CABS I C Interface Cable 96 inches 8ft MCC Part CABI6 FC Interface Cable 192 inches 16ft MCC Part CABCL PC and SMBus Clip Lead Cable 62 Declaration of Conformity This Declaration of Conformity is issued by the indicated company which is solely responsible for the declared compliance Product s 1Port 1Port AI and 1Port AFM Product Part Number s MIIC 201 MIIC 202 MIIC 203 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 CI02486a Test Report Date April 29th 2005 Technical file held b
49. ontrolled by the current setting of the Hex Only Display Control Prompt GRCtext CR General Call Receive Complete Command None Required iPort AFM Ready Prompt 1Port AFM Ready Cause 1Port AFM is ready for the next Host command Slave Not Acknowledging Prompt SNA CR Slave Not Acknowledging Cause There is no response TC Slave Address Acknowledgment during a Master Transmit or Receive operation from an IC Slave device at the current Destination PC Address iPort AFM Busy Prompt ISI CR 1Port AFM Busy Cause The host computer attempted a Master operation while 1Port AFM was busy The host computer should wait for any previously issued command to complete process any pending slave events and retry the last command IC Bus Arbitration Loss Prompt IS3 CR TC Arbitration Loss Detected Cause iPort AFM lost IFC Bus Arbitration to another bus master device while Master Transmitting or Master Receiving an I C message Host should process any active slave events and repeat the last command IC Bus Error Detected Prompt I84 CR TC Bus Error Detected 54 Cause iPort AFM has detected an error condition on the IC Bus The host computer should retry the last command or issue an 1Port AFM Reset command IC Bus Time out Detected Prompt I85 CR TC Bus Time out Detected Cause 1Port AFM issues this response when it detects a byte transfer delay greater than the specified C Bus Time oUt period
50. ort AFM Baud Change 2 115 2K TextBox Text 1Port AFM Baud Change 0 115 2K Test for 1Port AFM Asynchronous Interface Events ElseIf StrComp iPortResp SRC 0 Then Slave Rx Complete Processing TextBox Text LineBuf Update Display ElseIf StrComp iPortResp GRC 0 Then General Call Rx Complete Processing TextBox Text LineBuf Update Display Elself StrComp iPortResp STR 0 Then Slave Tx Request Processing Comm Output S 00 01 Send Slave Tx Msg Comml Output Chr 13 Terminate Command TextBox Text LineBuf Update Display Test for 1Port AFM Response Messages ElseIf StrComp iPortResp 0 Then TextBox Text 1Port AFM Ready Update Display ElseIf StrComp iPortResp SNA 0 Then TextBox Text SNA Slave Not Acknowledging ElseIf StrComp iPortResp I81 0 Then TextBox Text I81 1Port AFM Busy Update Display ElseIf StrComp iPortResp I83 0 Then 59 TextBox Text I83 Arbitration Loss Update Display ElseIf StrComp iPortResp I84 0 Then TextBox Text I84 2C Bus Error Detected ElseIf StrComp iPortResp I85 0 Then TextBox Text I85 I2C Bus Time out Detected Elself StrComp iPortResp I88 0 Then TextBox Text I88 1Port AFM Connection Closed Elself StrComp iPortResp I89 0 Then TextBox Text 189 Invalid Command Argument ElseIf StrComp iPortResp I8A 0 Then
51. rt AFM is addressed as an IC Bus slave device or a iNterrupt Release command is received from the host computer Interrupt monitoring is enabled upon receiving an Enable INT Monitor command from the host computer Interrupt monitoring causes the iPort AFM to monitor the 5 INT signal level and send a notification to the host computer when the INT signal changes state 3 Hardware Configuration 3 1 Pull up Resistors The IC adapter includes a slide switch used to enable or disable internal 5 VDC PC Bus 1 8K ohm pull up resistors attached to the SCL SDA and INT lines Every FC 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 Volt Target System If you are connecting the I C adapter to a 3 3 volt target system you should follow these steps BEFORE applying power e Shut off the I C 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 I C connector 5V wire from the target system The FC adapter will be powered from its own 45V power supply and the target system will be powered by its own 3 3V power supply The IC adapter is a 5 volt device Any signal above 3 3V on the SCL and SDA lines 1s high enough for the adapter to see a Logical 1 3 3 Connecting to an SMBus Target System If
52. rts up to 32 000 messages in a list 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 20 4 1 8 Saving or Loading Message Lists Message Center I 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 FC message list can be sent manually or automatically in response 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 1s asserted The Message Center also supports the repeated sending of a message list If the
53. s Host Adapter Variable Clock Rate 4 MIIC 201 V iPort AI MIIC 202 RS 232 to IFC Bus Host Adapter with ASCII Interface iPort AFM MIIC 203 RS 232 to IFC Bus Host Adapter with ASCII Fast Mode Interface A U N e Windows 95 OS or higher free RS 232 Serial Port 3 1Port Utility Pack Installation 3 1 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 3 Follow instructions on screen MD ia 3 2 Installing from the Web Visit MCC s web site www mcc us com and click on the Upgrades Updates link Click to download the ZIP file 2 Unzip the downloaded file storing the files in a temporary folder 3 Click on Setup exe 4 Follow the instructions on screen 4 iPort Message Center The Port Message Center supports IFC Master Transmit and Master Receive activities for all MCC FC Bus host adapters With this program you can create save and execute scripts of PC Master messages lt 4 Micro Computer Control Corp Port Message Center Scroll iml Quick Start File Options Help MCC Port AFM Message Center Open Link send Cli Iv Auto Repeat f Send On INT Msq Address RAWy Message Data Bytes Stop Delay msec Fi i Ww Ww Ww Ww Ww Ww Ww Ww Ww Ww Ww Ww Ww Ww Ww EUR A RE RE IZ E I o00000000000000 ii Status fe l
54. sec yy yy yy Wy yy yy yy yy yy yy yy yy yy yy yy K AAA AAA AAA A A A e 00000050050500500500000 Status lt lt Link Closed gt Device Select ART Signal otop Cn Beep On Using Cam sing Cam m iPort Enable Monitor C Busy Busy C iPort Al Arb Loss Arb Loss iPart AFM O signal Level Slave Mak I Slave Nak Variable Clock ANT Assert 13 1 2 1Port Message Manager The iPort Message Manager operates with all versions of our IC Bus Host Adapters Using the Message Manager you can perform all four 4 modes of IC Bus message activity including e Master Transmit e Master Receive Slave Transmit Slave Receive Micro Computer Control Corp Port Message Manager File Optone Help Quick Start T MCC Port AFM Message Manager ES Communication Events Welcome to the iPart Message Manager El C Destination Address Master Tx Message Data ASCII Text or Hex 00 F F ba 00 01 02 BA ae Iw doStop Waster Ik mI Auto Repeat Eeter Tr Received Messages I Hex Display n Bytes ta Master Rx f M dostop Waster Fr Slave Tx Message Data ASCII Text ar Hex 00 FFT 00 01 02 DeviceSelect C Port C qPort A f Porth C Variable lose Assert MT Felease EE 14 2 System Requirements One of the following MCC I C Bus adapters iPort HMIIC 201 Windows to IFC Bus Host Adapter FC Bu
55. smit Data Slave transmit data is entered in the Slave Tx Message Bytes text box control on the main screen Data in this text box 1s 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 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 1n hexadecimal format 35 6 Uninstalling 1Port Utility Pack Click Start Programs 1Port Utility Pack uninstall Follow the on screen instructions 36 Part 3 1Port AFM Programmer s Reference Part 3 Programmer s Reference ASCII Command Interface Definitions Programmer s Quick Start Creating a custom 1Port AFM program is easier 1f you know what to expect Follow these steps to manually control the iPort AFM from your computer s keyboard and screen Install the 1Port AFM as directed in the Hardware Set Up section of this User s Guide 2 Usea terminal emulator program like Windows Hyperterminal to start communicating with the I
56. ster system from accessing the bus and interfering with message sequences The Message Center supports Repeated Starts with the doStop control 19 Sending an I C message with doStop enabled will cause the message to be terminated with a Stop Condition Sending an IC 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 4 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 5 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 I C adapter message data has no special 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 suppo
57. t linkClsed 00 Device Select INT Signal Stop On Beep On C Por T Enable Monitor Busy l Busy Using Com C iPort Al Arb Loss Arb Loss 2 c iPon AFM O Signal Level Slave Nak Slave Nak C Mariable Clock T ANT Assert Main Application The Port Message Center allows a PC to become an IFC Master transmitter or receiving device sending l C messages between the PC and one or more IC devices across an I C Bus The 1Port Message Center is designed to be a simple application for experimenting with IC messages It provides methods to ER Enter Edit a list of C Master Transmit or Receive Messages Save and or Load a list of I C Master messages to from disk 3 Transmit the current list of C 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 IC Bus events 4 Use command line arguments to automatically load send and save IC messages from a batch file or another program i Each I C message can transfer up to 32 bytes 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 following these simple steps 4 1 1 Starting the Message Center Click Start Programs Port Utility Pack Port Message Cent
58. ther I C Bus master wins arbitration while the adapter 1s attempting to become a bus master 4 2 8 Stop On Slave Negative Acknowledgment stopOnNak DefaultZOFF Stop sending IC 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 4 2 10 Beep On Arbitration Loss BeepOnArbLoss DefaultZOFF 24 Generate a host computer beep if the adapter returns a Bus Arbitration Loss response to the host computer Bus Arbitration Loss occurs when another I C Bus master wins arbitration while the adapter 1s attempting to become a bus master 4 2 11 Beep On Slave Negative Acknowledgment BeepOnNak Default OFF 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 a INT Signal Assert response to the host computer INT Signal Assert occurs if INT Signal Monitoring is enabled and a
59. u 6C x Received Messages I Hex Display Iv doStop Auto Repeat DeviceSelect C Port C jiPort Al iPo AFM Slave Tx Message Data ASCII Text or Hex 00 FF C Variable 00 01 02 Bytes to Master Rx M doStop Main Application The Message Manager is designed to be a simple application for experimenting with C messages Message Manager provides methods to 1 Set the IC adapter s own IFC 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 IFC Slave device Perform Master Read after Write operations Slave Transmit data to a requesting IC Master device Display Master or Slave Receive data in hexadecimal or ASCII Display C Bus communication events Assert or release the INT signal on supported adapters only ps oo 0 NA du 21 5 Message Manager Operations Communicating with another device on the IC Bus is easy Just install the software as described in Section 3 then following 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 IC 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
60. y 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 distributor or representative signature of Authorized Representative Name Edward Thompson Title President Micro Computer Control Corporation Date 09 JAN 07 63
Download Pdf Manuals
Related Search
Related Contents
プラマードUの防犯配慮 Car DVD Navigation User Manual User Manual 16/ 8/ 4CH H.264 Multiplex DVR Le texte du livre au format PDF (Acrobat Reader) à télécharger chapter 8 microEleva User Manual JVC TK-C1460 Security Camera User Manual Copyright © All rights reserved.
Failed to retrieve file