Calibre UK ICA93LV user manual Hkeylocalmachine System

Page 27

Windows 95 START - Run regedit

HKEY_LOCAL_MACHINE

--SYSTEM

--CurrentControlSet

--Services

--Class

--WinRT

--WinRTdev0

--Parameters --Section0 --Section1

Windows NT START - Run regedit

HKEY_LOCAL_MACHINE

--SYSTEM

--CurrentControlSet

--Services

--WinRT

 

 

--WinRTdev0

 

 

--Parameters

 

--Section0

 

--Section1

Question

I am using your Windows 95 / NT DLL and I am always getting a time out error

 

code. Why?

Answer

Check the Syntax of the setup function, swapping the Status Wait and Sclk parameters

 

most usually causes this problem.

 

The correct syntax is i2cstatus = setup (baseaddress, ownaddress, sclk, statuswait)

Question

I have read the manual and still cannot get the communications to run. What do I

 

do next?

Answer

Check that you have fully implemented the protocol between the adapter and the other

 

I2C devices see the device manufacturers data sheet for details.

 

Check that the software you have written is logically and syntactically correct - this is

 

probably the most common cause of software faults we have to deal with.

Send us the following details:-

1)The link settings of the adapter.

2)A sketch of the relevant I2C hardware including the location of bus termination.

3)The type and speed of processor within your PC and which operating system, you are running.

4)Brief software listings, or which Calibre software you are running.

5)The serial number of your I2C adapter, or when you purchased it.

PLEASE EMAIL YOUR QUERY TO:

techsupport@calibreuk.com

OR FAX YOUR QUERY TO:

44-1274-730960

We will endeavour to help you.

 

Revision 1.7

Page 26 of 27

09/12/1999

 

Image 27
Contents ICA93LV ContentsPacking List IntroductionConfiguring the Adapter Setting the Adapter Base AddressWait State Generator Bus Termination and Protection Installing the AdapterBus Capacitance Limitations/Cable Choice Connecting the Adapter to your System Connector PinoutNormal/Long Distance Mode Variable Voltage Bus Power SupplyTurboBASIC Library/Programs Getting Started Resetting the AdapterIntroduction to the Utilities Library/ProgramsUsing the Utilities Routines 1. I2C Setup/Initialisation Routine2. I2C Status Checking Routine 3. I2C Address and Start Sending Routine 4. I2C Read Data Byte from Slave Routine Send an I2C Stop Routine Write Data Byte to Slave Routine7. I2C Restart and Address Sending Routine TurboBASIC Routines 1. I2C Setup/Initialisation Routines2. I2C Status Checking Routine 3. I2C Address and Start Sending Routine Write Data Byte to Slave Routine 7. I2C Restart and Address Sending Routine Visual Basic 3.0 function SetupSendaddress Sendaddress SendstopRestart Sendbytes GetstatusGetbytes Slavelastbyte Further Information Real-Time Bus Monitor BUS ErrorBit 5 The STS Bit Appendix a I2C Communications Adapter Status CodesBit 7 MSB The PIN Bit Bit 6 Not UsedAppendix B I2C Communications Adapter Control Codes DOS Software Questions Question Do you have software to talk to my........?Hkeylocalmachine System