background image

24

Basic Set Up Screen

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.

Содержание iPort/AFM MIIC-203

Страница 1: ...TM 479 12 User s Guide RS 232 to I2 C Host Adapter with ASCII Fast Mode Interface with iPort Utility Pack for Windows www mcc us com...

Страница 2: ...n I2 C Bus This user s guide describes the installation and operation of the iPort AFM MIIC 203 RS 232 to I2 C Host Adapter with ASCII Fast Mode Interface and iPort Utility Pack Software for Windows M...

Страница 3: ...evise 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 Life Support Applic...

Страница 4: ...iNterrupt Signal Control 11 Hardware Configuration 12 Pull up Resistors 12 Connecting to a 3 3v System 12 Connecting to an SMBus System 12 Hardware Set Up 12 Part 2 iPort Utility Pack For Windows Int...

Страница 5: ...4 Set Destination I2 C Slave Address 34 Echo Prompt Control 34 Flow Control 34 I2 C General Call Control 35 Hex Only Display Control 35 Set iPort AFM s Own I2 C Slave Address 36 I2 C Bus Clock Rate Co...

Страница 6: ...47 iPort AFM Connection Closed 48 Invalid Command Argument 48 Slave Transmit Request Not Active 48 Invalid iPort AFM Command 48 iPort AFM RS 232 Receive Buffer Overflow 48 Example Code 49 iPort AFM R...

Страница 7: ...8 Part 1 Model MIIC 203 RS 232 to I2 C Host Adapter w ASCII Fast Mode Interface Model MIIC 203...

Страница 8: ...erhead 19 2 57 6 and 115 2 k selectable Baud Rates Supports Bus Master and Slave Transmit and Receive and INT Signaling Compatible with 3v to 5v I2 C at up to 400kbit s Compatible with iPort AI applic...

Страница 9: ...AFM User s Guide iPort Utility Pack for Windows Software Power Supply Standard 120VAC 60Hz USA Plug MWT 5VA European 220VAC 50Hz European Plug MWT 5VAE International 120 220 240VAC 50 60Hz Int Plug se...

Страница 10: ...ol is selected See the iPort AFM Flow Control command Communication Handshaking Protocol iPort AFM implements either XON XOFF by default or RTS CTS flow control protocols Either protocol can be select...

Страница 11: ...vailable from MCC Clip Lead cables are also available see Appendix A 4 INT Interrupt Signal Control The iPort AFM provides an open drain input output INT which can be connected to a corresponding pin...

Страница 12: ...ogical 1 Connecting to an SMBus System 1 Shut off iPort internal pull ups See Pull up Resistor section 2 Use external SMBus rated approx 15k ohm pull up resistors Hardware Set Up 1 Attach your iPort A...

Страница 13: ...14 Part 2 iPort Utility Pack for Windows V5...

Страница 14: ...sage Center that help a user get started sending and receiving I2 C Bus messages quickly iPort Message Center The iPort Message Center operates with all versions of the iPort I2 C Bus Host Adapter Wit...

Страница 15: ...Message Manager operates with all versions of the iPort I2 C Bus Host Adapter Using this program you can perform all four 4 modes of I2 C Bus messages activity including Master Transmit Master Receive...

Страница 16: ...ost Adapter with ASCII Interface 3 iPort AFM MIIC 203 RS 232 to I2 C Bus Host Adapter with ASCII Fast Mode Interface b Windows 95 or higher c 1 free RS 232 Serial Port 3 Software Installation Windows...

Страница 17: ...sending I2 C messages between the PC and one or more I2 C devices across an I2 C Bus The iPort Message Center is designed to be a simple application for experimenting with I2 C messages It provides m...

Страница 18: ...must take the following steps 1 Start Programs iPort Utility Pack iPort Message Center 2 Select which device you are operating with by choosing the corresponding image Opening Screen or the correct c...

Страница 19: ...s to 0xFE 6 To open an existing message list click File Open List on the menu bar To enter or edit a message List open the I2 C Message Editor screen by double clicking on a message row in the spreads...

Страница 20: ...to auto repeat upon completion or send on INT assert low Once the link has opened successfully you are now an active I2 C node Messages are entered into the message spreadsheet and are transmitted upo...

Страница 21: ...to 1 Set the device s I2 C Slave address General Call Enable and other operating parameters 2 Master Transmit ASCII text or Hex 00 FF data to a specified I2 C Slave Receiver device 3 Master Receive d...

Страница 22: ...e Select which device you are operating with by choosing the corresponding image Opening Screen or the correct checkbox on the main application The Main Application screen is opened by selecting an im...

Страница 23: ...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 I2 C Open Successful If this message does not appear che...

Страница 24: ...dcast an I2 C message to multiple devices 3 I2 C Bus Master Bit Rate iPort iPort AFM The speed of the Bus will run 100KHz is standard mode 400kHz is fast mode Use other rates if you are having trouble...

Страница 25: ...to troubleshoot communication problems 2 Log File Name iPort log file name if enabled 3 Log File Size Lines iPort log file length if enabled 4 Set the Destination Slave Address On the main screen use...

Страница 26: ...lick Ok and then the Master TX button to send the message The Communications Events window on the main screen should report Master TX Complete If this message does not appear check the slave device ad...

Страница 27: ...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...

Страница 28: ...mitted when a Slave Transmit Request is received from a Master device To Slave Receive a message Data bytes received from a Master Transmitter are automatically displayed in the Received Message windo...

Страница 29: ...30 Part 3 Programmer s Reference ASCII Command Interface Definitions V2...

