Calibre UK IC Communication Adapter ICA93LV manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Calibre UK IC Communication Adapter ICA93LV, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Calibre UK IC Communication Adapter ICA93LV one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Calibre UK IC Communication Adapter ICA93LV. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Calibre UK IC Communication Adapter ICA93LV should contain:
- informations concerning technical data of Calibre UK IC Communication Adapter ICA93LV
- name of the manufacturer and a year of construction of the Calibre UK IC Communication Adapter ICA93LV item
- rules of operation, control and maintenance of the Calibre UK IC Communication Adapter ICA93LV item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Calibre UK IC Communication Adapter ICA93LV alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Calibre UK IC Communication Adapter ICA93LV, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Calibre UK service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Calibre UK IC Communication Adapter ICA93LV.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Calibre UK IC Communication Adapter ICA93LV item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    Revision 1.7 09/12/1999 ICA93LV I 2 C Communications A dapter User Ma nual Contents 1. Introduction 1 1.1. Pack ing List 1 2. Configuring the Adapter 2 2.1. Setting the Adapter Base Addres s 2 2.2. W ait State Generator 2 2.3. Interrupt Generation 3 2.4. Bus Te rm ination and Protection 3 2.5. Installing the Adapter 3 3. Connecting the Adapter to y[...]

  • Page 2

    Revision 1.7 Page 1 of 27 09/12/1999 1. Introduction The I 2 C Com m unications Adapter is a half length PC inter face c ard des igned to f it any IBM PC com patible expansion slot. Based on the Philips PCF8584 bus c ontroller, it f eatures f ull I 2 C bi-directional com patibility as either a m aster or slave. I 2 C connections are m ade via a 9 w[...]

  • Page 3

    Revision 1.7 Page 2 of 27 09/12/1999 2. Configuring the A dapter NOTE: MANY COM PONENT S ON THE ADA PTER CARD A RE STATIC SENSIT IVE. OBSERVE NORM AL STA TIC SENSIT IVE PRECA UTION S WHEN HANDLING THE CA RD! The adapter is supplied in a sta ndard configuration which should suit most applications. Howev er, some features are link selectable. Read th[...]

  • Page 4

    Revision 1.7 Page 3 of 27 09/12/1999 Important Note: Due to the internal operation of the ICA93, it must not be accessed o ver the PC bus (read or w ritten) more than o nce every nine of it s own clock cycles. The ICA93 is clocked at 12MHz ; therefore it MUST NOT be accessed more than once ev ery 0.75 microseconds. If this requirement is not observ[...]

  • Page 5

    Revision 1.7 Page 4 of 27 09/12/1999 3. Conn ecting th e A dapter to your System 3.1. Connec tor Pinout All external connec tions are m ade via a 9 way “D” sock et: Pin Norm al Mode 10 V 20 V 30 V 40 V 5N C 6 SDA (Bi-direc tional) 7 +V Variable bus voltage 8 SCL (Bi-direc tional) 9N C NOTE: THE PINS M A RKED NC MUST NOT BE CONNECT ED IN NORM A [...]

  • Page 6

    Revision 1.7 Page 5 of 27 09/12/1999 4. Getting Star ted 4.1. Resetting t he A dapter A reset forces the adapter into a well defined state, ready for initialisation. T he card uses the sam e reset line as the PC so either a power up or hard reset ( press the <RESET> button on your PC) will suff ice. 4.2. Introduction to the Utilities The util[...]

  • Page 7

    Revision 1.7 Page 6 of 27 09/12/1999 5. Using the Utilities Each utility is documented in a s tandard for mat, which lis ts its nam e, usage, f unction, and ef fect on the adapter is given. Following a reset, the adapter should be setup prior to any data transfer . 5.1. C Routines 5.1.1. I 2 C Setup/Initialisation Routine Name: setup(base, own, scl[...]

  • Page 8

    Revision 1.7 Page 7 of 27 09/12/1999 Parameters are: int controladdress address of I 2 C control r egister. T his is equal to 1+( base address of adapter set by links on circuit board) . Value Returned: int <status> where status is an integer from 0x 00 to 0xFF which indic ates the curr ent status of I 2 C Com munications Adapter . See Append[...]

  • Page 9

    Revision 1.7 Page 8 of 27 09/12/1999 { int base, slv, setnac k; base = 0x310; /* Adapter’s bas address = 0x 310 (hex) */ slv = 0xa0; /* I 2 C Address of s lave, this is a typical */ /* write for an I 2 C static RAM or EEPROM */ setnack = 0; /* Enable Acknowledge (see param eter */ /* descriptions ) */ sendaddress (base, slv, setnac k) ; printf(?[...]

  • Page 10

    Revision 1.7 Page 9 of 27 09/12/1999 /* This will read a by te of data fr om a slave previously addressed */ /* by and with acknowledge already disabled by sendaddress. */ /* After r eading the data, acknowledge will be re-enabled. */ 5.1.5. Write Data Byte to Slav e Routine Name: writeby te(base, data) Usage: writeby te(base, data) Function: proce[...]

  • Page 11

    Revision 1.7 Page 10 of 27 09/12/1999 #include <dos.h> /* Optional, but reco mm ended if your compiler */ /* supports DO S I/0 functions */ #include <i2c.h> /* This Contains the I 2 C routines */ mai n { int base, controladdr ess; base = 0x310; /* Adapter’s base addr ess = 0x310 ( hex) */ controladdres s = base + 1; /* Control Registe[...]

  • Page 12

    Revision 1.7 Page 11 of 27 09/12/1999 Name: setup (baseaddr%, own%, sc lk%) Usage: call setup(bas eaddr%, own%, sclk %) Function: procedure to s et up I 2 C Comm unications Adapter. Parameters are: baseaddr% base address of adapter s et by links on circuit board. own% I 2 C address to which the adapter is to respond in slave m ode. T his form s the[...]

  • Page 13

    Revision 1.7 Page 12 of 27 09/12/1999 baseaddr% = &h310 ‘* adapter’s base addr ess = 0x310 ( hex) * controladdres s% = baseaddr % + 1 status% = FNgets tatus%(contr oladdress%) print”I 2 C Com m unications Adapter Status = “;status % ‘* This will read the I 2 C Comm unications Adapter’s c urrent status * 5.2.3. I 2 C A ddress and Sta[...]

  • Page 14

    Revision 1.7 Page 13 of 27 09/12/1999 setnack % this controls whether the I 2 C Com munic ations Adapter trans mits and Ack nowledge down the I 2 C Bus on reception of a byte. The last byte received during a transf er m ust not be ack nowledged, in all other c ases ack nowledge mus t be enabled. If setnac k% = 0 then ac knowledge is enabled, if se [...]

  • Page 15

    Revision 1.7 Page 14 of 27 09/12/1999 Function: procedure to send a Stop (end of com m unication s ignal) down the I 2 C Bus, ending a transm ission or reception with a slave that was address previously by sendaddress . Parameters are: controladdres s% The addres s of the I 2 C Com m unications Adapter control register , equal to 1+(base addres s s[...]

  • Page 16

    Revision 1.7 Page 15 of 27 09/12/1999 slv% = &ha1 ‘* I 2 C Address of slave, this is a ty pical read address * ‘* for an I 2 C s tatic RAM or EEPROM* setnack % = 0 ‘* Enable Ac knowledge (s ee param eter descr iptions) * call restar t(baseaddr%, s lv%, setnack %) print”Restar t and I 2 C Slave Address s ent” ‘* This will send a Rest[...]

  • Page 17

    Revision 1.7 Page 16 of 27 09/12/1999 baseaddress is the addres s at which the adapter has been inst alled, e.g. 310H ownaddress I2C address to which the adapter is to res pond in slave mode. T his f orm s the upper 7 bits of the 8 bit addres s, the lowest bit being the read (1) or write (0) bit. This m eans that if ownaddres s = 57H the card will [...]

  • Page 18

    Revision 1.7 Page 17 of 27 09/12/1999 Setnack 1 for no ac knowledge 0 for ack nowledge. Paramete rs returned I 2 Cdata, the data read, if a time-out oc curs the Er rCode 8005H is returned. Prerequisites Adapter m us t be conf igured us ing set up, star t and read address s ent by sendaddress. Functional Desc ription If setnack is 1 the function wri[...]

  • Page 19

    Revision 1.7 Page 18 of 27 09/12/1999 getstatus Function spec ification: Int getstatus ( ) Paramete rs returned I 2 Cstatus, the current value of the bus status . Prerequisites Adapter m us t be configur ed using setup. Functional desc ription The f unction reads status word fr om the adapter and returns it. recover Function spec ification: Int rec[...]

  • Page 20

    Revision 1.7 Page 19 of 27 09/12/1999 W hen all the by tes have been transm itted a stop is issued and the total number of bytes is returned. Sendby tes can only be used in mas ter write m ode. getbyte s Function spec ification Int getby tes (int far *transfer array) The f ar pointer m ust point to a s ingle dimens ional array the form at of which [...]

  • Page 21

    Revision 1.7 Page 20 of 27 09/12/1999 Getbytes can only be used in m aster read m ode. slavelastbyte Function spec ification void slavelastbyte( ) Paramete rs returned none. Prerequisites Adapter m us t be configur ed using set up. T his func tion would norm ally only be called following the end of a tr ansm ission in slave write mode – when the [...]

  • Page 22

    Revision 1.7 Page 21 of 27 09/12/1999 6. Furth er Information The f ollowing references m ay be found usef ul when using the adapter: Philips Semic onductor s Tec hnic al Handbook Book 4 Par ts 12a and 12b. T hese give details of the I2C com patible ICs, and the I 2 C Bus specific ation. The PCF 8584P used on the adapter is included in later editio[...]

  • Page 23

    Revision 1.7 Page 22 of 27 09/12/1999 7. Th e Real-Time Bu s Mo nitor The progr am REALTIM1.EX E in the MONTO R director y is a completely non-invasive real-tim e bus monitor which records ac tivity on an I 2 C-bus , post-proces ses the data and stores the results in an ASCII file. This file can be printed out or exam ined w ith a word-process or a[...]

  • Page 24

    Revision 1.7 Page 23 of 27 09/12/1999 A ppendix A I 2 C Communications A dapter S tatus Codes This is an eight bit register, read using the gets tatus routine. Each individual bit has its own m eaning as follows: Bit 7 (MSB) - The PIN Bit The PIN bit “Pending Inter rupt Not” is a read- only flag which is us ed to s ynchronize serial com m unica[...]

  • Page 25

    Revision 1.7 Page 24 of 27 09/12/1999 A ppendix B – I 2 C Communic ations A dapter Control Codes The Control Regis ter should norm ally be w ritten using the setup, s endaddress and sends top routines. T o implem ent m ore advanc ed functions such as enabling hardware interrupt generation or im plementing long distance mode, these r outines m ay [...]

  • Page 26

    Revision 1.7 Page 25 of 27 09/12/1999 A ppendix C - T he M ost Commonly Asked I 2 C Questions General Ques tions Question Will my adapter work in a Pentium PC? Answer Y es and there is no need to alter LK 4 f rom the position in which your adapter was shipped. Question Will my adapter run I2C clock speeds greater than 90KHz? Answer At the mom ent y[...]

  • Page 27

    Revision 1.7 Page 26 of 27 09/12/1999 W indows 95 START - Run regedit HKEY_LOCAL_MACHINE | |--S YS TEM | |--CurrentControlSet | |--S ervi ces | |--Cl ass | |--W inRT | |--W inRTdev0 | |--Parameter s |--Section0 |--Section1 W indows NT ST ART - Run r egedit HKEY_LOCAL_MACHINE | |--S YS TEM | |--CurrentControlSet | |--S ervi ces | |--W inRT | |--W in[...]