Benutzeranleitung / Produktwartung MIIC-203 des Produzenten SUPER MICRO Computer
Zur Seite of 56
TM !479,12 User’s Guide RS-232 to I 2 C Host Adapter w ith ASCII Fast Mode Interface with iPort Utility Pack for Windows www. m c c - u s . c o m.
Introduction The MCC iPort/AFM (#MIIC-203) RS-232 to I 2 C Host Adapter with ASCII Fast Mode Interface allows any PC, Host Computer, or Data Terminal with an RS-232 port to become an I 2 C Master or Slave device, transmitting or receiving I 2 C messages to one or more I 2 C devices across an I 2 C Bus.
Copyright© 2002 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.
Table of Contents: Part 1 RS-232 to I 2 C Host Adapter w/ASCII Fast Mode Interface Overvi ew .............................................................. 8 i P o r t / A F M A d a p t e r ................................................. 8 iPort Utility Pac k Softwa re .
M a s t e r O p e r a t i o n s ................................................. 2 6 T o M a s t e r T r a n s m i t D a t a ....................................... 2 6 To Mast er Receive Data ........................................ 2 7 S l a v e O p e r a t i o n s .
i N t e r r u p t S i g n a l A s s e r t ......................................... 4 6 i N t e r r u p t S i g n a l R e l e a s e ....................................... 4 6 i P o r t / A F M P r o m p t s ...........................................
8 Part 1 Model MIIC-203 RS-232 to I 2 C Host Adapter w/ASCII Fast Mode Interface Model MIIC-203.
9 RS-232 to I 2 C Host A dapter w /A SCII Fast Mode Interface Ov erv iew The MCC iPort/AFM (#MIIC-203) RS-232 to I 2 C Host Adapter with ASCII Fast Mode Interface allows any PC, Host Computer, or Data.
10 RS-232 Serial Port Connector Packing Slip This package includes the following items: • iPort/AFM (#MIIC-203) RS-232 to I 2 C Host Adapter with ASCII Fast Mode Interface. • 4 Foot I 2 C Interface Cable. (#CAB4) • 1Ft. /INT-Trigger Cable (#AXM-12G) • Serial Port Cable, 9F/25M, 1 Foot Long.
11 DB-25 Serial Port Pinout DB-25 Pin 2, Transmit Data from the Host Computer to the iPort DB-25 Pin 3, Receive Data from the iPort to the Host Computer. DB-25 Pin 4, Request to Send from the Host Computer to iPort. DB-25 Pin 5, Clear to Send from the iPort to the Host Computer.
12 3. I 2 C Interface Connector The iPort/AFM Host Adapter includes a four wire, positive locking, modular connector (see Appendix A for more info on these parts) for interfacing to an external I 2 C Bus. Lines provided include I 2 C Clock (SCL), Data (SDA), Ground, and +5VDC.
13 Hardw are Configuration Pull-up Resistors The iPort/AFM Host Adapter includes a slide switch used to enable or disable internal 1.8K ohm Pull-Up resistors on the SCL, SDA, and INT lines. Every I 2 C Bus system must have at least one Pull-Up on each line.
14 Part 2 iPort Utility Pack for Windows V5.
15 iPort Utility Pack for Windows 1. Introduction to Utility Pack This product includes two (2) Windows applications (Message Manager and Message Center) that help a user get started sending and receiving I 2 C Bus messages quickly. iPort Message Center The iPort Message Center operates with all versions of the iPort I 2 C Bus Host Adapter.
16 iPort Message Manager The Message Manager operates with all versions of the iPort I 2 C Bus Host Adapter. Using this program you can perform all four (4) modes of I 2 C Bus messages activity, inclu.
17 2. System Requirements a. One of the following: 1. iPort (#MIIC-201) Windows to I 2 C Bus Host Adapter. 2. iPort/AI (#MIIC-202) RS-232 to I 2 C Bus Host Adapter with ASCII Interface 3. iPort/AFM (#MIIC-203) RS-232 to I 2 C Bus Host Adapter with ASCII Fast Mode Interface.
18 iPort Message Center for Window s Introduction to Message Center The iPort Message Center supports I 2 C Master Transmit and Receive activities for all versions of the iPort I 2 C Bus Host Adapter. With this program you can create, save, and execute scripts of I 2 C Master messages.
19 Opening Screen Main Application I 2 C Message Operations In order to communicate with another I 2 C device, a user must take the following steps: 1.
20 3. Select the PC ComPort where the iPort is connected to y our computer. 4. Use the Options menu to override default Baud Rate and I 2 C Bus Clock rate settings. 5. Establish a link to the iPort with the Open button. The iPort Message Center software sets the iPort ’ s own I 2 C Slave address to 0xFE.
21 You can insert a new message between existing messages by clicking once on message below w here you want to insert, press the “ Insert ” button on your key board, this will bring up the I 2 C Message Editor screen, set all information and click OK.
22 iPort Message Manager Softw are for Window s Introduction to Message Manager The MCC iPort Message Manager Software, w hen used in conjunction with an MCC iPort allows a PC to become an I 2 C Master or Slave device, transmitting or receiving I 2 C messages between the PC and one or more I 2 C devices across an I 2 C Bus.
23 Opening Screen Main Application I 2 C Message Operations In order to communicate with another I 2 C device, a user must take the following steps: 1.
24 Basic Set Up S creen Basic Set-up Select the PC ComPort attached to your iPort and the baud rate, then click OK. The Communications Events window on the Main Screen should report “ I 2 C Open Successful ” . If this message does not appear, check the iPort connections and power.
25 Advanced Set Up Screen A dvanced Set-up On the Advanced Set-up screen you can set the follow ing parameters: 1. iPort I2C Slave Address Select iPort ’ s I 2 C slave address. iPort w ill acknowledge messages sent to this address. 2 .iPort General Call Enabled allows iPort to respond to the I 2 C general call address (00).
26 Diagnostic Set Up Screen Diagnostic Set-up (iPort Only) On the Diagnostic Set-up screen you can set the follow ing parameters: 1. iPort Log File Level Select iPort logging level.1 gives minimal info, 4 is verbose. Use the log file to troubleshoot communication problems.
27 Sending Messages Master Operations 1. To Master Transmit Data On the main screen, set the Master Tx Message Bytes edit box to the data you w ant to send by single clicking on the box. For example: To send a 0x05(hexadecimal) to the device, enter ~05 in the edit box.
28 2. To Master Receiv e Data On the main screen, use the I 2 C Destination Address list control to set the slave address of the device you w ant to communicate with. Main Application Screen On the lower part of the main screen, set the By tes to MasterRx edit box to the number of bytes y ou want to read.
29 Slave Operations To Slav e Transmit a message: Enter data to be transmitted in the Slave Tx Message Bytes control by single clicking. Binary data by tes are entered using a three character Hex-Equivalent format (~00 ... ~FF), you may also type in ASCII text.
30 Part 3 Programmer ’ s Reference ASCII Command Interface Definitions V2.
31 iPort/AFM Quick Start Follow these steps to start sending and receiving I 2 C messages: 1. Install iPort/AFM as directed in the “ Installation Instructions ” section of this User ’ s Guide. 2. Use a terminal emulator program (like the Windows Terminal Program or Windows Hyperterminal) to get started.
32 iPort/AFM ASCII Text Interface Comm ands Note: [CR] = Carri age Return Code or Enter Key . Syntax: [Select], (Optional), xx = [00..FE], n = [0..32767] Command Description Ctrl/R,Ctrl/R,Ctrl/R iPort/AFM Reset This command resets the iPort/AFM to its default state.
33 /N( [0|1|A|R] )[CR] 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 I 2 C Connection Activates iPort/AFM as an I 2 C device attached to the bus.
34 Command: Ctrl/R,Ctrl/R,Ctrl/R ‘ iPort Reset Response. * ‘ iPort/AFM Ready Default Setting: None Status Display This command displays current iPort/AFM status. Command: //[CR] 'Status Display Response: iPort/AFM I 2 C Host Adapter w/ASCII Fast Mode Interface Vxx.
35 Close I 2 C Connection This command disconnects iPort/AFM from the I 2 C Bus. Command: /C[CR] 'Close I 2 C Connection Response: /CCC[CR] 'Close Connection Complete Default Setting: 'Closed Set Destination I 2 C Slave Address This command sets the destination I 2 C Slave Address (Hex 0,2.
36 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. The CTS wire is an input signal.
37 Command: /H[0|1][CR] 'Hex Only Display [0 = Disabled, 1 = Enabled] Response: * 'iPort/AFM Ready Default Setting: Enabled Set iPort/AFM ’ s Own I 2 C Slave Address This command sets iPort/AFM's own I 2 C Slave Address (Hex 2.
38 // Status Display /B[0|1|2] RS-232 Baud Rate Control (0=19.2, 1=57.6, 2=115.2KHz) /C Close I2C Connection /Dxx Set Destination I2C Slave Address /E[0|1] Echo/Prompt Control (0=Disable, 1=Enable) /F.
39 Master Read Message This command causes iPort/AFM to read the specified number of data bytes from the currently selected Destination I 2 C Slave Address with or without generating an I 2 C Stop condition after the last byte is received. Enter Byte Count (Decimal 0.
40 Slave Transmit Message This command should be issued to iPort/AFM in response to a Slave Transmit Request (/STR). This command causes iPort/AFM to write the specified data bytes to the requesting I 2 C Master Receiver device. Enter Message Bytes (1 or more Printable ASCII or Hex-equivalent ~00.
41 /Sab~7Ecd[CR] ‘ Tilde embedded in ASCII Printable characters /S12~0D24[CR] ‘ Carriage Return embedded in ASCII Printable characters Master Transmit Message This command causes iPort/AFM to writ.
42 Default Setting: None Examples: /Tabcd1234[CR] ‘ ASCII Printable characters "abcd1234" /T~00~01~02[CR] ‘ Binary data bytes 00, 01,02 /*T~00~01~02[CR] ‘ Binary data bytes 00, 01,02 w.
43 Comm and : /X[S|~xx|R| r|P|0| 1| ? | D|d|C| c|L|A| |"]..., then Press Enter or ESCape Enter /X fo llowed by zero or more sub-comm ands, th e [CR] Response: /XCC(see com m ands below)[CR] High Level Sub-Com mands: S = Send Start ~xx = Send Byte (xx = 00.
44 Mid Level Response: /XCC0000[CR] Low Level Com m and:/X dc dCcDCcdCcdCcDCcDCcDCcdCc DCAc dCcdCcdCcdCcdCcdCcdCcDCc DCAcdCcdCcdCcdCcdCcdCcDCcdCc DCAc dCcdCcdCcdCcdCcdCcdCcDCc DCAc dCD[CR] Low Level Response: /XCC0000[CR] Master read three bytes from slave address 0x4F.
45 Display Tx bYte Count (requires V2.00+) Returns the num ber of bytes received by the slave device in the last master transm it m essage. Command: /Y[CR] 'Tx bYte Count Response: /TBCn[CR] 'n =00000.
46 Asynchronous Interface Events Asynchronous Events are those iPort/AFM interface activities initiated by the iPort/AFM I 2 C Host Adapter in response to activities on the I 2 C Bus. Slave Transmit Request This event is caused by the reception of an I 2 C Bus Slave Transmit message directed at the current iPort/AFM ’ s own Slave address.
47 The received text is a representation of the data bytes within the Slave Receive message. The format of this data is controlled by the current setting of the Hex Only Display Control .
48 iPort/AFM Prompts iPort/AFM Prompts are messages generated by iPort/AFM in response to Host computer commands. iPort/AFM Ready Prompt: * ‘ iPort/AFM Ready Cause: iPort/AFM is ready for the next Host command.
49 iPort/AFM Connection Closed Prompt: /I88[CR] ‘ iPort/AFM Connection is Closed. Cause: Host is attempting to perform an I 2 C Bus message operation while the iPort/AFM Connection is Closed. The Host should issue an Open I 2 C Connection command before attempting to perform I 2 C Bus message operations.
50 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 iPort/AFM interface programs in other programming languages and operating environments.
51 If Msg$ = Chr$(13) Then Msg$ = "" ' Remove CR If Msg$ = Chr$(10) Then Msg$ = "" ' Remove LF If Msg$ = "*" Then ' if iPort/AFM Ready Msg$ = "****&qu.
52 ElseIf (StrComp(iPortResp$, "/BC2") = 0) Then ' iPort/AFM Baud Change 2 {115.2K} TextBox.Text = "iPort/AFM Baud Change 0 {115.2K} " ' Test for iPort/AFM Asynchronous Interface Events ElseIf (StrComp(iPortResp$, "/SRC") = 0) Then ' Slave Rx Complete Processing TextBox.
53 TextBox.Text = "/I83 Arbitration Loss" 'Update Display ElseIf (StrComp(iPortResp$, "/I84") = 0) Then TextBox.Text = "/I84 I2C Bus Error Detected" ElseIf (StrComp(iPortResp$, "/I85") = 0) Then TextBox.
54 iPort/AFM Revision Report This section defines revisions and changes made to the iPort/AFM interface: Revision: 1.02 1. Initial Release Revision: 2.
55 Software License Agreement BY INSTALLING THIS SOFTWARE, YOU ARE AGREEING TO BECOME BOUND BY THE TERMS OF THIS AGREEMENT. IF Y OU DO NOT AGREE TO THE TERMS OF THIS AG REEMENT, PROMPTLY RETURN THE EN.
56 implied, included but not limited to the implied warranties of merchantability and fitness for a particular purpose. The Purchaser assumes entire risk as it applies to the quality and performance of the Softw are.
57 Appendix A Interface Connector and Plug Information MCC uses two (2) different connectors and plug assemblies. These parts are all compatible with one another and are interchangeable. Connectors Molex SEMCONN ACCESS.bus Receptacle Connector Molex Part # 15-83-0064 AMP SDL (Shielded Data Link) Connectors for ACCESS.
Ein wichtiger Punkt beim Kauf des Geräts SUPER MICRO Computer MIIC-203 (oder sogar vor seinem Kauf) ist das durchlesen seiner Bedienungsanleitung. Dies sollten wir wegen ein paar einfacher Gründe machen:
Wenn Sie SUPER MICRO Computer MIIC-203 noch nicht gekauft haben, ist jetzt ein guter Moment, um sich mit den grundliegenden Daten des Produkts bekannt zu machen. Schauen Sie zuerst die ersten Seiten der Anleitung durch, die Sie oben finden. Dort finden Sie die wichtigsten technischen Daten für SUPER MICRO Computer MIIC-203 - auf diese Weise prüfen Sie, ob das Gerät Ihren Wünschen entspricht. Wenn Sie tiefer in die Benutzeranleitung von SUPER MICRO Computer MIIC-203 reinschauen, lernen Sie alle zugänglichen Produktfunktionen kennen, sowie erhalten Informationen über die Nutzung. Die Informationen, die Sie über SUPER MICRO Computer MIIC-203 erhalten, werden Ihnen bestimmt bei der Kaufentscheidung helfen.
Wenn Sie aber schon SUPER MICRO Computer MIIC-203 besitzen, und noch keine Gelegenheit dazu hatten, die Bedienungsanleitung zu lesen, sollten Sie es aufgrund der oben beschriebenen Gründe machen. Sie erfahren dann, ob Sie die zugänglichen Funktionen richtig genutzt haben, aber auch, ob Sie keine Fehler begangen haben, die den Nutzungszeitraum von SUPER MICRO Computer MIIC-203 verkürzen könnten.
Jedoch ist die eine der wichtigsten Rollen, die eine Bedienungsanleitung für den Nutzer spielt, die Hilfe bei der Lösung von Problemen mit SUPER MICRO Computer MIIC-203. Sie finden dort fast immer Troubleshooting, also die am häufigsten auftauchenden Störungen und Mängel bei SUPER MICRO Computer MIIC-203 gemeinsam mit Hinweisen bezüglich der Arten ihrer Lösung. Sogar wenn es Ihnen nicht gelingen sollte das Problem alleine zu bewältigen, die Anleitung zeigt Ihnen die weitere Vorgehensweise – den Kontakt zur Kundenberatung oder dem naheliegenden Service.