Страница 30: ...sier for a person to interact with the iPort AFM from a terminal 5 Enter F0 or F1 to set iPort AFM s communications Flow Control to match your terminal 6 Enter Ixx xx 02 FE even to set iPort AFM s Own...

Страница 31: ...mit or Receive operations E 0 1 CR Echo Prompt Control 0 Disable 1 Enable Enable Disable data entry echo and prompts F 0 1 CR Flow Control 0 XON XOFF 1 RTS CTS Select serial communication handshaking...

Страница 32: ...c 0 Disable V CR Display Firmware Version Major XX XX Minor Requires Version 2 0 or later X CR eXtended Commands See Prompt or User s Guide Requires Version 2 0 or later Y CR Display Tx bYte Count Req...

Страница 33: ...Destination I2 C Slave Address 4EH Echo Prompt Disabled Flow Control XON XOFF Hex Only Display Enabled I2 C Connection Closed General Call Enabled iPort s own Slave Address 6EH I2C Bus Clock Rate 100...

Страница 34: ...ntry echo and prompts used as feedback to manual operations from a computer terminal Command E 0 1 CR Echo Prompt Control 0 Off 1 On Response iPort AFM Ready Default Setting Off Flow Control This comm...

Страница 35: ...visible at the application program level The RTS CTS protocol requires a serial port cabling and Host communication driver software that supports the additional control signals Command F 0 1 CR Flow C...

Страница 36: ...Command K 0 1 2 3 CR Set iPort AFM s Clock Rate Response 1 Default Setting K2 CR The iPort AFM clock rate for standard commands is controlled by the oscillator crystal we use on our microcontroller T...

Страница 37: ...se CR Status O Open I2C Connection Rn Master Rx Message No Stop S text Slave Tx Message T text Master Tx Message No Stop Un Set I2C Bus Time oUt in msec 0 Disable V Display Firmware Version Major XX X...

Страница 38: ...t of this data is controlled by the current setting of the Hex Only Display Control If the device acknowledges its I2 C Slave Address the specified number of bytes are read from the current Destinatio...

Страница 39: ...the Carriage Return CR character are used as special marker characters within all iPort AFM transmit text messages These characters may not be used within the text of a message but must be replaced by...

Страница 40: ...rn replaced by 0D iPort AFM automatically translates Hex equivalent characters to their single byte value for transmission across the I2 C Bus All entered data bytes are transmitted to the Destination...

Страница 41: ...inor eXtended Commands requires V2 00 The eXtended commands are used to generate out of spec signaling eXtended commands cannot use the I2C hardware to control the SCL and SDA lines as the I2C hardwar...

Страница 42: ...Mid Level Sub Commands 0 Send 0 Bit 1 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 respons...

Страница 43: ...mmand to a Xicor X9241 at slave address 0x50 WCR data is 0x00 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 0x3f C...

Страница 44: ...45 Display Tx bYte Count requires V2 00 Returns the number of bytes received by the slave device in the last master transmit message Command Y CR Tx bYte Count Response TBCn CR n 00000 32767...

Страница 45: ...Request to its Host device and initiates an I2 C Clock Stretch SCL Low until a Slave Transmit Text command is received from the Host computer While clock stretching no other messages can be transmitte...

Страница 46: ...e Required I2 C Bus Time out Detected Prompt I85 CR I2 C Bus Time out Detected Cause iPort AFM issues this response when an I2 C Bus message lasts for more than 1 second No corrective action is taken...

Страница 47: ...FM was busy Host should repeat the last command I2 C Bus Arbitration Loss Prompt I83 CR I2 C Arbitration Loss Detected Cause iPort AFM lost I2 C Bus Arbitration while Master Transmitting or Master Rec...

Страница 48: ...equest Not Active Cause This event indicates the Host attempted to issue a Slave Transmit Text command when no Slave Transmit Request was present Invalid iPort AFM Command Prompt I8F CR Invalid iPort...

Страница 49: ...R iPort AFM Initialization Comm1 Output f0 Set iPort AFM XON XOFF Flow Control Comm1 Output Chr 13 Comm1 Output i70 Set iPort AFM s Own Slave Address Comm1 Output Chr 13 Comm1 Output d4e Set Destinati...

Страница 50: ...omplete 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 LineB...

Страница 51: ...d Slave Tx Msg Comm1 Output Chr 13 Terminate Command TextBox Text LineBuf Update Display ElseIf StrComp iPortResp NSA 0 Then iNterrupt Signal Assert Detected TextBox Text iNterrupt Signal Assert Detec...

Страница 52: ...xtBox Text I88 iPort AFM Connection Closed ElseIf StrComp iPortResp I89 0 Then TextBox Text I89 Invalid Command Argument ElseIf StrComp iPortResp I8A 0 Then TextBox Text I8A Slave Tx Request Not Activ...

Страница 53: ...tional information on the I2 C Bus please refer to the following The I2 C and How to Use It http www mcc us com i2chowto htm 80C51 Based 8 Bit Microcontroller Data Handbook Philips Semiconductors Tel...

Страница 54: ...rchasing Company Violation of any of the above provisions automatically terminates the Purchaser s license Life Support Applications MCC Products are not designed for use in life support appliances de...

Страница 55: ...or consequential damage arising out of the use or inability to use such Software even if MCC has been advised of the possibility of such damages or for any claim by any other party In no event will MC...

Страница 56: ...MP Part 4 943197 1 Plugs Molex SEMCONN ACCESS bus Plug Molex Part 15 83 1564 AMP SDL Shielded Data Link Plug for ACCESS bus Bush Amp Part 520851 1 Ferrule Amp Part 520433 1 SDL Shell Amp Part 520461 1...

Отзывы: