SUPER MICRO Computer MIIC-203 manual

Page 51

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.Text = LineBuf$

'Update Display

ElseIf (StrComp(iPortResp$, "/GRC") = 0) Then ' General Call Rx Complete Processing

TextBox.Text = LineBuf$

'Update Display

ElseIf (StrComp(iPortResp$, "/STR") = 0) Then

' Slave Tx Request Processing

 

Comm1.Output = "/S~00~01"

'Send 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 Detected

'Update Display

ElseIf (StrComp(iPortResp$, "/NSR") = 0) Then

' iNterrupt Signal Release Detected

TextBox.Text = iNterrupt Signal Release Detected

'Update Display

' Test for iPort/AFM Response Messages

ElseIf (StrComp(iPortResp$, "****") = 0) Then TextBox.Text = "* iPort/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 iPort/AFM Busy" 'Update Display

ElseIf (StrComp(iPortResp$, "/I83") = 0) Then

52

Image 51
Contents 479,12 Introduction Page Table of Contents Programmer’s Reference Ascii Command Interface Definitions Page Model MIIC-203 PartOverview RS-232 to I2C Host Adapter Ascii Fast Mode InterfacePacking Slip RS-232 Serial Port ConnectorSystem Requirements InterconnectsDB-25 Serial Port Pinout +5VDC Power JackINT, Interrupt Signal Control I2C Interface ConnectorPull-up Resistors Connecting to a 3.3v SystemConnecting to an SMBus System Hardware Set-UpIPort Utility Pack for Windows Introduction to Utility Pack IPort Message CenterIPort Message Manager Software Installation Page I2C Message Operations Page Page Page Starting the program Select iPort DeviceEstablish iPort Link Basic Set-up Advanced Set-up Diagnostic Set-up iPort Only To Master Transmit Data Sending Messages Master OperationsTo Master Receive Data Uninstalling iPort Utility Pack To Slave Transmit a messageTo Slave Receive a message Programmer’s Reference IPort/AFM Quick Start Command Description IPort/AFM Ascii Text Interface CommandsSynchronous Interface Events IPort/AFM ResetRS-232 Baud Rate Status DisplayFlow Control Close I2C ConnectionSet Destination I2C Slave Address Echo/Prompt ControlHex Only Display Control I2C General Call ControlCommand Menu Display Set iPort/AFM’s Own I2C Slave AddressI2C Bus Clock Rate Control Open I2C Connection Interrupt Signal Control/StatusMaster Read Message Slave Transmit Message Master Transmit Message EXtended Commands requires V2.00+ Set I2C Bus Time-oUt in msecDisplay Firmware Version requires V2.00+ Page Issue a Read WCR command to a Xicor X9241 at slave address Display Tx bYte Count requires V2.00+ General Call Receive Complete Asynchronous Interface EventsSlave Transmit Request Slave Receive CompleteINterrupt Signal Assert INterrupt Signal ReleaseI2C Bus Time-out Detected Slave Not Acknowledging I2C Bus Error DetectedIPort/AFM Prompts IPort/AFM ReadySlave Transmit Request Not Active Invalid Command ArgumentInvalid iPort/AFM Command IPort/AFM Connection ClosedCommunication Event Processing Example CodeIPort/AFM Initialization Master Receive MessagePage Page Page Micro Computer Control Corporation IPort/AFM Revision ReportRevision Additional InformationLife Support Applications Limited WarrantyLimitation of Remedies and Damages Appendix a