Calibre UK UCA93 When the the Most Commonly Asked I2C Questions, General Questions, Do next?

Page 25

 

 

CALIBRE

 

 

 

 

 

 

 

 

 

When the THE MOST COMMONLY ASKED I2C QUESTIONS

 

General Questions

Question

I get corrupted transfers why is this?

Answer

The most likely reason for corrupted transfers is either incorrect bus termination or

 

excessive capacitance - see the manual for details.

Question

Do you have software to talk to my........?

Answer

Unfortunately there are too many I2C devices for us to be able to offer complete

 

solutions - although we can supply a windows based application called WINI2C which is

 

designed for those just starting I2C or wishing to perform simple I2C tasks, please

 

contact our sales team or look on our web site, www.calibreuk.com for further

 

information.

Question

I am trying to read from a device, the first time my software works fine but when I

 

try again I can't get anything what's wrong?

Answer

Please check that you are changing the value of Setnack in accordance with the

 

manual, it is likely that you have not made Setnack 1 for the last byte being read.

 

Windows Questions

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.

 

Issue 1.0

Page 22

01/07/03

 

Image 25
Contents Calibre Calibre Contents General Introduction Connecting the Adapter to your SystemPacking List Bus Termination and ProtectionBus Capacitance Limitations/Cable Choice Variable Voltage Bus Power SupplyIntroduction Installing the AdapterLibraries for Programming in Microsoft Windows Environments Function Prototypes Calibre Int ownaddress Int SlaveBlockTimeoutInt ClockSpeed Int BusVoltageSendAddress Int DataByteInt I2CData NoneInt I2Cstatus Using the AdapterInt NoTries Int NoBytesToSendInt DataVal Returns an unused integerInt RdData Int TimeoutInt NoBytesToTransmit Int NoBytesToReceive Int PullupVoltage Int Int IOStateSendAddressNoStatus WriteByteNoStatus Stop Real-Time Bus MonitorAppendix a I2C Communications Adapter Status Codes Bit 4 The BER Bus Error BitBit 7 MSB The old PIN Bit Bit 5 The old STS BitPolling the Status Register and how to avoid it USB Bus CharacteristicsBlock Functions Block Write FunctionSlave Receiver Function Slave Transmitter FunctionCalibre Question Get corrupted transfers why is this? When the the Most Commonly Asked I2C QuestionsGeneral Questions Question Do you have software to talk to my........?