Calibre UK UCA93 manual Real-Time Bus Monitor, Stop

Page 20

CALIBRE

The Real-Time Bus Monitor

To install the monitor run the setup program located in the \CD_USB\USB_Monitor folder, follow the instructions given by the installation wizard.

Before attempting to run the monitor program ensure that the device drivers are installed correctly in accordance with this manual.

The program UI2C_MONITOR.EXE is a windows based non-invasive real-time bus monitor which records activity on an I2C-bus. The transfers are processed into a simple to read format which can be saved to the PC hard disc.

The monitor can be configured to capture all transfers or alternatively it can capture all transfers between a start and end address. These features allow the user to capture only those transfers which are of interest.

Every effort has been made to ensure that the monitor captures all of the transfers it is possible that the program may miss part of a transfer on heavily loaded I2C buses, this is due to the operating system servicing other hardware and / or applications. To minimise the amount of data missed we recommend that you close as many windows applications as possible especially all windows messaging applications, e-mail and FindFast. We also recommend that you run the application from a 900MHz PC (or better), note the application will run on a lesser specification PC but you are likely to miss more data.

The following mnemonics are used by the monitor program.

SaXX

Start code followed by address, acknowledged.

SnXX

Start code followed by address, not acknowledged.

DaXX

Data byte, acknowledged.

DnXX

Data byte, not acknowledged.

STOP

Stop code.

BUS ERROR A bus error has occurred. This is non-fatal to the monitor but a small amount of data may have been lost whilst recovery was taking place.

Issue 1.0

Page 17

01/07/03

 

Image 20
Contents Calibre Calibre Contents Connecting the Adapter to your System General IntroductionPacking List Bus Termination and ProtectionVariable Voltage Bus Power Supply Bus Capacitance Limitations/Cable ChoiceInstalling the Adapter IntroductionLibraries for Programming in Microsoft Windows Environments Function Prototypes Calibre Int SlaveBlockTimeout Int ownaddressInt ClockSpeed Int BusVoltageInt DataByte SendAddressInt I2CData NoneUsing the Adapter Int I2CstatusInt NoBytesToSend Int NoTriesInt DataVal Returns an unused integerInt NoBytesToTransmit Int TimeoutInt RdData Int NoBytesToReceive Int PullupVoltage Int IOState IntSendAddressNoStatus WriteByteNoStatus Real-Time Bus Monitor StopBit 4 The BER Bus Error Bit Appendix a I2C Communications Adapter Status CodesBit 7 MSB The old PIN Bit Bit 5 The old STS BitUSB Bus Characteristics Polling the Status Register and how to avoid itBlock Functions Block Write FunctionSlave Transmitter Function Slave Receiver FunctionCalibre When the the Most Commonly Asked I2C Questions Question Get corrupted transfers why is this?General Questions Question Do you have software to talk to my........?