Home

USB-to-I2C Elite Software User`s Manual

image

Contents

1. D A Msg Start Address R W Data Stop Delay Notes AE Write 00 01 02 03 04 05 06 07 08 Write 8 data bytes to eeprom with 10ms write cycle AE Write 00 Send subaddress 0x00 to eeprom AE Read 01 02 03 04 05 06 07 08 Read 8 bytes from eeprom Send Message Send All Send Sequence Send Continuously Active Msg 1 Done Transmission successful Hardware Detected 3 3 Off SON Off It is not required to perform a compress but it does speed up the message transfer process since the application does not need to evaluate blank rows to see if there is data to be sent Send Message The current message will be sent when this button is pressed The current message number is shown below the Send Message button To change the active message to be sent single click on the row of the data to be sent Send All All the valid messages on the screen will be sent in order of the row number The action will be performed one time A message is valid if there is a minimum of an address within the message Since the program tests for a valid message on each line within the message grid before sending the message itis recommended not required to compress the data see Compress Data above to speed up the transfer Send Sequence A sequence of messages will be sent when the Send Sequence button is pressed The sequence editor is invoked by double clicking on the sequence display The sequence length can be up t
2. Fill to FF Fill with FF Fill Buffer Copy from Copy to 00 7F 80 Copy Block S File Edit Device Options 0 1 00 0 1 o EN EBEN 0 EN 0 WG m H EMEN M M Transmission successful 9 USB to I2C Elite Software User s Manual Write Page Size Selection The Page Write Size defines the number of bytes that may be written in a single erase write programming cycle Smaller devices generally use an 8 or 16 byte pages while larger devices use up to 128 bytes per page Check the device datasheet to find the appropriate page write size for the device you are programming If you do not know the page size use a small page size such as 8 bytes A smaller page size will require a longer total programming time for a device Erase Write Cycle Time Programming software must allow a certain period of time to elapse after writing a block of data to an EEPROM This time is device dependent but is normally between 5ms and 40ms A STOP condition must be performed before the erase write cycle commences Most EEPROMs will not respond to their address until the erase write cycle has been completed Data Grid The data grid consists of rows and columns Each cell within the grid contains a two digit hexadecimal number Each cell corresponds to a physical byte location within the memory device For example in the diagram below cell 0x21 is highlighted row 2 column 1 This translates to address 33 decimal
3. Read AU Bu tt n 2 6 See dee PCA9552 SIXTEEN BIT 12G LED BUNKER ieren 55 Device Address Auto Write On Off Button EEN 55 LED Mode Sele de 55 PWM utei dev E 56 PWM D ty Cy Cle E 56 Write All Button Read Input Register qM 56 Read All Butt mn ER enc ll a taatia haa leede aiai 56 PCA9553 FOUR BIT 12C LED BLINKER irishi aaraa n A a a ATRE AEn 57 Device Address iina ee a tutae eee t echan a cette finite doch da reci Auto Write On Off Button LED ModeSelector EE PWM Period Slidebar atc ttc tenete nita eret Bieberech Seid PWM Duty Cycle Write All Button Read Input Register GEM Miu MK ceca dad ede At eaves MIR Reed ete a edd PCA9633 FOUR BIT I2C LED DIMMER eseessessessesssestesesesneesecseeseeseeaseesesneeseeneeseeseeaeeseeneeaueesesneeseeneeateaeeseeseaneeseeneeaeeneeasess SAA1064 Foun DiGIT LED DRIVER Control Register Automatic Write Digits 1 2 3 and 4 Drago eng Kn e M Read Address Status Register Read Status Button ER ee EU e e EE EE MASTER EIB 62 USB to I2C Elite Software User s Manual Page 6 PCA9541 2 TO 1 I2C MASTER SELECTOR meronr E A Register 0 Mask Register ENEE Register T Control Register uiae despecta ee tek prec n etes a aa te tc deed Register 2 Interrupt Status Register Bus control lost interru
4. The display will read Auto Write Off in when it is disabled and Auto Write On in when enabled Checkboxes The checkboxes indicate the logic level of the various bits in the registers A checked box is equivalent to logic 1 while an unchecked box is equivalent to logic 0 The logic level can be changed by single clicking on the checkbox If Auto Write is enabled checked USB to I2C will write the new value to the device shown in the Address box The checkboxes will also be updated when a new value is read by USB to I2C or when the value in the edit boxes is changed USB to I2C Elite Software User s Manual Page 29 Edit Boxes The edit boxes show the current hexadecimal value for each of the 4 registers Register 0 is a Read Only register so the user cannot change this value If the hexadecimal value is changed by the user it will be transmitted by USB to I2C if the Auto Write is enabled checked The checkboxes will also be updated to reflect any changes to the values of the Edit Box Read Buttons After pressing one of the Read Buttons USB to I2C will read the appropriate register and place the hexadecimal value in the edit box The checkboxes are updated to reflect the individual bit logic levels Pressing the Read All button reads all four registers Because the PCA9554 A PCA9534 and PCA9538 do not automatically increment the register address between operations only one register may be read in each transaction Therefore aft
5. only one command from the bus master is required to turn individual LEDs ON OFF BLINK RATE 1 or BLINK RATE 2 Based on the programmed frequency and duty cycle BLINK RATE 1 and BLINK RATE 2 will cause the LEDs to appear at a different brightness or blink at periods up to 1 69 second The open drain outputs directly drive the LEDs with maximum output sink current of 25 mA per bit and 100 mA per package USB to I2C Elite PCA9533 4 bit LED Dime SEES fl File Device Options Window Help LED Mode Select LED 3 LED 2 LED 1 PWM1 Rate PWM1 Rate PWM 1 Rate PWM1 Rate PWMO Rate PWMO Rate PWMO Rate PWMO Rate On On On On Off Off Off Off PWM 1 PWM 0 Registers hex Period Duty Code Period Duty Cyde Input Register Frequency Prescaler 0 PWM Register 0 EZ Frequency Prescaler 1 PWM Register 1 Les LED Selector 0 3 oxc4 7 Auto Write On Write All Read Input Read All i Less 0 007sec 50 00 0 007sec 50 00 152 00 Hz 152 000 Hz 3 3V0n SON On 400 kHz Device Address The device I2C address can be selected by choosing one of the hexadecimal selections from the drop down list The default address at start up is 0xCO Auto Write On Off Button When Auto Write is disabled LED off the software can be modified without transmitting data to through the parallel port When the Auto Write LED is on any changes made to the software is immediately transmitted to the PCA9533 USB to I2C El
6. 20 21 22 23 24 25 26 27 28 29 2A 28 2C 2D F using the Copy From edit boxes and Write Time 5 5 30 31 32 33 34 35 36 37 38 39 3A 38 3C D F then enter the address where the data EE Le Co be copied to The ending address Byte Address 0x000 50 51 52 53 54 55 56 57 58 59 SA SB SC SD SE SF is calculated automatically by the o fiware and is not editable by the oppe 70 71 72 73 74 75 76 77 78 79 7A 78 7C 7D TELTF J 01 02 03 04 05 06 07 08 09 OA o8 oc oe fe of User Pressing the Copy Block button e o 11 12 13 14 15 16 17 18 19 1A 18 w Starts the copying process 20 21 22 23 24 25 26 27 28 29 Ja 2C 2D F 30 31 32 33 34 35 36 37 396 3A 38 3C 3D E F 40 41 42 43 44 45 46 4A 4B 4C 4D 4E 4F 50 54 5566 SA SB 5C SD SE SF 60 e 65 66 6A 6B 6C 6D 6E e 70 75 76 7A 7B 7C 7D 7E FF Copy Block Transmission successful Hardware Detected 3 3VOn SON Or USB to I2C Elite Software User s Manual Page 16 Open EEPROM File Look in EEPROM sl EI rh ES 256B EE mem Mu Network File name Places Files of type si mem files mem X Cancel bin files bin csv files csv USB to I2C Elite Software User s Manual Open and Save Data Data can be saved for later use in one of four formats mem this format places the raw data in a file similar to a bin file but also saves the device configuration device size address page size and write time
7. 80 CLKOUT active EE a DE OF timer FF Timer Control v w i Active Register 0x00 Countdown Frequency SAT ReadRegister Write Register 1 60 Hz Minute Alarm Disabled Timer Disabled Hour Alarm Disabled Read All Write All Day Alarm Disabled Timer hex Weekday Alarm Disabled Auto Write Reset Hardware Detected 3 3VOn 5 0VOn USB to I2C Elite Software User s Manual Page 72 Thermal Management The USB to I2C software supports seven of the common thermal management I2C devices LED Blinkers and Dimmers Master Selector 2 to 1 demux Multiplexers Switches Non volatile Registers RAM FRAM Real Time Clocks Thermal Management LM75A Digital Temperature Sensor Universal Modes LM75B Digital Temperature Sensor GPIO Control NE1617 A Temperature monitor 5A56004 1 C Digital Temperature Sensor SE97 DDR Memory Module Temperature Sensor with SPD SE97B DDR Memory Module Temperature Sensor with SPD SE98 A SO DIMM Temperature Sensor WII wu n ecc Slave Device sn USB to I2C Elite Software User s Manual Page 73 LM75A Digital temperature sensor and thermal watchdog The LM75A is a temperature to digital converter using an on chip band gap temperature sensor and Sigma delta A to D conversion technique The device is also a thermal detector providing an over temp detection output The LM75A contains a number of data regis
8. All Button Pressing the Write All button causes Registers 1 through 6 to be programmed Read Input Register When the Read Input register button is pressed the Input register is read and the data is presented in the Registers groupbox Read All Button Pressing the Read All button will read all the device registers from the PCA9532 using the auto increment feature Since these devices don t allow auto increment starting from Register 0 the reads start with the register with the highest address which causes the auto increment pointer to roll over to Register 0 Input Register The reads continue until the all the registers have been read The data will be displayed in the Registers groupbox and the controls sliders switches will be updated USB to I2C Elite Software User s Manual Page 48 PCA9533 Four bit I2C LED Dimmer The PCA9533 is a 4 bit I2C and SMBus I O expander optimized for dimming LEDs in 256 discrete steps for Red Green Blue RGB color mixing and back light applications The PCA9533 contains an internal oscillator with two user programmable blink rates and duty cycles coupled to the output PWM The LED brightness is controlled by setting the blink rate high enough 100 Hz that the blinking cannot be seen and then using the duty cycle to vary the amount of time the LED is on and thus the average current through the LED The initial setup sequence programs the two blink rates duty cycles for each individual PWM From then on
9. CMOS devices that provide 8 bits of General Purpose parallel Input Output GPIO expansion for I2C SMBus applications The PCA9554 and PCA95544 are similar devices but respond to different i2c addresses The PCA9534 differs from the PCA9554 A in that it does not have pull up resistors on the outputs The PCA9538 includes a reset input USB to I2C Elite PCA9534 PCA9538 PCA9554 PCA95544A I O Expanders Sb File Device Options Window Help Device Address 0x70 Le 7 Auto Write On Write All Read All Register 3 Register 2 Register 1 Register 0 Configuration Polarity Output Input FF 00 FF FF C7 V Input N7 _ Not Inverted O7 7 High I7 di Hoh C6 V Input N6 C Not Inverted O6 High I6 v High C5 V Input N5 1 Not Inverted O5 di Hab I5 W High C4 V Input N4 C Not Inverted O4 d High 14 High C3 V Input N3 L Not Inverted O3 High I3 di High C2 V Input N2 C Not Inverted O2 V High I2 7 High C1 V Input Ni Not Inverted Oi Idi Hab I1 7 High CO V Input NO Not Inverted OO Idi High IO 7 High Write Write Write Read Read Read 3 3V On 5 0V On 400 kHz The four devices have four internal registers All four registers can be read by the bus master while the Input register can only be read Automatic Write Enable When Auto Write is enabled light green any changes made to Registers 1 2 or 3 checkboxes will cause the program to write the new data to the device
10. Frequency Prescaler 0 E Auto Write On PWM Register 0 E Frequency Prescaler 1 EE Write All T e Read Input LED Selector 0 3 Ee LED Selector 4 7 EF Read All esu E 4 650 sec 50 00 2 075 sec 50 00 96 0 215 Hz 0 482 Hz LED Selector 12 15 RES Hardware Detected 3 3VOn SON On 400 kHz Device Address The device I2C address can be selected by choosing one of the hexadecimal selections from the drop down list The default address at start up is 0xC0 Auto Write On Off Button When Auto Write is disabled LED off the software can be modified without transmitting data to through the parallel port When the Auto Write LED is on any changes made to the software is immediately transmitted to the PCA9552 LED Mode Selector Each LED can be set in one of four modes ON OFF PWMO and PWM1 The mode is selected by moving the switches to the appropriate mode for the LED All LEDs set to PWMx will blink at the same frequency duty cycle and phase USB to I2C Elite Software User s Manual Page 55 PWM Period Slidebar The period of the PCA9552 can be changed by moving the PWMO0 or PWM1 slidebars The period in seconds and frequency in Hertz is displayed below the slidebar The actual value of the PCA9552 register is displayed in the Registers groupbox PWM Duty Cycle The duty cycle for PWMO and PWM1 can be changed by moving the PWMO or PWM1 slidebars The duty cycle is displayed in percent below the slidebar The actual
11. I2C Elite Software User s Manual Page 35 PCA9698 Forty bit I O Expander The PCA9698 provides 40 bit parallel input output 1 0 port expansion for I2C bus applications organized in five banks of eight I Os At 5 V supply voltage the outputs are capable of sourcing 10 mA and sinking 25 mA with a total package load of 1 A to allow direct driving of 40 LEDs Any of the 40 I O ports can be configured as an input or output The device is fully configurable output ports can be programmed to be totem pole or open drain and logic states can change at either the Acknowledge bank change or the Stop Command global change each input port can be masked to prevent it from generating interrupts when its state changes I O data logic state can be inverted when read by the system master An open drain interrupt output pin INT allows monitoring of the input pins and is asserted each time a change occurs in one or several input ports unless masked The Output Enable pin OE 3 states any 1 0 selected as output and can be used as an input signal to blink or dim LEDs PWM with frequency 80 Hz and change duty cycle istinc tte EASES FOR I clea i File Device Options Window Help F Device Configuration dh Bork 0 V Bank 1 dbBank2 V Bank 3 d Bank 4 GgDevice ID Alert Response OUTCONF OUT1 BANK1 totem pole OUTO01 100_0 and IO0_1 are totem pole OUTCONF OxFF OUT2 BANK2 totem pole OUT023 100_2 and IOO 3 are t
12. LED beside the read button will illuminate if the Power Reset flag is set Write Button When the Write Button is pressed seven bytes are sent over the DC bus equivalent to the Address Instruction byte Control byte and then the four Digit bytes USB to I2C Elite Software User s Manual Page 61 Master Selector PCA9541 2 to 1 I2C Master Selector The PCA9541 is a 2 to 1 I C master selector designed for high reliability dual master I2C applications where system operation is required even when one master fails or the controller card is removed for maintenance The two masters e g primary and back up are located on separate I2C buses that connect to the same downstream ZC bus slave devices 12C commands are sent via the primary or back up I2C bus and are used to select one master at a time Either master at any time can gain control of the slave devices if the other master is disabled or removed from the system The failed master is isolated from the system and will not affect communication between the on line master and the slave devices on the downstream I C bus USB to I2C Elite PCA9541 2 to 1 Master Selector n KR File Device Options Window Help Device Register 0 IE Register 1 Control Register 2 Interrupt Status co E m OxEO Sal BUSLOSTMSK ml NTESTON m NMYTEST Sal BUSOKMSK mj TESTON Sal MYTEST m BUSINITMSK m BUSINIT mj BUSLOST maj INTINMSK maj NBUSON mj BUSOK BUSON m BUSINIT Sal NMYBUS Sal INTIN maj MY
13. RA dene ee a LLL dene Start Read BOtton M EE NE1617 A TEMPERATURE MONITOR Read Only Registers Write Only Registers UE ELE SA56004A TEMPERATURE SENSOR ENEE EEN EENEG SE98 oid go e V oo 4 Write e Read from RE Enable Slave Define Slave Size Fill Slave Buffer Se R ad Slaoe ROet 3se ieeg USB to I2C Elite Software User s Manual USB to I2C Elite Software User s Manual Page 8 HC Protocol General Characteristics The DC protocol allows data to be transferred between devices using two open drain or open collector bi directional lines One line is the serial clock SCL and the other is the serial data SDA The bus master generates the Start conditions the clock signals on SCL as well as the Stop condition An acknowledge is transmitted on the bus after each byte is sent over the bus Bit Transfer Data on SDA must be stable while SCL is high The state of SDA when SCL is high determines the logic level of the transmitted data bit Start and STOP Conditions Within the procedure of the DC bus unique situations arise which are defined as START and STOP conditions A HIGH to LOW transition on the SDA line while SCL is HIGH is one such unique case This situation indicates a START condition A LOW to HIGH transition on the SDA line whi
14. Write On Write All Read All Register 3 Register 2 Register 1 Register 0 Configuration Polarity Output Input FF FO 00 XX C7 V Input V Inverted 07 E Low E Undefined C6 F Input V Inverted O6 Low E Undefined C5 V Input Inverted O5 C Low Undefined C4 F Input 7 Inverted O4 E Low RB Undefined C3 v Input E Not Inverted 03 C Low E Undefined C2 V Input Not Inverted O2 E Low E Undefined C1 v Input 7 Not Inverted O1 C Low iil Undefined CO 7 Input Not Inverted O0 C Low BR Undefined Write Write Write Read Read Read Hardware Detected 3 32VOn 5 0V On Auto Write When the Auto Write On is enabled green any changes made by the user to the PCA9556 PCA9557 Registers 1 2 and 3 will immediately be sent to the PCA9556 PCA9557 If an error is encountered during this transmission Auto Write Off will be displayed red Read All Button Each time the Read All button is pressed the contents of Registers 0 1 2 and 3 are read from the PCA9556 PCA9557 The register data will be reflected in the state of the checkboxes with an unchecked box indicating logic 0 and a checked box indicating logic 1 Write All Button When this button is pressed Registers 1 2 and 3 are written to the PCA9556 PCA9557 Register 0 is a read only register USB to I2C Elite Software User s Manual Page 34 Register O Input Port This register is an input only port It reflects the inc
15. address USB to I2C Elite Software User s Manual Page 82 We are interested in receiving feedback from our customers Is there is a feature that should be added to make this tool better Please send your requests and comments to support i2ctools com USB to I2C Elite Software User s Manual Page 83
16. but one of the following data bytes was not acknowledged A STOP condition is sent after the acknowledge clock pulse if no acknowledge is received Read acknowledged corrupted the master tried to send a NACK no acknowledge for the last read byte in a transmission but it was corrupted by a low level on SDA by another device on the bus SDA stuck low before a START condition is initiated the software verifies that both the SDA and SCL lines are high If SDA is stuck low then an SDA stuck low message will be displayed SCL stuck low before a START condition is initiated the software verifies that both the SDA and SCL lines USB to I2C Elite Software User s Manual Page 10 are high If SCL is stuck low then an SCL stuck low message will be displayed Hardware not detected is displayed when there is no USB to I2C hardware plugged into the PC s USB port or if the drivers are not installed correctly File Menu Upon starting the USB to I2C software the File menu contains the Exit and Close commands When a device has been selected from the Device Menu it is possible that the File Menu will also display device specific commands such as Save As and Load In User Device mode previously created device files may be conveniently loaded Save Data Many devices contain the menu item Save Data under the File menu The data may be recalled by selecting the Load Data item under the File Menu Load Data After data has been stored using
17. drain output on off or to cycle at BLINK RATE 1 or BLINK RATE 2 Maximum output sink current is 25 mA per bit and 100 mA per package Any bits not used for controlling the LEDs can be used for General Purpose parallel Input Output GPIO expansion USB to I2C Elite PCA9551 8 bit LED Driver Blinker Kei File Device Options Window Help LED Mode Select PWM 1 PWM 0 Period Duty Cycle Period Duty Cycle Less Less 6 400 sec 50 00 6 400 sec 50 00 0 156 Hz 0 156 Hz Device Address LED 7 LED 6 LED 5 LED 4 LED 3 OFF OFF OFF OFF OFF OFF OFF Registers hex Input Register Frequency Prescaler 0 PWM Register 0 Frequency Prescaler 1 PWM Register 1 LED Selector 0 3 LED Selector 4 7 LED 1 LED 0 OFF I C Address OxCO Y 7 Auto Write On Write All Read Input Read All The device I2C address can be selected by choosing one of the hexadecimal selections from the drop down list The default address at start up is 0xCO Auto Write On Off Button When Auto Write is disabled LED off the software can be modified without transmitting data to through the parallel port When the Auto Write LED is on any changes made to the software is immediately transmitted to the PCA9551 USB to I2C Elite Software User s Manual Page 53 LED Mode Selector Each LED can be set in one of four modes ON OFF PWMO and PWM1 The mode is selected by moving the switch
18. hex standard Intel hex file format bin binary file csv comma separated variables Page 17 Universal Interfaces User Definable Device The User Definable Device allows you to define your own I C device and then enables the user to change the values of the individual cells within the grid using various controls such as sliders and spin controls File Edit Device Options Window Help BEI Address hex 0x5A Chrominance phase AE p SE MESSER LEA D DT ET ML SLE 00 00 00 00 00 00 00 00 00 00 00 OO 00 00 00 00 00 00 00 OO OO 00 OO OO 00 OO 00 OO 00 OO 00 00 00 00 00 00 00 00 OO 00 OO 00 00 OO 00 OO 00 00 00 00 00 00 00 00 OO OO 00 OO 29 00 00 00 00 00 00 00 00 00 OO OO OO OO OO 00 00 00 OO 00 OO 00 00 00 00 00 OO 00 OO OO 00 OO 89 OB OA 00 00 00 00 00 00 00 OO OO OO OO 00 00 00 00 00 00 00 19 00 00 00 00 00 00 00 00 00 00 00 00 0x54 Write Read Byte I Byte Mode Write All Oo Wb WN bn e V Sync shift Read All Chrominance phase Create Control Slider Y O O O 1 1 O O 1 V Auto Write On V Auto Write On Spin Bits 00101001 J Auto Write On 7 Auto Write On Input port control Gain V When the User Definable Device is first opened a 256 byte device grid is shown on the screen but does not have any names associated with the data and all the data bytes are set to OxFF A pr
19. hidden If a Write is chosen the Number of Bytes to Read will be hidden and the data entry area will be shown Stop Sending a Stop condition after a message is optional Normally itis advisable to send the Stop condition If a Stop condition is not sent the clock line will be held low until the next message is sent If a Stop is not sent the next message will begin with a Restart condition rather than a Start condition Message Data The Message Data area contains the location where the user can enter up to 128 data bytes in hexadecimal format Blank data bytes will be ignored Notes The information in the Notes section is optional and is not used by the USB to I2C software USB to I2C Elite Software User s Manual Page 25 lO Expanders The USB to I2C supports at least 32 IO Expanders L GEM i NEN ML XE XE NL a PCA8574 8 bit I O Expander PCA8574A 8 bit I O Expander PCA8575 16 bit I O Expander PCA9500 8 bit I O Port with 2K EE PCA9501 8 bit I O Port with 2K EE PCA9502 8 bit I O Expander PCA9505 40 bit I O Expander PCA9506 40 bit I O Expander PCA9534 8 bit I O Expander PCA9535 16 bit UO Expander PCA9536 4 bit UO Expander PCA9537 4 bit I O Expander PCA9538 8 bit I O Expander PCA9539 16 bit I O Expander PCA9554 8 bit I O Expander PCA9554A 8 bit I O Expander PCA9555 16 bit UO Expander PCA9556 8 bit I O Expander PCA9557 8 bit I O Expander PCA9574 8 bit Level translating I O Expander PCA9575 16 bit
20. in the device The program calculates the physical address for you and displays it at the left side of the screen in the box labeled Word Address or Subaddress Byte Address Subaddress The byte address sometimes called subaddress or word address is a pointer to a register or memory location within the I C device To access this location the software will send out the device UC address followed by this byte address followed by the read or write data The program displays the byte address of the active cell of the memory grid in both hexadecimal and decimal notation Read Byte Button Pressing the Read Byte button initiates a read from the I C device The program begins the transmission by writing the device address followed by the current byte address A Repeated Start is then generated followed by the device s read address and finally a read of a single data byte The result of each byte read is immediately entered in the appropriate cell in the grid Alternatively you may press the Alt and b keys simultaneously to achieve the same results Read All Button Pressing the Read AU button initiates a read from the I C device The program begins the transmission by writing the device address then the byte address 0x00 A Repeated Start is then generated followed by sequential reads ofthe entire device In addition to pressing the Page 14 Read AUT button you may press the Alt and lt r gt keys simult
21. indicate to the former I2C bus master that it is not in control of the bus anymore 2 To indicate to the new I2C bus master that The bus recovery initialization has been performed and that the downstream channel connection has been done built in bus recovery initialization active A bus not well initialized condition has been detected by the PCA9541 when the switch has been done built in bus recovery initialization not active This information can be used by the new master to initiate its own bus recovery initialization sequence 3 Indicate to both I2C upstream masters that a downstream interrupt has been generated through the INT IN pin 4 Functionality wiring test Bus control lost interrupt When the upstream Master x takes control of the I2C bus while Channel y was using the downstream channel upstream Channel x connected to the slave downstream channel an Interrupt is generated to the upstream Master y INTy line goes LOW to let Master y know that it lost the control of the bus immediately after Master y has been disconnected from the downstream channel By setting the BUSLOSTMSK bit to 1 by Master y Bit 3 Mask Register Reg 00 the Interrupt is masked and the upstream master that lost the I2C bus control Master y does not receive an Interrupt INTy line does not go LOW Recovery initialization interrupt Before switching to the upstream Channel x an automatic bus recovery initialization can be performed by the P
22. is pressed USB to I2C Elite Software User s Manual Page 80 Enable Master If the Elite hardware is functioning as an I2C slave it can be converted back to a master by pressing the Enable Master button If the Enable Master button is pressed it will not acknowledge its I2C address Close Press the Close button when done using the hardware as an I2C slave It will close the slave interface and convert the hardware back into an I2C master USB to I2C Elite Software User s Manual Page 81 TROUBLESHOOTING m If you have problems with the software installation ensure that you have Admin Privileges 7 If the installer application doesn t launch when the CD ROM is inserted then manually browse the CD ROM and find the Setup exe file in the root directory of the CD Double click on the Setup exe file to start the installation process m The Adapter has 3 3kQ pull up resistors to 3 3V on the I C bus lines Ensure that additional pull up resistors in the user target system do not bring the pull up resistance below 1 6kQ for 5V systems or 1 1KQ for 3 3V systems The on board pull up resistors can be removed from the system by removing the pull up resistor jumpers RPU see Hardware Description above The USB to I2C software will not function on Windows 95 Windows 98 First edition or NT systems therefore installation will not proceed if you attempt to install the software on these Operating Systems m The USB to I2C software requir
23. port When the Auto Write LED is on any changes made to the software is immediately transmitted to the PCA9553 USB to I2C Elite Software User s Manual Page 57 LED Mode Selector Each LED can be set in one of four modes ON OFF PWMO and PWM1 The mode is selected by moving the switches to the appropriate mode for the LED All LEDs set to PWMx will blink at the same frequency duty cycle and phase PWM Period Slidebar The period of the PCA9553 can be changed by moving the PWMO0 or PWM1 slidebars The period in seconds and frequency in Hertz is displayed below the slidebar The actual value of the PCA9553 register is displayed in the Registers groupbox PWM Duty Cycle The duty cycle for PWMO and PWM1 can be changed by moving the PWMO or PWM1 slidebars The duty cycle is displayed in percent below the slidebar The actual value of the PCA9553 register is displayed in the Registers groupbox Write All Button Pressing the Write All button causes Registers 1 through 5 to be programmed Read Input Register When the Read Input register button is pressed the Input register is read and the data is presented in the Registers groupbox Read All Button Pressing the Read All button will read all the device registers from the PCA9553 using the auto increment feature Since the PCA955x devices don t allow auto increment starting from Register 0 the reads start with the register with the highest address which causes the auto increment p
24. to be set The master can then address the PCA954x and read the contents of the control byte to determine which channel contains the device generating the interrupt USB to I2C Elite Software User s Manual Page 66 The master can then reconfigure the PCA954x to select this channel and locate the device generating the interrupt and clear it The interrupt clears when the device originating the interrupt clears It should be noted that more than one device could be providing an interrupt on a channel so it is up to the master to ensure that all devices on a channel are interrogated for an interrupt Multiplexer Control The user can change the selected channel by clicking the appropriate radio button At start up no channel is selected Auto Write When the Auto Write On is enabled illuminated any changes made by the user to the PCA954x channel selection radio buttons will immediately be sent to the device via the I C bus USB to I2C Elite Software User s Manual Page 67 PCA9543A PCA9545A PCA9546A PCA9548A PCA9549 The PCA9543 9545 9546 9548 is a family of bi directional translating switches controlled via the IC bus The SCL SDA upstream pair fans out to SCx SDx downstream pairs or channels Multiple SCx SDx channels may be selected at a time determined by the contents of the programmable control register Interrupt inputs one for each of the SCx SDx downstream pair are provided in the PCA9543 and PCA9545 One interrupt output whi
25. to byte address 0 if it exceeds the maximum size of the slave see Define Slave Size below Enable Slave Set the desired slave address into the edit box and press the Enable Slave button This will start the slave process and the slave will begin acknowledging its slave address The Elite hardware will no longer be capable of sending I2C messages and will only operate as a slave on the bus Define Slave Size At start up the slave is initialized as a 256 byte device This value can be set from a minimum of 1 toa maximum of 256 bytes Changing the slave size determines how it saves data in its memory For example if the slave is defined as a 16 byte device after byte address OxOF has been written or read via the I2C bus any additional bytes written read will wrap to address 0x00 Fill Slave Buffer Pressing the Fill Slave Buffer button will initialize the entire 256 bytes in the I2C slave with the hex data the user has entered in the edit box located beside the Fill Slave Buffer button Read Slave Buffer The contents of the slave s buffer can be read by pressing Read Slave Buffer button The contents of the slave s buffer will be displayed in the grid Idle Slave It is possible to temporarily remove the slave from the bus by using the Idle Slave button When the slave has been idled it will not acknowledge its address Resume Slave A slave which has been idled will begin acknowledging its address after the Resume Slave button
26. value of the PCA9552 register is displayed in the Registers groupbox Write All Button Pressing the Write All button causes Registers 1 through 6 to be programmed Read Input Register When the Read Input register button is pressed the Input register is read and the data is presented in the Registers groupbox Read All Button Pressing the Read All button will read all the device registers from the PCA9552 using the auto increment feature Since the PCA955x devices don t allow auto increment starting from Register 0 the reads start with the register with the highest address which causes the auto increment pointer to roll over to Register 0 Input Register The reads continue until the all the registers have been read The data will be displayed in the Registers groupbox and the controls sliders switches will be updated USB to I2C Elite Software User s Manual Page 56 PCA9553 Four bit I2C LED Blinker The PCA9553 LED Blinker blinks LEDs in I2C bus and SMBus applications where it is necessary to limit bus traffic or free up the I2C bus master s MCU MPU DSP chipset etc timer The uniqueness of this device is the internal oscillator with two programmable blink rates To blink LEDs using normal I O Expanders like the PCF8574 or PCA9554 the bus master must send repeated commands to turn the LED on and off This greatly increases the amount of traffic on the I2C bus and uses up one of the master s timers The PCA9553 LED Blinker instea
27. 0 Read Port 0 Hardware Detected 3 3V On 5 0V On Read Checkboxes There are sixteen checkboxes in the Read box The contents of the PCF8575 are read by pressing the Read button A checked item indicates logic 1 while an unchecked item means logic 0 The user cannot change the checkboxes since these are read only Write Checkboxes Clicking on the checkboxes will invert the current state of the bit Logic 0 is shown as an unchecked box while logic 1 is shown as a checked box If Auto Write is on then any changes made to these checkboxes will immediately be sent to the PCF8575 USB to I2C Elite Software User s Manual Page 40 Read Button When this button is pressed the two eight bit registers are read via the I C bus Data from Port 0 is read first followed by Port 1 The data bytes are displayed in the area beside the Read button and the checkboxes are updated Write Button When the Write button is pressed the contents of the High and Low data boxes are sent to the PCF8575 via the I C bus Read Data Boxes These two boxes show the port state of the PCF8575 in hexadecimal format These boxes cannot be directly modified by the user but must be changed by pressing the read button Write Data Boxes The user can change the contents of the register by entering a two digit hexadecimal number into the upper and or lower edit boxes If the Auto Write is enabled both data registers are sent even if only one is changed Au
28. 2C Elite Software User s Manual Page 11 fi2c 60 000 000 SCLHigh SCLLow The minimum values for SC Loen and SCLio is 12 however the I2C bus hardware was designed to meet the 400 kHz so operating at higher frequencies cannot be guaranteed since this is dependent upon the user s application Enable 3 3V Output Power By selecting the 3 3V Output Power menu item the USB to I2C hardware will supply power to your target system There is no need to enable this output unless you need to power your target system When enabled there will be a checkbox beside the menu item and the status bar at the bottom of the application will have a 3 3V On indicator shown in green Enable 5V Output Power By selecting the 5V Output Power menu item the USB to I2C hardware will supply power to your target system There is no need to enable this output unless you need to power your target system When enabled there will be a checkbox beside the menu item and the status bar at the bottom of the application will have a 5 0V On indicator shown in green Windows Menu The Windows Menu contains screen commands such as cascade tile arrange all icons and minimize all If there are devices active in the program you will find them listed in this menu When multiple device types are open itis easy to move between the device types by clicking on the desired item in this menu Frequency Indicator The frequency at which the hardware is sending I C messages over t
29. 63 6F 6D 2D 74 6F 2D 49 32 43 20 45 6C 69 74 65 Filfrom 1 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D Fil to SC 49 20 4D 61 64 65 20 53 69 6D 70 6C 65 20 F FO F3 F4 F5 F6 F7 F8 F9 FA FB FC FD FE FF Fil with 00 Fill Buffer USB to I2C Elite Software User s Manual Page 15 Checkerboard The grid will be filled an alternating 1 and 0 pattern when this is chosen from the Fill with Checkerboard selection is made on the Edit menu Inverted Checkerboard The grid will be filled an alternating 0 and 1 pattern when this is chosen from the Fill with Inverted Checkerboard selection is made on the Edit menu Go To Byte T Go To Byte When the Go To Byte menu selection is made from the Edit menu a dialog box is displayed where a hex or decimal address may be entered When Hexadecimal FFE the OK button is pressed the grid location with the desired address is shown Decimal 1638 This is useful when you don t want to scroll through to find a specific data location Note maximum address Ox FFF Lee ET Copy Block File Edit Device Options Window Help It is possible to copy a block of data o ja 2 3 4 s e z 8 9 ja B C jo E F from one on screen buffer area to Device Sze 256 o o 01 02 03 04 05 06 07 08 09 OA OB OC OD OF another using the Copy Block function Address AE v 10 11 12 13 14 15 16 17 18 19 1A B 1C D it 1 Simply define the data to be copied Page Sze 32 v
30. A9542A PCA9544A PCA9547 The PCA954x is a family of bi directional translating multiplexers controlled via the I C bus The SCL SDA upstream pair fans out to SCx SDx downstream pairs or channels Only one SCx SDx channel is selected at a time determined by the contents of the programmable control register Interrupt inputs not available in the PCA9540 one for each of the SCx SDx downstream pair are provided One interrupt output which acts as an AND ofthe four interrupt inputs is provided All I O pins are 5 V tolerant The pass gates of the multiplexer are constructed such that the Vdd pin can be used to limit the maximum high voltage that will be passed by the PCA954x This allows the use of different bus voltages on each SCx SDx pair so that 3 3V parts can communicate with 5V parts without any additional protection External pull up resistors can pull the bus up to the desired voltage level for this channel r USB to I2C Elite PCA9540B PCA9542A PCA9544A PCA9547 DC Multiplexers S File Device Options Window Help PCA9540B PCA9542A PCA9544A PCA9547 Device Address 0xEO Device Address 0xEO v Device Address D I v Device Address 0xE0 v Control Register Control Register Control Register Control Register Write Write Write Write Read Read Read Read Channel Select Channel Select Channel Select Channel Select 9 No chann
31. All Button SS Bank Register Stisccnanwearan PCF8574 PCF8574A EIGHT BIT I O EXPANDER nsessssessssscstscsseessteeesteesneessteeeseecsneesneessseessneesteesatessneesneeesseesstessneeenteesanees 38 Checkboxes sace eemper Read Button Read Data ten IEN Write Button Automatic Write Enable Auto Read Back PCF8575 16 BiT I O EXPANDER R ad Checkboxes I C Write Checkboxes 5 2 aea cette tore tenis eee ce ice cete aae e ett c Read Button Write Button Read Data Boxes Write Data Boxes Anto Re LED BLINKERS AND DIMMENRS eese sait tetti tenant nsns tasa dag aS se IEEE Eso so soo o o o a nennen nnen L0 024 42 PCA9530 Two BiT I2C LED DIMMER ENEE 43 Device e aln 43 Auto Write On Off Button EEN 43 LED Mode Selector H PWM Period Bil Ee EE 44 PWM D ty Gy cle ii gees tian 44 Write All Buttons cei istoc dee dro c dust Eeer brane anion 44 Re d Input Reglster eee stehe edes 44 Read All Button PCA9531 RR ECK OR RE DEER EE 45 Device Address tassa eR acne aas n enu UEBER Ne aeu wR RES 45 Auto Write On Off Button e peccet itle oet eise riesen ide 45 LED Mode Selector REM PWM Period Slidebar ok PWM Duty Cycle E Write All Button uus eee ede ce da itte d e i dee ie c du dete ies Read Inpu
32. BUS Write Write Read Read Read Slave channel NBUSON Slave channel The master reading this combination has control of the bus 0 off The master reading this combination does not have control of the bus 1 on The master reading this combination does not have contro of the bus 0 on The master reading this combination has control of the bus 1 off Hardware Detected 3 3VOn 5 0VOn Register 0 Mask Register WEE a See b E RS SS smex e o o o Busosmwsx eusoms See aer Register 0 has four bits that can be written either by pressing the Write button or by enabling the Auto Write option and then pressing the checkbox type buttons The register can be read by pressing the Read button in the Register 0 groupbox Register 1 Control Register pwa T a Jj 9 ow as jJ SYMBOL NMYTESTON MYTESTON Register 1 is the Control Register This register contains seven bits that control which master has control of the bus USB to I2C Elite Software User s Manual Page 62 The register can be written either by pressing the Write button or by enabling the Auto Write option and then pressing the checkbox type buttons The register can be read by pressing the Read button in the Register 1 groupbox Register 2 Interrupt Status Register BIT 7 6 S 3 2 1 BUSINT NMYTEST 1 MYTEST 0 BusLosT BUSOK The PCA9541 provides 4 different types of interrupt 1 To
33. CA9541 This function is requested by setting the BUSINIT bit to 1 by Master x Bit 4 Control Register Reg 01 When the downstream bus has been initialized an Interrupt to the upstream Channel x is generated INTx line goes LOW By setting the BUSINITMSK bit to 1 by Master x Bit 1 Mask Register Reg 00 the Interrupt is masked and the upstream Master x does not receive an Interrupt INTx line does not go LOW When the automatic bus recovery initialization is not requested if the built in bus sensor function sensing permanently the downstream I2C traffic detects a non idle condition previous bus Channel y connected to the downstream slave channel was between a START and STOP condition then an Interrupt to Master x is sent INTx line goes LOW This Interrupt tells the new master that an external bus recovery initialization must be performed By setting the BUSOKMSK bit to 1 by Master x bit 2 Mask Register Reg 00 the Interrupt is masked and the upstream Master x does not receive an Interrupt INTx line does not go LOW Downstream interrupt An Interrupt can also be generated by a downstream device by asserting the INT IN pin LOW When INT IN is asserted LOW and if both INTINMSK bits are not set to 1 by Master x and Master y bit 0 Mask Register Reg 00 INTO and INT1 both go LOW By setting the INTINMSK bit to 1 by Master x and or the INTINMSK bit to 1 by MASTER y Bit 0 Mask Register Reg 00 the Interrupt s is are masked and
34. E FF FF ZE EF EF EF FE FE FF FE EE FE EE EF EF EF EF FE LFE ERE FE FE EE FE FE FE EF FF FF EF FE FF FF EE ZE EF EF EF FE FE EF Write Byte Write AII Set Data FF The PCA9500 and PCA9501 are 8 bit I O expanders with an on board 2 kbit EEPROM The eight quasi bidirectional data pins can be independently used as inputs or outputs to monitor board level status or activate indicator devices such as LEDs The data for each Input or Output is kept in the corresponding Input or Output register The system master can read all registers Changing I O Expander Data with Checkboxes The ports labeled P7 PO can be set high or low by clicking on them with a mouse A high logic level is indicated with a light green color while a low logic level is shown as a dark green color If a port state is changed the data byte box in the write area will be updated to reflect the changes The new data can be sent to the PCA950x by pressing the Write Button If the Auto Write On is enabled light green any change in the state of the Write checkboxes or Write Data Byte will immediately be sent to the PCA950x Read I O Button Upon pressing the Read Button the program will update the hexadecimal data shown beside the Write 1 0 button as well as show the state of the individual I Os The I O port is low if the port is shown in dark green and is high if it is light green Set Data All the cells of the memory grid will be filled with th
35. High 2 2 7 High 7 1 v Input 6 1 V Input 5 1 C Not Inverted 4 1 E Not Inverted 3 1 V High 214 High 7 0 V Input 6 0 V Input 5 0 C Not Inverted 4 0 C Not Inverted 3 0 V High 2 0 7 High Write Write Write Write Write Write Read Read Read Read Read Read Write Reg 6 7 Read Reg 6 7 Write Reg 4 5 Read Reg 4 5 Write Reg 2 3 Read Reg 2 3 These devices consist of pairs of 8 bit registers Configuration Input or Output Input Output and Polarity inversion Active high or Active low operation registers The system master can enable the I Os as either inputs or outputs by writing to the I O configuration bits The data for each Input or Output is kept in the corresponding Input or Output register The polarity of the read register can be inverted with the Polarity Inversion Register All registers can be read by the system master Input Registers subaddress 0x00 and 0x01 These registers are read only They reflect the incoming logic levels of the pins regardless of whether the pin is defined as an input or an output by the Configuration Registers Writes to this register have no effect Output Registers subaddress 0x02 and 0x03 These registers reflect the outgoing logic levels of the pins defined as outputs by the Configuration Registers Bit values in this register have no effect on pins defined as inputs Reads from this register return the value that is in the flip flop controlling the output sel
36. I2C LED Blinker The PCA9552 LED blinker blinks LEDs in I2C bus and SMBus applications where it is necessary to limit bus traffic or free up the I2C bus master s MCU MPU DSP chip set etc timer The uniqueness of this device is the internal oscillator with two programmable blink rates To blink LEDs using normal I O expanders like the PCF8574 or PCA9554 the bus master must send repeated commands to turn the LED on and off This greatly increases the amount of traffic on the I2C bus and uses up one of the master s timers The PCA9552 LED blinker instead requires only the initial setup command to program BLINK RATE 1 and BLINK RATE 2 that is the frequency and duty cycle for each individual output From then on only one command from the bus master is required to turn each individual open drain output on off or to cycle at BLINK RATE 1 or BLINK RATE 2 Maximum output sink current is 25 mA per bit and 200 mA per package Any bits not used for controlling the LEDs can be used for General Purpose Parallel Input Output GPIO expansion USB to I2C Elite PCA9552 16 bit LED Driver Blinker KS File Device Options Window Help X LED Mode Select LED15 LED14 LED13 LED12 LEDi1 LED10 LED 9 LED 8 LED7 LED 6 LED 5 LED 4 LED 3 LED 2 LED 1 LED 0 OFF PWMO PWMO DWMI ON ON PWMO PWMO PWMO DANI DWMIL OFF OFF OFF OFF Registers hex gm Duty Cycle ced Duty Cycle Input Register wN ae Input Register wN OxCO Je
37. NE1617 upon changing the on screen state when this function is enabled USB to I2C Elite Software User s Manual Page 76 SA56004A Temperature Sensor The SA56004X is an SMBus compatible 11 bit remote local digital temperature sensor with over temperature alarms The remote channel of the SA56004 monitors a diode junction such as a substrate PNP of a microprocessor or a diode connected transistor such as the 2N3904 NPN or 2N3906 PNP With factory trimming remote sensor accuracy of 1 C is achieved Under and over temperature alert thresholds can be programmed to cause the ALERT output to indicate when the on chip or remote temperature is out of range This output may be used as a system interrupt or SMBus alert The T CRIT output is activated when the on chip or remote temperature measurement rises above the programmed T CRIT threshold register value This output may be used to activate a cooling fan send a warning or trigger a system shutdown To further enhance system reliability the SA56004X employs a SMBus time out protocol Hj File Device Options Window Help Device Address Local Temperature C ose Status Register 0x00 ADC not busy Int high temp not tripped Int low temp not tripped LTHB 0x00 Local Temperature 70 C Read Local Temp Limits C LTLB 0x00 UDIN Ye E Remote Temperature C Remote Temperature 0 C RTHB 0x00 RTLB 0x00 Read R
38. O Read EE1 Write All Read All Mux In E Read Mux MUX OUT from EEPROM 0 Z Write PCA9561 PC Address 0x98 v EEPROM Byte 0 EEPROM Byte 1 FF FF Write Read Write Read EEPROM Byte 2 EEPROM Byte 3 FF FF Write Read Write Read Mux In Read Mux MUX_IN or non volatile Register 0 Y is sourced to MUX OUT Write Write Read V Auto Write On 3 3VOn SON On Hardware Detected 400 kHz Address Selection A drop down address selection is available which can be used to change the I C address of the PCA9559 PCA9560 and PCA9561 Note that the PCA8550 does not have a programmable I C address as it is fixed at Ox9C Data Register Clicking on the checkboxes will change the state of the non volatile register If the state of the checkbox is changed while Automatic Write is enabled checked then the data will immediately be sent to the target device If Automatic Write is disabled unchecked then the Write button must be pressed to send the I C message to the target device EEPROM Byte x The PCA9560 and PCA9561 contain EEPROM data bytes that can be programmed by USB to I2C Enter a hexadecimal number into each of the edit boxes and then press the Write EEx button to program the EEPROM The value of the EEPROM can be read by pressing the Read Eex button MUX_OUT The MUX_OUT pins can be set to the values in the EEPROM or from the MUX_IN pins by selecting
39. SB to I2C Elite PCF8574 8 bit I O Expander Sb File Device Options Window Help alx Device Address 0x40 H J Auto Write On Write to Read Input Output FF v P7 P7 J P6 P6 v P5 P5 V p4 P4 v P3 P3 v P2 P2 J P1 P1 J po Po Write Read Hardware Detected 3 3VOn 5 0VOn 400 kHz Checkboxes The checkboxes labeled PO P7 in the write areas of the PCF8574 A screen can be checked unchecked by clicking on them with a mouse If a checkbox state is changed the data byte box in the write area will be updated to reflect the changes The new data can be sent to the PCF8574 A by pressing the Write Button If the Auto Write On is checked any change in the state of the Write checkboxes or Write Data Byte will immediately be sent to the PCF8574 A The checkboxes found in the Read PCF8574 A panels are read only and can only be changed by the software by clicking the Read buttons If a checkbox is checked this indicates logic 1 while an unchecked box indicates logic 0 Read Button Upon pressing the Read Button the program will update the hexadecimal data shown beside the button as well as show the state of the individual I Os The I O is low if the checkbox is unchecked and high if it is USB to I2C Elite Software User s Manual Page 38 checked Read Data The Read boxes on the PCF8574 A screens are read only The user cannot change the contents of any edit boxes or checkboxes in this area The information is updated only by pr
40. SB to I2C Elite Software User s Manual Page 2 TABLE OF CONTENTS OR LOHK OLOCO Pana aE a EEE deat adc IR ocu rna ad HC Edd C B Du De 9 GENERALE CHARACTERISTICS iiti a ail v Ee dea Cas reta Cn cuo Ene a n Re ERU eee CR Ld udi Br joo ee START AND STOP CONDITIONS I C ADDRESS eene I C Bus DOCUMENTATION MAIN Device MOTU dee EE EA Message Panel Messages File Menu es Saye Datta E LOAD atta isin rn Options Menu I C Frequency Menu Item Enable 3 3V Output Power T Enable 5V Output BOwet et eier ingenna kaan a aaa a EE Windows Mehti aiie EENEG Frequency Indicator lei reium ern E E E K MEMORY DEVICES EEPROM RAM FRAM rere nre nnne treten nnne tn trauen tate tritus inn rose ta snnt sano to aa 13 14 GA EE Write Page Size Selecton EEN Erase Write Cycle Time Data Grid Byte Address Subaddress Read Byte Butto iuo oeconomus deu A t dU Li eC edere Read V Bii RR Write Byte Button Write All Button Verify Button n OUR E Gheckerboardsi eoo A E Eeer Inverted Checkerboard GOTO RE Copy Block qnd Open and Save BUE UNIVERSAL OUT LN E 18 Save Registers in text format EN 19 techne Ee 19 Print Device D ric 19 Data Grid WEE Edit Menu Edit Current Register E 20 EditiCu
41. Temp Limit 127 C Ext high temp not tripped 0 2500 Hz E Ext low temp not tripped Read Read External diode not open Read RILL Register 0x06 0xC9 RELL Register 0x08 0xC9 Int Low Temp Limit 55 C Ext Low Temp Limit 55 C One Shot RC Register 0x03 0x00 Alert interrupt enabled Running mode Bead Set Int Temp Limits C Set Ext Temp Limits C Arite Al Read Read Read All WC Register 0x09 0x00 WIHL 0x0B 127 WEHL 0x0D 127 E Alert interrupt enabled e 5 55 Pss de WILL 0x0C WELL 0x0E Hardware Detected 3 3 On Read Only Registers The following data registers can be read by USB to I2C 0x00 RIT Read Internal Temperature 0x01 RET Read External Temperature 0x02 Status Byte 0x03 RC Read Configuration 0x04 RCR Read Conversion Rate 0x05 RIHL Read Internal High Limit Temperature 0x06 RILL Read Internal Low Limit Temperature 0x07 REHL Read External High Limit Temperature 0x08 RELL Read External Low Limit Temperature Write Only Registers The following data registers can be written to by USB to I2C 0x09 WC Write Configuration Register 0x0A WCR Write Conversion Rate Register 0x0B WIHL Write Internal High Limit Temperature 0x0C WILL Write Internal Low Level Temperature 0x0D WEHL Write External High Level Temperature OxOE WELL Write External Low Limit Temperature Auto Write The Write Only registers can automatically be sent to the
42. UO Expander PCA9670 8 bit I O Expander PCA9671 16 bit I O Expander PCA9672 8 bit I O Expander PCA9673 16 bit I O Expander PCA9674 8 bit I O Expander PCA9674A 8 bit I O Expander PCA9675 16 bit I O Expander PCA9698 40 bit I O Expander PCF8574 8 bit I O Expander PCF8574A 8 bit I O Expander PCF8575 16 bit I O Expander USB to I2C Elite Software User s Manual Page 26 PCA9500 9501 8 bit I O port with interrupt and 2k EEPROM USB to I2C Elite PCA9500 PCA9501 System Maintenance and Control Devices S File Device Options Window Help 1 0 Expander Address py P7 P6 P5 P4 P3 P2 P1 PO hex iE SE C CC CC CC CE C EEPROM Address o a 2 3 4 s e Js B c p je F B0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF g rne FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Write Time ms FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 10 v EE EE EEL FE EF EE ER E EEGENEN EE EE EE ENER FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Write IO Read IO Auto Write On Read Byte Lt oe ee a a EE FE eee EE CEECEE EF Read All FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FE EE EF FE EF EF EF FE FE EE EF EF FE EF FE FE EF FE FF FF EE ER FF FE FE ZE EF FF EF EF EF ER Fe FE FE FE EE EE EF FE EE EE FE FE EE EFE FE FE Verify EF EE EE FE EE EE EE EFE FE EE EE EF EE EE EE FE Preset FE EE FE FE FE FE EE FE FE EE FE FE EFE EF FE FE FF FF FF EF EF FE F
43. USB to 12C Software User s Manual for USB to 12C Professional and Elite Hardware ae B 16 x8 128 bit 128 x8 1K bit 256 x8 2K bit PCA34C02 2K bit es ist 512 x8 4K bit JE GLA EA SR 1Kx8 BK bit EES PCA24S08 1kx8 with access protection 2Kx8 16K bit 4K x8 G2K bit 8K x 8 64K bit 16K x8 128K bit 32K x8 256K bit 64K x8 512K bit Device Size Address Page Size Write Time lt gt Byte Address MIL EE E EE Ee EE ee FO F1 F2 F3 F4 FS F6 F7 F8 F9 FA FB FC FD FE FF QRSTUVWXYZ qrstuvwxyz e Information provided in this document is solely for use with USB to I2C Professional and Elite hardware SB Solutions Inc reserves the right to make changes or improvements to this document at any time without notice We assume no liability whatsoever in the sale or use of this product including infringement of any patent or copyright No part of this document may be reproduced or transmitted in any form or by any means electronic or mechanical for any purpose without the express written permission of SB Solutions Inc Microsoft and Windows are registered trademarks of Microsoft Corporation Other brand names are trademarks or registered trademarks of their respective owners Questions or comments regarding this document should be emailed to support i2ctools com 2013 SB Solutions Inc All rights reserved February 2013 U
44. WMO and PWM1 The mode is selected by moving the switches to the appropriate mode for the LED All LEDs set to PWMx will blink at the same frequency duty cycle and phase USB to I2C Elite Software User s Manual Page 43 PWM Period Slidebar The period of the PCA9530 can be changed by moving the PWMO or PWM1 slidebars The period in seconds and frequency in Hertz is displayed below the slidebar The actual value of the PCA9530 register is displayed in the Registers groupbox PWM Duty Cycle The duty cycle for PWMO and PWM1 can be changed by moving the PWMO or PWM1 slidebars The duty cycle is displayed in percent below the slidebar The actual value of the PCA9530 register is displayed in the Registers groupbox Write All Button Pressing the Write All button causes Registers 1 through 6 to be programmed Read Input Register When the Read Input register button is pressed the Input register is read and the data is presented in the Registers groupbox Read All Button Pressing the Read All button will read all the device registers from the PCA9530 using the auto increment feature Since the PCA9530 devices don t allow auto increment starting from Register 0 the reads start with the register with the highest address which causes the auto increment pointer to roll over to Register 0 Input Register The reads continue until the all the registers have been read The data will be displayed in the Registers groupbox and the controls sli
45. Write All Read Input Read All 3 3VOn 5 0V On 400 kHz Device Address The device I2C address can be selected by choosing one of the hexadecimal selections from the drop down list The default address at start up is OxCO Auto Write On Off Button When Auto Write is disabled LED off the software can be modified without transmitting data to through the parallel port When the Auto Write LED is on any changes made to the software is immediately transmitted to the PCA9550 USB to I2C Elite Software User s Manual Page 51 LED Mode Selector Each LED can be set in one of four modes ON OFF PWMO and PWM1 The mode is selected by moving the switches to the appropriate mode for the LED All LEDs set to PWMx will blink at the same frequency duty cycle and phase PWM Period Slidebar The period of the PCA9550 can be changed by moving the PWMO0 or PWM1 slidebars The period in seconds and frequency in Hertz is displayed below the slidebar The actual value of the PCA9550 register is displayed in the Registers groupbox PWM Duty Cycle The duty cycle for PWMO and PWM1 can be changed by moving the PWMO or PWM1 slidebars The duty cycle is displayed in percent below the slidebar The actual value of the PCA9550 register is displayed in the Registers groupbox Write All Button Pressing the Write All button causes Registers 1 through 5 to be programmed Read Input Register When the Read Input register button is pressed th
46. aneously to achieve the same results Write Byte Button Pressing the Write Byte button initiates a Write to the UC device The program begins the transmission by writing the slave address and then the word address of the currently active cell in the grid The selected data byte is then sent In addition to pressing the Write Byte button you may press the Alt and y keys simultaneously and achieves the same results Write All Button Pressing the Write All button initiates a Write to the DC device The program begins the transmission by writing the byte address 0x00 to the device and sequentially writes the entire device For a RAM type device the data is sent in one long message In the case of an EEPROM the software will send one page of data usually 8 bytes but check the datasheet for the particular device you are addressing followed by a STOP condition Following the STOP condition the program waits a length of time determined by the Erase Write cycle time of the device again check the datasheet for the device you are programming before writing another page to the device In addition to pressing the Write All button you may press the Alt and lt w gt keys simultaneously to achieve the same results After completion of the write cycle the USB to I2C software will read the entire device to verify that the contents of the device match the data that was sent An error message will be displayed if the data read from the
47. ations where it is necessary to limit bus traffic or free up the I C Master s MCU MPU DSP chipset etc timer The uniqueness of this device is the internal oscillator with two programmable blink rates To blink LEDs using normal I O Expanders like the PCF8574 or PCA9554 the bus master must send repeated commands to turn the LED on and off This greatly increases the amount of traffic on the I C bus and uses up one of the master s timers The PCA9530 LED Blinker instead requires only the initial set up command to program BLINK RATE 1 and BLINK RATE 2 i e the frequency and duty cycle for each individual output BE File Device Options Window Help LED Mode Select LED 1 PWMO Rate PWM 0 Registers Period Duty Cyde Input Register Frequency Prescaler 0 PWM Register 0 Write All Frequency Prescaler 1 Read Input PWM Register 1 Read All eg e LED Selector 0 1 0 007 sec 0 007 sec 152 00 Hz 152 00 Hz 3 3VOn 5 0V On Device Address The device I2C address can be selected by choosing one of the hexadecimal selections from the drop down list The default address at start up is 0xCO Auto Write On Off Button When Auto Write is disabled LED off the software can be modified without transmitting data to through the parallel port When the Auto Write LED is on any changes made to the software is immediately transmitted to the PCA9530 LED Mode Selector Each LED can be set in one of four modes ON OFF P
48. be displayed in the Registers groupbox and the controls sliders switches will be updated USB to I2C Elite Software User s Manual Page 50 PCA9550 Two bit I2C LED Blinker The PCA9550 LED Blinker blinks LEDs in I2C bus and SMBus applications where it is necessary to limit bus traffic or free up the I2C Master s MCU MPU DSP chipset etc timer The uniqueness ofthis device is the internal oscillator with two programmable blink rates To blink LEDs using normal I O Expanders like the PCF8574 or PCA9554 the bus master must send repeated commands to turn the LED on and off This greatly increases the amount of traffic on the I2C bus and uses up one of the master s timers The PCA9550 LED Blinker instead requires only the initial set up command to program BLINK RATE 1 and BLINK RATE 2 i e the frequency and duty cycle From then on only one command from the bus master is required to turn each individual open drain output ON OFF or to cycle at BLINK RATE 1 or BLINK RATE 2 Maximum output sink current is 25 mA per bit and 50 mA per package USB to I2C Elite PCA9550 2 bit LED Driver Bike Ls n File Device Options Window Help LED Mode Select LED 1 PWM1 OFF PWM 0 Registers Period Duty Cyde Input Register Frequency FE Prescaler 0 PWM Register 0 Frequency Prescaler 1 PWM Register 1 LED Selector 0 1 1 575sec 50 00 4 525 sec 50 00 0 63492 Hz 0 221 Hz I C Address OxC2 Ge Auto Write Off
49. ch acts as an AND ofthe four interrupt inputs is provided The interrupt inputs can also be used as general purpose inputs All I O pins are 5V tolerant The pass gates ofthe switches are constructed such that the Vdd pin can be used to limit the maximum high voltage that will be passed by the PCA954x enabling these devices to be used as voltage translators USB to I2C Elite PCA9543 PCA9545 PCA9546 PCA9548 PCA9549 Switches S File Device Options Window Help Tel PCA9543A PCA9545A PCA9546A PCA9548A PCA9549 Device Address OxE2 v Device Address OxXEO v Device Address OxXEO jv Device Address OxXEO v Control Register Control Register Control Register Control Register Write Write Write Write Read Read Read Read Channel Select Channel Select Channel Select Channel Select Channel 0 Channel 0 F Channel 0 T Channel 0 Channel 1 Channel 1 F Channel 1 Channel 1 Channel 2 E Channel 2 M Channel 2 Channel 3 Channel 3 Channel 3 Interrupts Interrupts 2 Channel 4 Channel 0 ma Channel 0 Ee Sal Channel 1 Channel 1 C Channel 6 Channel 2 F Channel 7 Channel 3 V Auto Write On V Auto Write On V Auto Write On Hardware Detected 3 32VOn 5 0V On 400 kHz Control Register This register selects the active switch channel s as well as indicating any interrupting inputs Selecting a new channel in the Channel Select box or reading the sta
50. d requires only the initial set up command to program BLINK RATE 1 and BLINK RATE 2 i e the frequency and duty cycle From then on only one command from the bus master is required to turn each individual open drain output ON OFF or to cycle at BLINK RATE 1 or BLINK RATE 2 Maximum output sink current is 25 mA per bit and 100 mA per package Any bits not used for controlling the LEDs can be used for General Purpose Parallel Input Output GPIO expansion USB to I2C Elite PCA9553 4 bit LED Driver Blinker ec gi File Device Options Window Help LED Mode Select LED 3 LED 2 LED 1 LED 0 PWM 1 Rate PWM 1 Rate PWM 1 Rate PWM 1 Rate PWMO Rate PWMO Rate PWMO Rate PWMO Rate Off Off Off Off On On On On PWM 1 PWM 0 Registers hex Period Duty Cycle Period Duty Cycle E E Input Register SS I C Address OxCA Is Frequency Prescaler 0 SS E Auto Write Off PWM Register 0 EJ Frequency Prescaler 1 7 Write All PWM Register 1 SS Read Input LED Selector 0 3 EJ Bead AR 6 400 sec 50 00 6 400 sec 34 38 96 0 15625 0 15625 400 kHz 3 3V On Hardware Detected 5 0V On Device Address The device I2C address can be selected by choosing one of the hexadecimal selections from the drop down list The default address at start up is 0xCO Auto Write On Off Button When Auto Write is disabled LED off the software can be modified without transmitting data to through the parallel
51. definition file contains the Device Name Device Address Register Names and Register Values Save Device definition files can be saved to disk by selecting the Save menu item Save As Use the Save As dialog box to change the definition file name or to save the definition file in a new location If the file name already exists USB to I2C asks if you want to replace the existing file Save Registers in text format The device definition files are not in a format that can easily be used by the user therefore USB to I2C allows you to save the information in a text format extension txt Users can then open and edit this file with any word processor such as Notepad or WordPad The text files are for the user s information only and cannot be read by USB to I2C Byte Mode When the Write All and Read All buttons are pressed the software assumes that the subaddress is auto incremented after each data byte is written or read For example if you have a four byte device the writing sequence would be Start Address Subaddress0 data0 data1 data2 data3 Stop Many devices do not auto increment the subaddress between data bytes and require that only one data byte is sent for each transmission In these situations click on the Byte Mode check box The writing sequence would be Start Address Subaddress0 data0 Stop The sequence would be repeated for each data byte Print Device Data A print out of the register definitions can be obtained by select
52. ders switches will be updated USB to I2C Elite Software User s Manual Page 44 PCA9531 Eight bit I2C LED Dimmer The PCA9531 is an 8 bit I2C bus and SMBus I O expander optimized for dimming LEDs in 256 discrete steps for Red Green Blue RGB color mixing and back light applications USB to I2C Elite PCA9531 8 bit LED Driver Blinker gi File Device Options Window Help LED Mode Seet LED 1 PWM1 PWMO Registers Duty Cyde ge Duty Cyde Input Register I2C Address O0xCO Z Frequency Prescaler 0 SS E Auto Write Off PWM Register 0 Frequency Core Write All PWM Register 1 Read Input LED Selector 0 3 Read All LED Selector 4 7 0 007sec 50 00 0 007sec 50 00 152 000 Hz 152 000 Hz 3 3VOn DON On 400 kHz Device Address The device I2C address can be selected by choosing one of the hexadecimal selections from the drop down list The default address at start up is 0xC0 Auto Write On Off Button When Auto Write is disabled LED off the software can be modified without transmitting data to through the parallel port When the Auto Write LED is on any changes made to the software is immediately transmitted to the PCA9531 LED Mode Selector Each LED can be set in one of four modes ON OFF PWMO and PWM1 The mode is selected by moving the switches to the appropriate mode for the LED All LEDs set to PWMx will blink at the same frequency duty cycle and phase PWM Period Slidebar The p
53. device does not match the data in the on screen buffer Verify Button Pressing the Verify button initiates a read of the entire EEPROM After reading the contents of the EEPROM USB to I2C will compare the contents with the values in the grid An error will be flagged if the contents of the EEPROM do not match the contents of the USB to I2C on screen grid r Fill Buffer USB to I2C Elite CAUSB to I2C Elite bin My File Edit Devi e The grid will be filled with EEN the two digit hexadecimal 0 1 2 3 4 5 6 7 8 9 JA JB _ jC JD JF IF number found in the Fill Device Sze 256 00 01 02 03 04 05 06 07 08 09 OA OB OC OD OE OF with edit box when the Fill Address AE v 10 11 12 13 14 15 16 17 18 19 1A 1B ic 1D IF Buffer button is pressed Page Size 32 00 00 00 00 00 00 00 00 00 00 00 00 OO The fill can be constrained m d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 to the addresses found in Write Time 5 qu qu 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 the Fill from to the Fill to Byte Address 0x021 Do 00 00 00 00 00 00 00 00 00 00 oo oo so Se SF edit boxes No information 2 Read Byte 60 64 65 66 67 68 69 6 6C 6D 6E 6F will be sent over the I C 70 74 75 76 77 7A 7B 70 7D m bus Read All 80 84 86 S 89 8A 8B 8C 8D SE SE Write Byte 90 94 66 99 9A 9B 9C 9D 9E OF Write All 53 53 48F 6C 75 te Wu mE 2 2 Ss D Verify 7 2E 69 32 63 74 6F 6F 6C 73 2E
54. e Input register is read and the data is presented in the Registers groupbox Read All Button Pressing the Read All button will read all the device registers from the PCA9550 using the auto increment feature Since the PCA955x devices don t allow auto increment starting from Register 0 the reads start with the register with the highest address which causes the auto increment pointer to roll over to Register 0 Input Register The reads continue until the all the registers have been read The data will be displayed in the Registers groupbox and the controls sliders switches will be updated USB to I2C Elite Software User s Manual Page 52 PCA9551 Eight bit I2C LED Blinker The PCA9551 LED blinker blinks LEDs in I2C bus and SMBus applications where it is necessary to limit bus traffic or free up the I2C bus master s MCU MPU DSP chip set etc timer The uniqueness of this device is the internal oscillator with two programmable blink rates To blink LEDs using normal I O expanders like the PCF8574 or PCA9554 the bus master must send repeated commands to turn the LED on and off This greatly increases the amount of traffic on the I2C bus and uses up one of the master s timers The PCA9551 LED blinker instead requires only the initial set up command to program BLINK RATE 1 and BLINK RATE 2 i e the frequency and duty cycle for each individual output From then on only one command from the bus master is required to turn each individual open
55. e error condition and re enable Auto Write It should be noted that the Slider Control always stays on top of all other devices within USB to I2C e e o E fes En i 5 a uu c m E E 3 Kach Spin Control The Spin Control is activated when the user presses the Spinner button on the User Defined Device screen or by right clicking the grid and then selecting Register Increment Decrement Current Register with a Subaddress Spin Control from the pop up menu The subaddress ofthe active cell in the grid will Register TEA ce be assigned to the Spin Control The decimal x sr li nena 7 shown in SS upper SS corner icking on the spin control s up or down arrow Automatic am Auto Write Off will a the vane of that cellto be Write Selection orizontal sync stop Register incremented or decremented If Auto Write On Description is checked then the contents of the cell will be transmitted to the device subaddress when it is changed If an error is encountered while transmitting using Auto Write USB to I2C will turn off Auto Write and it will be up to the user to fix the error condition and re enable Auto Write It should be noted that the Spin Control always stays on top of all other devices within USB to I2C Bit Control The Bit Control is activated when the user Register presses the Bit Control button on the Subaddress User Defined Device screen or by right licking the grid and then selecting Use Register Val E gmes 8 SE T B
56. e two digit hexadecimal number found in the Preset edit USB to I2C Elite Software User s Manual Page 27 box when the Set Data button is pressed No information will be sent over the DC bus Word Address The Word Address also called subaddress is a pointer to a register or memory location within the I C device To access this location the software will send out the device I C address followed by this subaddress followed by the read or write data The program displays the subaddress ofthe active cell of the memory grid in both hexadecimal and decimal notation Read Byte Button Pressing the Read Byte button initiates a read from the DC device The program begins the transmission by writing the word address found in the Word Address or Subaddress box to the device The word address of the currently selected cell is shown in the Word Address box on the screen A Repeated Start is then generated followed by a read of the single byte The result of each byte read is immediately entered in the appropriate cell in the grid In addition to pressing the Read Byte button you may press the Alt and b keys simultaneously to achieve the same results Read All Button Pressing the Read AU button initiates a read from the DC device The program begins the transmission by writing the word address 0 to the device A Repeated Start is then generated followed by sequential reads of the entire device In addition to pressing the Read AII b
57. ection NOT the actual pin value USB to I2C Elite Software User s Manual Page 32 Polarity Registers subaddress Ox04 and 0x05 These registers allow the user to invert the polarity of the Input Port Register data If a bit in this register is set written with 1 the corresponding Input Port data is inverted If a bit in this register is cleared written with a 0 the Input Port data polarity is retained Configuration Register subaddress 0x06 and 0x07 The Configuration Registers define the directions of the I O pins If a bit in these register is set the corresponding port pin is enabled as an input with high impedance output driver If a bit in these registers is cleared the corresponding port pin is enabled as an output At reset the I Os are configured as inputs with a weak pull up to Vp Automatic Write Enable When Auto Write On is enabled green any changes made to Registers 1 through 7 checkboxes will cause the program to write the new data to the PCA9555 The display will read Auto Write Off when it is disabled and Auto Write On when enabled Checkboxes The checkboxes indicate the logic level of the various bits in the registers A checked box is equivalent to logic T while an unchecked box is equivalent to logic 0 The logic level can be changed by single clicking on the checkbox If Auto Write is enabled green LED USB to I2C will write the new value to the PCA9555 immediately after a change
58. el 9 No channel No channel 9 No channel i Channel 0 Channel 0 Channel 0 Channel 0 Channel 1 Channel 1 Channel 1 Channel 1 Channel 2 D Channel 2 Channel 3 5 Channel 3 Interrupts Interrupts Channel 4 maj Channel 0 Z Channel 0 Channel 5 Sal Channel 1 Channel 1 Channel 6 maj Channel 2 ml Channel 3 Channel 7 V Auto Write On 7 Auto Write On W Auto Write On V Auto Write On Hardware Detected 400 kHz 3 32VOn SON On Control Register This register selects the active multiplexer channel as well as indicating any interrupting inputs The control register edit box is read only The contents of the control register can be changed by selecting a new channel in the Channel Select box or reading the status with the Read Button Interrupts The PCA9544 and PCA9542 provide interrupt inputs one for each channel and one open drain interrupt output When an interrupt is generated by any device it will be detected by the PCA954x and the interrupt output will be driven LOW The channel need not be active for detection of the interrupt A bit is also set in the control byte Bits 4 7 of the control byte correspond to channels 0 3 ofthe PCA9544 respectively while bits 4 and 5 are used by the PCA9542 Therefore if an interrupt is generated by any device connected to channel 2 and then bit 6 will be set in the control register Likewise an interrupt on any device connected to channel 3 would cause bit 7 of the control register
59. emote Temp Limits C Ext high temp not tripped Ext low temp not tripped External diode not open Local HIGH Setpoint 70 C LHS 0x46 Vi Remote HIGH Setpoint 70 C RHSHB 0x46 RHSLB 0x0 Remote Not Critical Temp Local Not Critical Temp Read Configuration 0x00 Alert interrupt enabled Running mode Local T_CRIT C Local LOW Setpoint 0 C LLS 0x0 a Write T_CRIT Hysteresis RLSHB 0x0 t RLSLB 0x0 Write Read Remote T CRIT C Remote T crit Enabled Local T crit Enabled Fault Queue single Write Read T CRIT 85 C LCS 0x55 H Write Read Hysteresis 10 C Conversion Rate CR 16 Hz Automatic Write DoF Interrupt Mode ReadID RMID DX Wite RDR OxXX Write All L T_CRIT 85 C a RCS 0x55 Read Write Read Remote Temperature Offset C Cyclic Read Remote Temp Offset 0 C RTOHB 0x0 gt RTOLB 0x0 I Write Read Hardware Detected USB to I2C Elite Software User s Manual 3 3VOn 5 0V On 100 kHz Page 77 SE98 Temperature Sensor The SE98 is a JEDEC compliant local temperature sensor specifically designed for higher performance SO DIMM applications The temperature sensor is mounted on the SO DIMM module and communicates with the processor via the I2C bus SMBus Since the DRAM refresh rate is dependent on temperature mounting the t
60. emperature sensor on the module allows the processor to adjust the refresh rate based on the actual temperature instead of the calculated worst case temperature The SE98 consists of a AX A D converter that continuously monitors and updates its own temperature readings converts the reading to digital data and registers into the data temperature register The data is compared to three alarm registers which are programmed and read via a 2 wire serial bus SMBus I2C bus Standard mode and I2C bus Fast mode The device also supports the SMBus time out function that prevents system lock ups Device Address em Configuration 0x0000 Disable hysteresis Temp sensor on Crit trip register not locked Alarm Window not locked Event not cleared EVENT not asserted EVENT output disabled Alarm or Critical Event EVENT output active low Comparator Mode Write Capability OxXxxx lll TRES HACC BE Eile Device Options Window Help Temperature Register Temperature 20 00 C Temperature Register 0x0000 ACT AAW BAW un Read Cyclic Read Upper Boundary Alarm Trip C 22l 0 00 C UBAT 0x0000 Write Read Lower Boundary Alarm Trip C x tx 0 00 C LBAT 0x0000 Write Read Critical Alarm Trip C as oons CAT 0x0000 Write Read SMBus time out enabled SMBus al
61. ent Device m s Edit Current Device Device Name SAA7120 Device Address AE Numberof 423 ei Registers w Register Description HHHH d 2 i A DH Cancel transferred to the User Definable Device screen Edit Current Register If you want to adjust one register in the grid use the Edit Register 0x07 Current Register screen This screen can be started by right Initial Value hex EQ clicking on the User Definable Device grid or by selecting Current Register from the Edit menu The name of the register Description Horizontal sync stop and the initial value displayed when the definition file is first opened can be changed here Note that the register name changes are not saved until the Save or Save As item under the File menu is selected Editing the current device may be accomplished by clicking on Edit Current Device from the Edit menu or by right clicking on the grid within the User Definable Device mode of USB to I2C The screen shown above will be displayed when either method is invoked Device Name the name entered in this box will be shown in the title bar of USB to I2C when the definition file is opened Device Address is the device IC address that will be displayed in the Address box when the definition file is opened Note that only even addresses are valid here USB to I2C will append the appropriate R W bitat the end ofthe address depending upon
62. er I O Port with Interrupt amp Reset PCA9555 Sixteen Bit I O Port with Interrupt The PCA9555 PCA9535 and PCA9539 are 24 pin CMOS device that provide 16 bits of General Purpose parallel Input Output GPIO expansion for I2C SMBus applications and were developed to enhance the NXP family of I2C I O expanders The improvements include higher drive capability 5V 1 0 tolerance lower supply current individual I O configuration and smaller packaging I O expanders provide a simple solution when additional I O is needed for ACPI power switches sensors pushbuttons LEDs fans etc USB to I2C Elite PCA9535 PCA9555 PCA9539 16 bit I O Expander S File Device Options Window Help Device Address Input Registers 1 and 0 4 Auto Write On FE Fe Read Inputs Write All Read All Registers 7 and 6 Registers 5 and 4 Registers 3 and 2 FF Configuration FF 00 Polarity 00 FF Output FF 7 7 V Input 6 7 Input 5 7 Not Inverted 47 Not Inverted 3 7 V High 2 7 V High 7 6 7 Input 6 6 V Input 56 Not Inverted 4 6 Not Inverted 3 6 7 High 2 6 High 7 5 7 Input 6 5 V Input 55 Not Inverted 4 5 Not Inverted 3 5 V High 2 5 7 High 7 4 7 Input 6 4 7 Input 54 NotInverted 4 4 Not Inverted 3 4 V High 2 A V High 7 3 V Input 6 3 V Input 53 NotInverted 4 3 C Not Inverted 3 3 V High 2 3 High 7 2 7 Input 6 2 V Input 52 NotInverted 4 2 Not Inverted 3 2
63. er Register 0 has been read USB to I2C will begin a new transaction for each of the other registers This will continue until all four registers have been read Write Button Upon pressing one of the Write Buttons USB to I2C will write to the appropriate register Pressing the Write All button writes to Registers 1 2 and 3 Since there is no automatic increment of the register subaddress between writes only one register may be written for each Start condition Therefore after Register 1 has been written by USB to I2C a new transaction will be sent out so that Register 2 can be written followed by Register 3 USB to I2C Elite Software User s Manual Page 30 PCA9536 Four Bit IO Expander PCA9537 Four Bit IO Expander with Interrupt and Reset The PCA9536 is an 8 pin and the PCA9537 is a 10 pin CMOS device that provide 4 bits of general purpose parallel Input Output GPIO expansion for I2C and SMBus applications The PCA9536 and PCA95537 are similar devices however the PCA9537 adds an interrupt output and a reset input The PCA9536 and PCA9537 have four registers All four registers can be read by the bus master while the Input register can only be read USB to I2C Elite PCA9536 PCA9537 I O Expanders gt File Device Options Window Help Device Address 0x82 V Auto Write On Write All Read All Register 3 Register 2 Register 1 Register 0 Configuration Polarity Output Input FF 00 FF FF C3 Idi Input N3 C Not I
64. eriod of the PCA9531 can be changed by moving the PWMO0 or PWM1 slidebars The period in seconds and frequency in Hertz is displayed below the slidebar The actual value of the PCA9531 register is displayed in the Registers groupbox USB to I2C Elite Software User s Manual Page 45 PWM Duty Cycle The duty cycle for PWMO and PWM1 can be changed by moving the PWMO or PWM1 slidebars The duty cycle is displayed in percent below the slidebar The actual value of the PCA9531 register is displayed in the Registers groupbox Write All Button Pressing the Write All button causes Registers 1 through 6 to be programmed Read Input Register When the Read Input register button is pressed the Input register is read and the data is presented in the Registers groupbox Read All Button Pressing the Read All button will read all the device registers from the PCA9531 using the auto increment feature Since the PCA955x devices don t allow auto increment starting from Register 0 the reads start with the register with the highest address which causes the auto increment pointer to roll over to Register 0 Input Register The reads continue until the all the registers have been read The data will be displayed in the Registers groupbox and the controls sliders switches will be updated USB to I2C Elite Software User s Manual Page 46 PCA9532 Sixteen bit I2C LED Dimmer The PCA9532 is a 16 bit I2C bus and SMBus I O expander optimized for dimming LED
65. ert enabled Write Manufacturer ID DOC Read Device ID 0xXXXX Read Write All Read All Hardware Detected USB to I2C Elite Software User s Manual Page 78 Slave Mode The slave mode is only available in the USB to I2C Elite hardware The Slave Mode interface allows the user to configure the Elite hardware as an I C slave It also shows the contents ofthe slave s data buffer When the slave interface starts the hardware will normally be in master mode until the slave interface has been configured Note that it is not necessary to change the I C frequency The frequency is only applicable in master mode In slave mode it will automatically synchronize to the master s frequency USB to I2C Elite C Slave Control B z i 2 d HU 8 Enable Slave AO F Define Slave Size 256 Fill Slave Buffer FF Read Slave Buffer Idle Slave Resume Slave Enable Master 02 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF SS Ss ss Ss ss sg geg ERR 57557777551 30 1 1353 325555557333 AB AARAAAAAAAAAARAAASE AAA AAA AAAAAA AA AAR AAAAAAAAAAAAAA AD AR rF aAAAAAAAAAA AAA A 43 8 E RRRARAAARARRAR RAR AAAS AA AAAAAAAAAAAA A A 3577772723138 5325757327558 d A A AA AAA A A AA A A A 3 7537555 77755m m 30138 553557555 RL AAA AAAAAAAAAAAAAS i i Write to Slave The slave responds to standard 1 C messages that would be used to communica
66. es gio cd nian eines inti cadena th cantata nade a AAEE Read Buttons AANEREN EE a ee Write Butt E PCA9536 Foun BiT IO EXPANDER PCA9537 FOUR BiT IO EXPANDER WITH INTERRUPT AND RESET Automatic Write Enable 5 etre ee tine incedit ise rust idein nd ter ou Misc C RP Edit BOXGS p DL E eae ee PCA9535 SIXTEEN BIT Low POWER I O PORT WITH INTERRUPT PCA9539 SIXTEEN BIT Low POWER I O PORT WITH INTERRUPT amp RESET PCA9555 SIXTEEN BIT I O PORT WITH INTERRUPT Input Registers subaddress 0x00 and 0x01 Output Registers subaddress 0x02 and 0x03 eene Polarity Registers subaddress 0x04 and 0x05 eneen Configuration Register subaddress 0x06 and 0x07 Automatic Write Enable Checkboxes Edit BOXES e Rea Buttons M 9 PCA9556 PCA9557 EIGHT BIT I O EXPANDERS WITH RESET EEN USB to I2C Elite Software User s Manual Oe Wel Redd All BUOD aaia aaa aeaa aia aaa aa NA aae a aE N AA i a Nai Write AN BubtO een Register 0 Input Port Register 1 Output port Register 2 Polarity E Register 3 Confieuration l ENEE 35 PCA9698 FORTY BIT I O EXPANDER sees eene ntn tnn tnter nt tetn inanan Pisos sto a a aa 36 Device Configuration Read All Button Write
67. es that Microsoft GDI is installed on your PC Itis normally installed by Windows however if you receive an error message saying that the GDI dll is missing you can download it from the Microsoft website Microsoft GDI download m USB to I2C hardware monitors the communications on the I C bus for proper operation of connected peripherals any errors on the bus are detected and reported by the software Bus communication is stopped if errors are detected and can be resumed when the hardware problem is corrected and the transmission retried m Keep a copy of the original USB to I2C installation file in the event the software needs to be re installed Future USB to I2C software updates from our Website may require a previous installation from the original media n Check for new versions of the software at http www i2ctools com downloads html m The firmware for the Professional and Elite hardware can be upgraded by the user if the firmware loaded on the Elite hardware is version 2 0 or later and the hardware for USB to I2C Professional is 3 0 or later We will also upgrade the firmware for you if you have an earlier revision The hardware will need to be returned to us for version 1 x Please visit the i2ctools website to find the latest firmware information If all else fails email a description of the problem you are having to us at support i2ctools com Note that all technical support requests must begin with an email to this email
68. es to the Thyst TOS or Configuration Register will immediately be sent to the LM75A Write All Pressing this button will send data to the Thyst TOS and Configuration Registers Read All Pressing this button will read all the registers in the LM75A USB to I2C Elite Software User s Manual Page 74 Temperature Register Temp The Temp register holds the digital result of temperature measurement at the end each A to D conversion This register is read only and contains two 8 bit data bytes consisting of one most significant MS data byte and one least significant LS data byte However only 11 bits of those two bytes are used to store the Temp data in 2 s complement format with the resolution of 0 125 C Notice that when the Temp registers are read all 16 bits are provided to the bus and must all be collected by the controller to complete the bus transaction However only the 11 most significant bits should be used and the 5 LSB bits of the LS byte are zero and should be ignored Thyst Hysteresis Register The Thyst register defines the hysteresis for the device Watchdog operation At the end of each conversion the Temp data will be compared with the data stored in this register The Thyst register contains two 8 bit data bytes consisting of one MS data byte and one LS data byte the same as the Temp register However only 9 bits of the Thyst register are used to store the set point data in 2 s complement format with the resolution
69. es to the appropriate mode for the LED All LEDs set to PWMx will blink at the same frequency duty cycle and phase PWM Period Slidebar The period of the PCA9551 can be changed by moving the PWMO or PWM1 slidebars The period in seconds and frequency in Hertz is displayed below the slidebar The actual value of the PCA9551 register is displayed in the Registers groupbox PWM Duty Cycle The duty cycle for PWMO and PWM1 can be changed by moving the PWMO or PWM1 slidebars The duty cycle is displayed in percent below the slidebar The actual value of the PCA9551 register is displayed in the Registers groupbox Write All Button Pressing the Write All button causes Registers 1 through 6 to be programmed Read Input Register When the Read Input register button is pressed the Input register is read and the data is presented in the Registers groupbox Read All Button Pressing the Read All button will read all the device registers from the PCA9551 using the auto increment feature Since the PCA955x devices don t allow auto increment starting from Register 0 the reads start with the register with the highest address which causes the auto increment pointer to roll over to Register 0 Input Register The reads continue until the all the registers have been read The data will be displayed in the Registers groupbox and the controls sliders switches will be updated USB to I2C Elite Software User s Manual Page 54 PCA9552 Sixteen bit
70. essing the Read Button Data read from the PCF8574 A will be shown in the box beside the Read Button The checkboxes are then changed to show the value of each individual I O of the device If the checkbox is checked then the I O pin is high while an unchecked box means that the I O pin is low It is important to remember that before any I Os in the PCF8574 A can be used as inputs they must be set high first The program does not do this for you Data Byte Any two digit hexadecimal number may be entered in this data box When it is changed the checkboxes labeled PO P7 will also change showing the current value of the data which will be written to the PCF8574 A Write Button Pressing the Write Button will send an I C message to the PCF8574 A consisting of a Start condition the IC address the data byte followed by the Stop condition Note that if Automatic Write Enable is checked any changes to the data box will be sent any time a change is made Automatic Write Enable When Auto Write On is enabled light green any changes made to the PO P7 checkboxes will cause the program to write the new data to the PCF8574 A The display will read Auto Write Off when it is disabled and Auto Write On when enabled Auto Read Back When this function is enabled light green the software will immediately read the PCF8574 after it has performed a write The result of the read will be displayed in the Read groupbox USB to I2C Elite Sof
71. eviously defined device may be loaded by selecting it from the Most Recently Used files at the bottom of the File menu If devices have not yet been defined there will be no devices shown below the File Exit menu item To begin the definition process you may right click with your mouse on any data cell in the grid or select Current Device or Current Cell from the Edit menu The Reset item in the Edit menu will clear all the register names to Undefined Register and set the data values to OxFF Clicking on the desired cell and doing one ofthe following can change the data value ofthe individual cells 1 Typing in a two digit hexadecimal number 2 Assigning a slider to the active cell by pressing the Slider button 3 Assigning a spin control to the active cell by pressing the Spinner button 4 Assigning a Bit wise control to the active cell by pressing the Bit wise button Items 2 3 and 4 can also be achieved by positioning the cursor over the desired cell and right clicking on the grid to select the appropriate control from the pop up menu USB to I2C Elite Software User s Manual Page 18 Define New Device This is similar to the Edit Current Device explained below This menu selection allows the user to start a new device from scratch All register names are undefined and all default values are OxFF Open Device Definition File A previously saved device definition file def can be recalled by selecting this menu item The device
72. gits 1 and 2 USB to I2C Elite Software User s Manual Page 60 CO 1 dynamic mode alternating display of digit 1 3 and 2 4 Automatic Write If the Automatic Write is enabled green any changes to the SAA1064 Control Register or Digits will immediately be sent via the I C bus The data sent to the SAA1064 consists of a Start condition the I C address Instruction byte then the data for the changed Control Register or Data byte followed by the Stop condition Therefore a total of three bytes will be sent any time a change is made and Automatic Write is enabled Digits 1 2 3 and 4 The AA1064 can drive up to four 8 segment LEDs The data for these digits is contained in four registers within the SAA1064 In order to change the contents of these registers you can click on the LEDs within the Digit groupboxes If an LED is on light green then the LED segment is on while a dark green LED causes the LED segment to turn off Changes in the on screen LEDs are reflected in the hexadecimal values shown above the on screen LEDs Ifthe Automatic Write is enabled light green any changes to the SAA1064 Control Register or LED Digits will immediately be sent to the device through I C bus Instruction Byte The instruction byte is equivalent to a subaddress The instruction byte is configured as shown below 0 0 0 0 0 SC SB SA The bits SC SB and SA ofthe instruction byte form a pointer and determine to which register the data byte fol
73. he i2c bus is shown in this box on the main screen Note that the hardware cannot produce every value you enter so it will set it to the closest available frequency USB to I2C Elite Software User s Manual Page 12 Memory Devices EEPROM RAM FRAM Upon starting any memory type device you will see a screen similar to the one shown below Note that RAM FRAM will be similar to EEPROM but it will not have a Page Size or Write Time Byte Address 0x000 Read Byte Read All Write Byte a 10 11 12 13 14 15 16 17 18 19 1A B 1C D E FF a E 31 51 71 33 34 54 35 37 38 39 3A 38 3C 57 358 59 SA 5B SC 7 Verify 8 a GC Address A drop down menu is provided which allows the user to select a valid address for the selected device type Write Bvte USB to I2C Elite Software User s Manual Page 13 USB to I2C Elite CAUSB to I2C File Edit Device 256 AE Device Size Address Page Size Write Time Read All Write Byte Write All I gt vo D d OW A WN be 1nes8a2a8ss5s5s5s Options o 1 00 0 1 2 3 4 5 6 7 8 9 4 USB to I2C Elite CAUSB to I2C Device Sze 256 Address AE 7 Page Size 32 Je Write Time 5 Byte Address 0x000 mm Dn eid wO sw Ou A d NM be amp 5bmuumsssg8S8s5s 8skbHbsSs Read Byte Read All Write Byte Write All Verify Fil from 00
74. he software for each hardware has similar features however the USB to I2C software for the Elite and Professional hardware are not compatible so if you are using both hardware platforms you will need to install both the Professional and Elite software packages When the USB to I2C program starts a screen as shown below will be displayed on the monitor USB to I2C Elite File Device Options Window Help Device Menu Options Menu USB Hardware I C Frequency Indicator Output Power Message Panel Do 3 3V0n DON On 400 kHz Device Menu The device menu contains a list of I C devices supported by the USB to I2C software Selecting the device from this menu may start any ofthe listed devices You can have any combination of devices open at one time Switching between active devices may be accomplished via the Window menu on the main toolbar Message Panel The main screen has a panel that displays messages from the program It will indicate if the I C transmission was successful or if there was a problem encountered Alist of messages is shown below Messages Transmission successful the last I C transmission was successfully completed Address not acknowledged an I C address was successfully transmitted but no slave device acknowledged the address A STOP condition is sent after the acknowledge clock pulse if no acknowledge is received Data not acknowledged an I C address was previously acknowledged
75. ing this option from the File menu Data Grid The grid consists of rows and columns Each cell within the grid contains a two digit hexadecimal number Each cell corresponds to a physical byte location within the I C device For example in the diagram shown above cell 0x07 is highlighted row 0 column 7 This translates to address 7 decimal in the device assuming the first byte is address 0x00 The data may be changed by entering hexadecimal numbers from your keyboard Non valid keys will be ignored In order to edit the entire grid including the name and default values of the registers you may right click on the grid or select the appropriate item from the Edit menu The individual cells within the grid will be blue if the cell s subaddress is greater than the maximum number of registers defined for the active device The number of device registers may be changed at any time in the Edit Current Device screen Edit Menu The Edit menu is available only when the User Definable Device screen is active The user can select from one of the three menu items 1 Current Device brings up a screen showing the all the register data for the active device 2 Current register allows registers to be changed one at a time 3 Reset grid all register data will be set to OxFF and the register descriptions will be Undefined Register USB to I2C Elite Software User s Manual Page 19 RE Edit Register OK Cancel Edit Curr
76. is made Edit Boxes The edit boxes show the current hexadecimal value for each of the 4 registers Register 0 is a Read Only register so the user cannot change this value If the hexadecimal value is changed by the user it will be transmitted by USB to I2C if the Auto Write is on checked The checkboxes will also be updated to reflect the new value of the Edit Box Read Buttons Upon pressing one of the Read Buttons USB to I2C will read the appropriate register and place the hexadecimal value in the edit box The checkboxes are updated to reflect the individual bit logic levels USB to I2C Elite Software User s Manual Page 33 PCA9556 PCA9557 Eight bit I O Expanders with Reset The PCA9556 and PCA9557 are CMOS circuit that provides parallel input output expansion for 12C and SMBus applications These devices consist of an 8 bit input port register 8 bit output port register and an I2C interface It has low current consumption and a high impedance open drain output pin 1 00 The system master can reset the PCA9556 in the event of a timeout by asserting a LOW on the reset input The system master can also invert the PCA9556 PCA9557 inputs by writing to their active HIGH polarity inversion bits Finally the system master can enable the I Os as either inputs or outputs by writing to the I O configuration register USB to I2C Elite PCA9556 PCA9557 I O Expanders File Device Options Window Help Device Address 0x30 e V Auto
77. ite Software User s Manual Page 49 LED Mode Selector Each LED can be set in one of four modes ON OFF PWMO and PWM1 The mode is selected by moving the switches to the appropriate mode for the LED All LEDs set to PWMx will blink at the same frequency duty cycle and phase PWM Period Slidebar The period of the PCA9533 can be changed by moving the PWMO0 or PWM1 slidebars The period in seconds and frequency in Hertz is displayed below the slidebar The actual value of the PCA9533 register is displayed in the Registers groupbox PWM Duty Cycle The duty cycle for PWMO and PWM1 can be changed by moving the PWMO or PWM1 slidebars The duty cycle is displayed in percent below the slidebar The actual value of the PCA9533 register is displayed in the Registers groupbox Write All Button Pressing the Write All button causes Registers 1 through 6 to be programmed Read Input Register When the Read Input register button is pressed the Input register is read and the data is presented in the Registers groupbox Read All Button Pressing the Read All button will read all the device registers from the PCA9533 using the auto increment feature Since the PCA955x devices don t allow auto increment starting from Register 0 the reads start with the register with the highest address which causes the auto increment pointer to roll over to Register 0 Input Register The reads continue until the all the registers have been read The data will
78. ive outputs for common anode segments an on chip multiplex oscillator control bits to select static dynamic and blank mode and one bit for segment test USB to I2C Elite SAA1064 LED Driver 5 File Device Options Window Help Device Address Automatic Write Read and Write 0x70 7 Auto Write On Read Status mmm Write All Control Register Digit 1 Digit 2 Current mA IK C All segments on Bit6 lBit5 BA Bit3 Bit 2 Dynamic mode Biti Bito Digits 2 and 4 on Digits 1 and 3 on 3 32VOn 5 0V On 100 kHz Control Register The Control Register is responsible for determining the mode of operation of the SAA1064 It can control which digits are blanked static versus dynamic operation and the current supplied to the LEDs In order to change the value of the Control Register in the SAA1064 the state of the checkboxes in the Control Register box on the screen can be toggled checked unchecked and the slider can be used to change the current sinking of the device The figure below shows the contents of the Control Register x C6 C5 C4 C3 C2 C11 CO C6 1 adds 12mA to segment output current C5 1 adds 6mA to segment output current C4 1 adds 3mA to segment output current C3 1 allsegment outputs are switched on for segment test C2 0 1 digits 2 and 4 are blanked not blanked C1 0 1 digits 1 and 3 are blanked not blanked C0 0 static mode continuous display of di
79. kHz Send All Button Send Sequence Sequence Button Send Continuosly Indicator Button Open New Page Pressing this button opens a new blank page There will be 8 empty rows messages Selecting New from the File menu while the Expert Mode is active will perform the same function Open Data File A previously saved data file can be recalled by pressing the Open Data File button or by selecting Open from the File menu while the Expert Mode is active A dialog box will be displayed allowing the user to navigate to the appropriate directory Save Data The current data will be saved when this button is pressed The user specifies the name and location of the file in a dialog box that is displayed after the button is pressed A dialog box will be displayed which allows the user to navigate to the appropriate directory The user can also perform the same function by selecting Save from the File menu while the Expert Mode screen is active Close Expert Mode The Expert Mode screen is closed but USB to I2C will not be terminated USB to I2C Elite Software User s Manual Page 22 Add a Row Inserts a new blank row after the active row You can also use the Ctrl Insert keyboard shortcut to insert a new row The total number of rows is limited to 64 Delete a Row Deletes the Active Row active message You can also use the Ctrl Del keyboard shortcut to delete the current row Clear the current row The cu
80. le SCL is HIGH defines a STOP condition The master always generates START and STOP conditions The bus is considered to be busy after the START condition The bus is considered to be free again a certain time after the STOP condition IC Address The first seven bits of an IC transmission make up the slave address The eighth bit or the least significant bit is the R W bit that determines the direction of the message Save Address EH A 0 in the least significant position of the first byte means that the master will WRITE information to the selected slave A 1 in this position means that the master will READ information from the slave When an I C address is sent each device in a system compares the first seven bits after the START condition with its own address If they match the device considers itself addressed by the master as a slave receiver or slave transmitter depending on the R W bit When selecting addresses within USB to I2C the software assumes the least significant bit is zero write If the I7C message is a write transmission the least significant bit will be sent as a 0 while if itis a read the software will append a 1 in the LSB position 2 D IC Bus Documentation The complete DC Bus specification can be found at http www standardics nxp com literature i2c Main Screen This user manual covers the features of the USB to I2C software for both the USB to I2C Professional and Elite hardware T
81. lof f fofop fr Ser ii Bit Control to Change Active Register write maj Auto Write Off from the pop up menu Selection Analog input Control 2 Register l VUE a Description The subaddress of the active register in the grid will be assigned to the Bit Control The subaddress is shown in the upper left corner Clicking on any ofthe eight edit boxes will cause the value of that bit to be inverted If Auto Write On is checked then the contents of the cell will be transmitted to the device subaddress when it is changed It should be noted that the Bit Control always stays on top of all other devices within USB to I2C USB to I2C Elite Software User s Manual Page 21 Expert Mode The figure below shows the Expert Mode screen Delete a row Add a row Clear the active row Copy the active row Paste data Open new USB to I2C Elite TO Expert Mode blank page P Open datafile Address R W Data Stop Delay Notes Save AE Write 00 01 02 03 84 05 06 07 08 Yes 10 Write 8 data bytes to eeprom with 10ms write cycle data AE Write 00 No 0 Send subaddress 0x00 to eeprom AE Read 01 02 03 04 05 06 07 08 Yes 0 Read 8 bytes from eeprom Close Expert Mode Compress the data Ignore acknowledge Send 11 Message Button Send Message Send All Send Sequence Send Continuously Active Active Msg 8 Sending Msg 3 Jia ef Transmission successful Hardware Detected 3 3V Off 5 0 Off 100
82. lowing the instruction byte will be written All other bytes will then be stored in the registers with consecutive subaddresses This feature is called Auto Increment AI of the subaddress and enables a quick initialization by the master The subaddress pointer will wrap around from 7 to 0 The USB to I2C software does not allow the user to modify the instruction byte The software points to 00h when the write button is pressed since it will be writing all the registers When Automatic Write is enabled the instruction byte will point to the register that is affected by the changes For example if the user clicks on Bit 5 in Digit 4 then the software will set the instruction byte to 04h for the write sequence Read Address This box reflects the I C address that is sent to the SAA1064 when a read operation is performed The contents of this box cannot be changed directly by the user but can only be changed by clicking on a different address in the Device Address box Status Register Only one bit is present in the status byte the Power Reset flag If the most significant bit is a logic 1 this indicates the occurrence of a power failure since the last time it was read out After completion of the READ action this flag will be set to logic 0 The LED beside the read button will illuminate if the Power Reset flag is set Read Status Button When the Read Button is pressed the contents of the Status Register are read from the SAA1064 The
83. nverted O3 V High I3 V High C2 V Input N2 Not Inverted O2 WI High I2 High C1 Idi Input N1 Not Inverted O1 l High I1 V High CO Input NO Not Inverted OO V High IO High Write Write Write Read Read Read Read Hardware Detected 3 3V On 5 0V On 400 kHz Automatic Write Enable When Auto Write is enabled checked any changes made to Registers 1 2 or 3 checkboxes will cause the program to write the new data to the device Checkboxes The checkboxes indicate the logic level ofthe various bits in the registers A checked box is equivalent to logic T while an unchecked box is equivalent to logic 0 The logic level can be changed by single clicking on the checkbox If Auto Write is enabled checked the new value will immediately be written to the device shown in the Address box The checkboxes will also be updated when a new value is read by USB to I2C or when the value in the edit boxes is changed Edit Boxes The edit boxes show the current hexadecimal value for each of the 4 registers Register 0 is a Read Only register so the user cannot change this value If the hexadecimal value is changed by the user it will be transmitted by USB to I2C if the Auto Write is enabled checked The checkboxes will also be updated to reflect any changes to the values of the Edit Box USB to I2C Elite Software User s Manual Page 31 PCA9535 Sixteen Bit Low Power I O Port with Interrupt PCA9539 Sixteen Bit Low Pow
84. o 64 messages in length The sequencer is limited to using messages 1 through 64 The Sequence Editor is shown below KS Sequence Editor Sequencer iE BEREEEEIPIDEsEBSEEEEBEEEEEEBEEE Message Editor The i2c message cannot be edited directly in the Expert mode screen Instead an Expert Mode Editor is brought up either by double clicking on a message or when the user attempts to type directly into one of the rows messages in the Expert Mode screen USB to I2C Elite Software User s Manual Page 24 Address AE Stop Yes Read Write write Je Number of Bytes 9 s Close Editor Delay After Message ms 10 Notes Write 8 bytes to address OxAE subaddress 0x00 Write Message G Ja J8 Ja Je le Jane o0 01 02 03 04 05 06 07 08 Message Number The message being edited is shown at the top of the message editor screen Delay after message A delay measured in milliseconds can be inserted after a message Device Address The I2C slave address is entered in the address box in hexadecimal notation The least significant bit of the address is not important can be a 1 or 0 since the Expert Mode will ensure that this is appropriate for the read write transaction when the message is actually transmitted Read Write Selection The user can select a Read or Write transaction from the drop down selection box If a Read is chosen then the Number of Bytes to Read box will be shown and the data entry area will be
85. of 0 5 C The Thyst Register data may be changed by pressing the up down arrows and then pressing the Write button The data can also be sent automatically by pressing the up down arrow while the Auto Write checkbox is checked TOS Overtemp shut down threshold Register The TOS register is used to store the user defined overtemp shut down threshold Tos for the device Watchdog operation At the end of each temperature conversion the Temp data will be compared with the data stored in this register in order to set the state of the device OS output The TOS register contains two 8 bit data bytes consisting of one MS data byte and one LS data byte the same as the Temp register However only 9 bits of the two bytes are used to store the set point data in 2 s complement format with the resolution of 0 5 C The TOS Register data may be changed by pressing the up down arrows and then pressing the Write button The data can also be sent automatically by pressing the up down arrow while the Auto Write checkbox is checked Configuration Register The Configuration register is a write read register and contains an 8 bit non complement data byte that is used to configure the device for different operation conditions The Configuration register table shows the bit assignments of this register Bit Name R W POR Description B7 B5 Reserved R W 000 Reserved for the manufacturers use B4 B3 OS Fault Queue R W 00 For OS Fault Queue prog
86. ointer to roll over to Register 0 Input Register The reads continue until the all the registers have been read The data will be displayed in the Registers groupbox and the controls sliders switches will be updated USB to I2C Elite Software User s Manual Page 58 PCA9633 Four bit 12C LED Dimmer The PCA9633 is an I2C bus controlled 4 bit LED driver optimized for Red Green Blue Amber RGBA color mixing applications Each LED output has its own 8 bit resolution 256 steps fixed frequency Individual PWM controller that operates at 97 kHz with a duty cycle that is adjustable from 0 96 to 99 6 96 to allow the LED to be set to a specific brightness value A fifth 8 bit resolution 256 steps Group PWM controller has both a fixed frequency of 190 Hz and an adjustable frequency between 24 Hz to once every 10 73 seconds with a duty cycle that is adjustable from 0 96 to 99 6 96 that is used to either dim or blink all LEDs with the same value Each LED output can be off on no PWM control set at its Individual PWM controller value or at both Individual and Group PWM controller values The LED output driver is programmed to be either open drain with a 25 mA current sink capability at 5 V or totem pole with a 25 mA sink 10 mA source capability at 5 V The PCA9633 operates with a supply voltage range of 2 3 V to 5 5 V and the outputs are 5 5 V tolerant LEDs can be directly connected to the LED output up to 25 mA 5 5 V or controlled with external drive
87. oming logic levels of the pins regardless of whether the pin is defined as an input or an output by register 3 Writes to this register have no effect Logic 0 is shown as an unchecked checkbox while logic 1 is shown as a checked box Register 1 Output port This register is an output only port It reflects the outgoing logic levels ofthe pins defined as outputs by register 3 Bit values in this register have no effect on pins defined as inputs In turn reads from this register reflect the value that is in the flip flop controlling the output selection NOT the actual pin value Register 2 Polarity This register enables polarity inversion of pins defined as inputs by register 3 If a bit in this register is set written with UL the corresponding port pin s polarity is inverted If a bit in this register is cleared written with a 0 the corresponding port pin s original polarity is retained Register 3 Configuration This register is an input only port It reflects the incoming logic levels of the pins regardless of whether the pin is defined as an input or an output by register 3 Writes to this register have no effect This register configures the directions of the I O pins If a bit in this register is set written with UL the corresponding port pin is enabled as an input with high impedance output driver If a bit in this register is cleared written with 0 the corresponding port pin is enabled as an output USB to
88. otem pole el Write IC Address OUT3 BANKS totem pole OUT045 IOO 4 and IOO 5 are totem pole 0x40 r OUT4 BANK4 totem pole OUT067 100_6 and IOO 7 are totem pole ALLBNK BSEL z B4 0 all IOs configured as output in Bank 4 are programmed with actual value Read Auto Write On Write All B3 0 all IOs configured as output in Bank 3 are programmed with actual value B2 0 all IOs configured as output in Bank 2 are programmed with actual value Read All B1 0 all IOs configured as output in Bank 1 are programmed with actual value BO 0 all IOs configured as output in Bank 0 are programmed with actual value MODE No response to Alert Response MODE 0x02 Does not respond to All Call Change on ACK OE pin is active LOW Read Write Due to the number of registers in the PCA9698 the application interface is split into multiple pages Device Configuration The first page of controls includes the OUTCONF ALLBNK and MODE registers Read All Button The Read All button will read all the registers in the PCA9698 not only the registers shown on the active page Write All Button The Write All button will write all the registers in the PCA9698 not only the registers shown on the active page USB to I2C Elite Software User s Manual Page 36 Bank Registers Each eight bit IO
89. pt Recovery initialization interrupt Downstream interru pE Functional test interr pt iresch MULTIPLEXER SWITCHES EE 65 PCA9540B PCA9542A PCA9544A PCA9547 onc cescssssssssstesssseesssseesssseesssseessnseassnseersnseersnsesssseersnseessnseessnseessnseersnseetane Control Register asec IE S Interr pts 5i e tit de coh don p E toate ead tiet Multiplexer Control Atto W Oran meet E D EIE EAE PCA9543A PCA9545A PCA9546A PCA9548A PCA9549 Control Register E Ee EE e E Channel Selection Auto Write sss NON VOLATILE REGISTERS PCA8550 PCA9559 PCA9560 PCA9561 EEN 70 Address Selection Data Register EEPROM Byte x RULnn MM 72 PCE8563 scent ntt Nee 72 THERMAL MANAGEMENT eere ne nenrntntntnte teta ten enin ie ie nb dese sa tata ta o o aa ass R s OMA AA EuE IEEE Eos so soo o o oos 73 LM75A DIGITAL TEMPERATURE SENSOR AND THERMAL WATCHDOOG eeeneceennttnn nnne nnne nnne nnt nn tnnn ntt nt tnn nt tenens 74 Device Address Automatic Write Checkbox Write All pe B AO aa Read All e Temperature Register Temp Thyst Hysteresis Register ENEE TOS Overtemp shut down threshold Register Configuration Register 2 knee eto
90. ramming Programmable queue data 0 1 2 3 for queue value 1 2 4 6 respectively Default 0 B2 OS Polarity R W 0 For OS Polarity selection 1 OS active HIGH 0 OS active LOW default B1 OS R W 0 For OS operation Mode selection Comp Interrupt 1 OS interrupt 0 OS comparator default BO Shut down R W 0 For Device Operation Mode selection 1 Shut down 0 Normal default Start Read Button The temperature data can be continuously read by pressing the Start Read button The time elapsed between each successive read transmission can be programmed by changing the value in the box above the Start Read button The temperature history is displayed in the graph above the button USB to I2C Elite Software User s Manual Page 75 NE1617 A Temperature monitor The NE1617A is an accurate two channel temperature monitor It measures the temperature of itself and the temperature of a remote sensor The remote sensor is a diode connected transistor USB to I2C Elite NE1617 A Temperature Monitor J Ze File Device Options Window Help RIT Register 0x00 0x00 RET Register 0x01 0x00 RCR Register 0x04 0x02 v Internal Temp 127 C External Temp 0 C Conversion rate 0 25 Hz Status Byte 0x02 0x00 Read Read Read ADC not busy Int high temp not tripped RIHL Register 0x05 0x7F REHL Register 0x07 0x7F WCR Register 0x0A Int High Temp Limit 127 C Ext High
91. rrent D V iC a hscc8s X Nes 20 Si iui E ee Eeer 21 USB to I2C Elite Software User s Manual Page 3 Sutton Bit Control EE EXPERT MOD iced Open New Page Open Data File Save Data Se Glose Expert Nagem Adda e Delete a Row Clear the current row Copy the Current Row hr c DLite D Compress NPLiCRT Send Message Send AU Send Sequence a Message Editos M Message NUMDer sinana ENEE Delay after message Device Address Notes ER 25 ilo wd 26 PCA9500 PCA9501 8 BiT I2C I O PORT WITH INTERRUPT AND 2K EEPROM seen 27 Changing I O Expander Data with Checkboxes Read I O Button Set Data eent Word Address Read Byte Button Read All Button RR Write Byte Button Write All Button PCA9534 EIGHT BIT Low POWER I O PORT WITH INTERRUPT PCA9554 A EIGHT BIT I O PORT WITH INTERRUPT PCA9538 EIGHT BIT LOW POWER I O PORT WITH INTERRUPT amp RESET een 29 Automatic Write Enable Checkbox
92. rrent row message will be cleared The row will not be deleted but will appear blank You can also use the Shift Del keyboard shortcut to clear the current row Copy the Current Row The current row message will be copied Use the Paste command to paste it to a different row You can also use the Ctrl C keyboard shortcut to copy the current row Paste Data Previously copied data will be pasted into the current row message You can also use the Ctrl V keyboard shortcut to paste the clipboard into the current row Compress Data All blank rows will be eliminated from the display Here is an example of a display before compress USB to I2C Elite IPC Expert Mode BAX File Edit Device Options Window Help x id i S 4 wa D A Msg Start Address R W Data Stop Delay Notes 1 ST Write 00 01 02 03 04 05 06 07 08 Yes 10 Write 8 data bytes to eeprom with 10ms write cycle ST st ST No 0 Send subaddress 0x00 to eeprom ST ST st ST 9T 01 02 03 04 05 06 07 08 Yes D Read 8 bytes from eeprom ST WIN mimi wo o Send Message Send All Send Sequence Send Continuously Active Msg 1 Transmission successful 3Vw0ff 5 0vOff 400 kHz USB to I2C Elite Software User s Manual Page 23 And here is the same screen after the compress USB to I2C Elite I C Expert Mode BAX File Edit Device Options Window Help e e X dg B 5S 4
93. rs and a minimum amount of discrete components for larger current or higher voltage LEDs USB to I2C Elite PCA9632 and PCA9633 Four bit LED dimmer ZE BER File Device Options Window Help Mode 1 0x91 PWM Registers Group Registers 3 PWM3 PWM2 PWM1 PWMO GRPPWM GRPFREQ Auto Increment All registers 0x00 0x00 Gef OxFF 0x00 V Sleep enabled oscillator off Does not respond to subaddress 1 Does not respond to subaddress 2 E Does not respond to subaddress 3 v Responds to All Call addresses ode 2 0x05 Group control dimming Outputs not inverted Outputs changed on STOP V Totem pole outputs OUTNE 01 0 00 0 00 0 00 0 00 99 61 0 04 sec Subaddresses SUBADRx LED Driver Outputs LEDOUT 0x00 SUBADRI E2 SUBADR2 E4 SUBADR3 E8 V Auto Write On ALLCALLADR E0 Software Reset i Read All LEDO is off Send ea Device Address LED3 is off LED2 is off LED1 is off Write All 3 32VOn 5 0V On USB to I2C Elite Software User s Manual Page 59 SAA1064 Four Dien LED driver The circuit is especially designed to drive four 7 segment LED displays with decimal point by means of multiplexing between two pairs of digits It features an I2C Bus slave transceiver interface with the possibility to program four different SLAVE ADDRESSES a POWER RESET flag 16 current sink OUTPUTS controllable by software up to 21 mA two multiplex dr
94. s in 256 discrete steps for Red Green Blue RGB color mixing and back light applications The PCA9532 contains an internal oscillator with two user programmable blink rates and duty cycles coupled to the output PWM The LED brightness is controlled by setting the blink rate high enough 100 Hz that the blinking cannot be seen and then using the duty cycle to vary the amount of time the LED is on and thus the average current through the LED The initial set up sequence programs the two blink rates duty cycles for each individual PWM From then on only one command from the bus master is required to turn individual LEDs ON OFF BLINK RATE 1 or BLINK RATE 2 Based on the programmed frequency and duty cycle BLINK RATE 1 and BLINK RATE 2 will cause the LEDs to appear at a different brightness or blink at periods up to 1 69 seconds The open drain outputs directly drive the LEDs with maximum output sink current of 25 mA per bit and 200 mA per package 100 mA per octal USB to I2C Elite PCA9532 16 bit LED Driver Blinker s File Device Options Window Help LED Mode Select LED15 LED14 LED13 LED12 LED11 LED10 LEDS LEDS LED7 LED6 LEDS LED4 LED3 LED2 LED1 LEDO PWM1 PWMO ON PWMO OFF OFF OFF PWM1 PWM1 PWMO PWMO PWMO ON PWM 1 PWM 0 Registers hex Period Duty Cycle Period Duty Cycle Input Register Auto Write Off Write All Read Input Input Register Frequency Prescaler 0 PWM Register 0 Frequenc
95. t Register Read All Button een PCA9532 SIXTEEN BIT 12C LED DIMMER Device Address ee Ses ERR RU BERGE BRE RO E S RON RR RO Auto Write On Off Buttons recteque E A LED Mode Selector PWM Period Slidebar PWM Duty Cycle WeriterAll Button nietos EE Read Input Register tk dace anc ee Read All ButtOMm lte EE le eine us USB to I2C Elite Software User s Manual PCA9533 FOUR BIT I2C LED DIMMER cista rtt EEN 49 Device Address Eege 49 Auto Write On Off B ttOn achten pde cer antessce stint bete ae tated cad de speed ee Rete Saepe ted eee aati 49 LED Mode Selector PWM Period Slidebar PWM Duty Cycle Write All EI ge IEN heredum Read All Button een PCA9550 Two BiT I2C LED BLINKER Device Address sss Auto Write On Off BUTtON a anti LED Mod Sele Ctr PWM Period Slidebar PWM Duty Cycle Write All Button Reag input Register iziu ia aaa aches etal aa a a nese dence Read AT DUT O a a tecniche in Aca ANA PCA9551 EIGHT BIT I2C LED BLINKER Device Address sss Auto Write On Off Button ERD Mode Sel ebofb Aer PWM Period Slid bar 355 csse aun qe dee e REM DR RR E c Ica ceder PWM Duty Cycle Write All Button SS Read Input Register
96. te with memory devices like static RAMs and eeproms A write to the slave via the I2C bus can be accomplished by sending a sequence of bytes as shown here ft om Slave from Slave from Slave Diu A E A os EN P l joi USB to I2C Elite Software User s Manual Page 79 The slave will acknowledge its address after it has been enabled see Enable Slave paragraph below The subaddress or byte address is a pointer to one of the 256 bytes in the slave data buffer The 1 C master will then write any number of bytes to the slave The byte pointer is incremented after each byte has been written to the slave The data sent to the slave will wrap back to byte address 0 if it exceeds the maximum size of the slave see Define Slave Size below Read from Slave A read from the slave via the I2C bus can be accomplished by sending the following sequence of bytes from m Slave 5 e S SO CG o e Address SECH Address EN Data emma gn cse un Start we ReStart The slave will acknowledge its address after it has been enabled see Enable Slave paragraph below The subaddress or byte address is a pointer to one of the 256 bytes in the slave data buffer The DC master can then send a Stop followed by a Start or it can send a Restart The master can then read from 1 to any number of bytes from the slave The byte pointer is incremented after each byte is read from the slave The data sent to the master will wrap back
97. ters Configuration register Conf to store the device settings such as device operation mode OS operation mode OS polarity and OS fault queue temperature register Temp to store the digital temp reading and set point registers Tos amp Thyst to store programmable over temperature shutdown and hysteresis limits that can be communicated by a controller via the 2 wire serial EC bus interface The device also includes an open drain output OS which becomes active when the temperature exceeds the programmed limits There are three selectable logic address pins allowing eight devices can be connected on the same bus without address conflict USB to I2C Elite LM75A LM75B Digital Temperature and Thermal Watchdog K File Device Options Window Help Device Address j i Read and Write All Registers O90 v mi d Read All Write All Temperature Temp Register Temperature Bead OXXXXX XX C Hysteresis register Thyst Thyst Register Thyst Read Write 0x4B00 Overtemp shut down threshold TOS TOS Register Read Write 0x5000 Configuration Register Configuration Read Write 0x00 Shut down Normal OS Polarity Low OS Mode Comparator OS Fault Queue 1 3 32VOn 5 0V On Device Address A drop down menu is provided which allows the user to select a valid address for the selected device type Automatic Write Checkbox When this item is enabled indicator shown in green any chang
98. the Save Data item in the File menu it can be recalled by selecting the Load Data item Options Menu The options menu allows you to change the I C frequency the 3 3V and 5V power outputs are also controlled from this menu If you have multiple USB to I2C Elite or Professional hardware units connected to your PC you can select which device you would like to communicate with USB to I2C Elite File Device Window Help SE FC Frequency I Enable 3 3V Output Power uw Enable 5V Output Power Ignore Acknowledge SN 4033 Hardware Detected 3 3VOn 5 0V On 100 kHz I C Frequency Menu Item The DC frequency dialog box can be activated by a Selecting IC Frequency in the Options menu b Double clicking the frequency indicator on the bottom right corner of the application c Right clicking the status bar at the bottom of the application and then selecting UC frequency By choosing this menu item you will activate a dialog box that 8 B UC Frequency SCL High 300 shows the current I C frequency 300 The frequency can be changed by entering a value into the edit SCL Low box Pressing the OK button will close the dialog box and will update the I C frequency panel on the main screen The SCL High and SCL Low spin controls allow you to fine tune the frequency and also allow you to control the duty cycle of the clock signal The frequency of the I2C signal can be calculated as USB to I
99. the corresponding masked channel s does do not receive an Interrupt INTO and or INT1 line does do not go LOW Functional test interrupt Master x can send an Interrupt to itself to test its own INTx wire or send an Interrupt to Master y to test its INTy line This is done by USB to I2C Elite Software User s Manual Page 63 Setting the MYTESTON bit to 1 by Master x bit 6 Control Register Reg 01 to test its own INTx line Setting the NMYTESTON bit to 1 by Master x bit 7 Control Register Reg 01 to test Master y INTy line Setting the MYTESTON and or NMYTESTON bits to 0 by Master x will clear the Interrupt s NOTE Interrupt outputs have an open drain structure Interrupt input does not have any internal pull up resistor and must not be left floating e g pulled high to VCC through resistor in order to avoid any undesired interrupt conditions USB to I2C Elite Software User s Manual Page 64 Multiplexer Switches The USB to 12C software supports nine of the most common I2C multiplexers switches PCA9540B 2 Channel Multiplexer PCA9542A 2 Channel Multiplexer with Interrupt Logic PCA9543A 2 Channel Switch with Interrupt Logic PCA9544A 4 Channel Multiplexer with Interrupt Logic PCA9545A 4 Channel Switch with Interrupt Logic PCA9546A 4 Channel Switch PCA9547 8 Channel Multiplexer PCA9548A 8 Channel Switch PCA9549 Octal Bus Switch USB to I2C Elite Software User s Manual Page 65 PCA9540B PC
100. the desired state from the drop down combo box USB to I2C Elite Software User s Manual Page 70 Auto Write When Auto Write is enabled green any changes made by the user to the devices will immediately be sent to the device via the I C bus If not checked the write button will need to be pressed before the data is sent to the device USB to I2C Elite Software User s Manual Page 71 Real time Clocks PCF8563 The PCF8563 is a CMOS real time clock calendar optimized for low power consumption A programmable clock output interrupt output and voltage low detector are also provided All address and data are transferred serially via a two line bidirectional I2C bus Maximum bus speed is 400 kbit s The built in word address register is incremented automatically after each written or read data byte USB to I2C Elite PCF8563 Real time clock calendar CE Cs File Device Options Window Help Control Status 1 Clock Time Clock Date Name Value E 00 control status 1 op Hour Min Sec Month Day Year 01 control status 2 00 02 TESTC 03 minutes 37 Control Status 2 TUTE AF Read Time Cyclic Read Start TF 07 month century AIE l i 08 TIE Clock integrity Read Date 09 minute alarm CLKOUT control not guaranteed 7 OA hour alarm Frequency v v v Set Alarm Time Alarm Date OB day alarm H 7 H Hour Min Day oc 32 768 kHz OD CLKOUT control
101. the operation to be performed the last bit will be a 1 if it is a read operation and a 0 if itis a write Number of Registers Enter the number of registers the device contains The size of the data entry grid will be modified to accommodate the number of registers Fill This box should be modified only if you want to initialize all the registers to one particular value OK button the data entered by the user in the Edit Current Device screen will be Cancel button the editing session will be closed and no changes to the User Definable Device screen will occur Note that any changes are not saved until the Save or Save As menu item is selected USB to I2C Elite Software User s Manual Page 20 Register Slider Control Subaddress The Slider Control is activated when the user presses the Slider button on the User Defined Device screen or by right clicking the grid and then selecting Change Active Register with Slider Control from the pop up menu The subaddress ofthe active cell in the grid will be assigned to the Slider The subaddress is shown in the upper left corner Moving the slider bar up and down will cause the value of that cell to be changed If Auto Write On is checked then the contents of the cell will be transmitted to the device subaddress when it is changed If an error is encountered while transmitting using Auto Write USB to I2C will turn off Auto Write and it will be up to the user to fix th
102. to Write When the Auto Write is enabled any changes made by the user to the PCF8575 checkboxes on the screen will immediately be sent to the PCF8575 via the IC bus USB to I2C Elite Software User s Manual Page 41 LED Blinkers and Dimmers The USB to I2C software supports 18 common LED blinkers and dimmers EEPROM VO Expanders LED Blinkers and Dimmers PCA9530 2 bit LED Dimmer with 8 bit PWM Master Selector 2 to 1 demux PCA9531 8 bit LED Dimmer with 8 bit PWM Multiplexers Switches PCAQ532 8 bit LED Dimmer with 8 bit PWM Non volatile Registers PCA9533 4 bit LED Dimmer with 8 bit PWM RAM FRAM PCA9550 2 bit LED Blinker with 8 bit PWM Real Time Clocks PCA9551 8 bit LED Blinker with 8 bit PWM Thermal Management PCA9552 16 bit LED Blinker with 8 bit PWM Universal Modes PCA9553 4 bit LED Blinker with 8 bit PWM PCA9622 16 bit 100mA 40V LED Driver with 8 bit PWM PCA9624 8 bit 100mA 40V LED Driver with 8 bit PWM PCA9626 24 bit 100mA 40V LED Driver with 8 bit PWM PCA9632 Low power 4 bit LED Driver with 8 bit PWM PCA9633 4 bit LED Driver with 8 bit PWM PCA9634 8 bit LED Driver with 8 bit PWM PCA9635 16 bit LED Driver with 8 bit PWM PCAQ685 16 channel LED Driver with 12 bit PWM PCA9955 16 channel Constant Current LED Driver SAA1064 LED Driver GPIO Control Slave Device mmm USB to I2C Elite Software User s Manual Page 42 PCA9530 Two bit I2C LED Dimmer The PCA9530 LED Blinker blinks LEDs in I C applic
103. tus with the Read Button can change the contents of the control register Interrupts When an interrupt is generated by a downstream device it will be detected by the PCA954x and the interrupt output will be driven LOW The channel need not be active for detection of the interrupt Interrupts are indicated with an illuminated LED on the screen The interrupt bits are read only Channel Selection The user can change the selected channel s by clicking the appropriate checkboxes in the Channel Select box USB to I2C Elite Software User s Manual Page 68 Auto Write When the Auto Write On is enabled checked any changes made by the user to the PCA954x channel selection radio buttons will immediately be sent to the device via the I C bus If not checked the write button will need to be pressed before the data is sent to the PCA954x USB to I2C Elite Software User s Manual Page 69 Non volatile Registers PCA8550 PCA9559 PCA9560 PCA9561 PCA8550 Device Address Data Byte Mux Data D Mux Data C Mux Data B Mux Data A Write 7 Auto Write On PCA9559 PC Address 0x98 Data Byte Non muxed data Mux Data E Mux Data D Mux Data C Mux Data B Mux Data A 9c 00 DD E Read GoogggGa 8 USB to 12C Elite PCA8550 PCA9559 PCA9560 PCA9561 Non volatile Registers K File Device Options Window Help PCA9560 IPC Address 0x98 iv EEPROM Byte 0 EEPROM Byte 1 FF FF Write EEO Write EE1 Read EE
104. tware User s Manual Page 39 PCF8575 16 bit I O Expander The PCF8575 is a CMOS circuit which provides general purpose remote I O expansion for most microcontroller families via the two line bi directional bus I C bus The device consists of a 16 bit quasi bi directional port and an I C bus interface The PCF8575 has a low current consumption and includes latched outputs with high current drive capability for directly driving LEDs It also possesses an interrupt line INT which can be connected to the interrupt logic of a microcontroller By sending an interrupt signal on this line the remote I O can inform the microcontroller if there is incoming data on its ports without having to communicate via the I C bus This means that the PCF8575 is an l C bus slave transmitter receiver Every data transmission from the PCF8575 must consist of an even number of bytes the first byte will be referred to as P07 to POO and the second byte as P17 to P10 The third will be referred to as P07 to P00 and so on USB to I2C Elite PCF8575 16 bit I O Expander File Device Options Window Help Device Address 0x40 H V Auto Write On Write to Read Input Output FF FF v p15 ViP7 Apis Ep7 v p14 Ji P6 r pi4 Elpe M pi3 VlP5 EP13 Ep5 vpi2 Ti P4 r pi2 P4 v pii ViP3 Epi io i v p10 viP2 Epio Elo v po v Pi ipo Tipi pp V PO Flips Epo Write Ports 0 and 1 Read Ports Qand 1 Write Port
105. utton you may press the Alt and lt r gt keys simultaneously to achieve the same results Write Byte Button Pressing the Write Byte button initiates a Write to the UC device The program begins the transmission by writing the slave address and then the word address of the currently active cell in the grid The selected data byte is then sent In addition to pressing the Write Byte button you may press the Alt and y keys simultaneously and achieves the same results Write All Button Pressing the Write All button initiates a Write to the DC device The program begins the transmission by writing the word address 0 to the device and sequentially writes the entire device The software will send one page of data 4 bytes followed by a STOP condition An erase write cycle is performed before writing another page to the device In addition to pressing the Write AII button you may press the lt Alt gt and lt w gt keys simultaneously to achieve the same results After the completion of the write cycle USB to I2C will read the entire device to verify that the contents of the device match the data that was sent An error message will be displayed if the data is not verified USB to I2C Elite Software User s Manual Page 28 PCA9534 Eight Bit Low Power I O Port with Interrupt PCA9554 A Eight Bit UO Port with Interrupt PCA9538 Eight Bit Low Power UO Port with Interrupt amp Reset The PCA9534 PCA9554 A and PCA9538 are 16 pin
106. within the PCA9698 has a separate page with the five registers used to control it Configuration 0 FF IOC7 MSK7 IMG E P6 IOC6 MSK6 OP5 7 PI5 IOC5 MSK5 E op4 E PI4 IOC4 MSK4 OP3 OPB IOC3 MSK3 E op2 E pr IOC2 MSK2 OP1 Fen IOCi MSK1 E rpo E opo PIO IOCO MSKO Checked high Checked high Checked inverted Checked input Checked masked Uncheck low Uncheck low Uncheck output Uncheck unmasked Write i Write Write o 7 Auto Write On Ga Write All o Read All o o Read Read n nn Hardware Detected 3 3VOn DON On 400 kHz USB to I2C Elite Software User s Manual Page 37 PCF8574 PCF8574A Eight bit I O Expander The PCF8574 provides general purpose remote I O expansion for most microcontroller families via the I C bus The device consists of an 8 bit quasi bi directional port and an I C interface The PCF8574 has low current consumption and includes latched outputs with high current drive capability for directly driving LEDs It also possesses an open drain interrupt output that can be connected to the interrupt logic of the microcontroller By sending an interrupt signal on this line the remote I O can inform the microcontroller if there is incoming data on its ports without having to communicate via the DC bus This means that the PCF8574 can remain a simple slave device The PCF8574 and PCF85744A differ only in their slave addresses U
107. y Prescaler 1 PWM Register 1 LED Selector 0 3 LED Selector 4 7 0 007sec 50 00 0 013sec 50 00 LED Selector 8 11 Read All 152 000 Hz 76 000 Hz E LED Selector 4 7 Hardware Detected 3 32VOn 5 0V On Device Address The device I2C address can be selected by choosing one of the hexadecimal selections from the drop down list The default address at start up is 0xCO Auto Write On Off Button When Auto Write is disabled LED off the software can be modified without transmitting data to through the parallel port When the Auto Write LED is on any changes made to the software is immediately transmitted to the PCA9532 USB to I2C Elite Software User s Manual Page 47 LED Mode Selector Each LED can be set in one of four modes ON OFF PWMO and PWM1 The mode is selected by moving the switches to the appropriate mode for the LED All LEDs set to PWMx will blink at the same frequency duty cycle and phase PWM Period Slidebar The period of the PCA9532 can be changed by moving the PWMO0 or PWM1 slidebars The period in seconds and frequency in Hertz is displayed below the slidebar The actual value of the PCA9532 register is displayed in the Registers groupbox PWM Duty Cycle The duty cycle for PWMO and PWM1 can be changed by moving the PWMO or PWM1 slidebars The duty cycle is displayed in percent below the slidebar The actual value of the PCA9532 register is displayed in the Registers groupbox Write

Download Pdf Manuals

image

Related Search

Related Contents

  Acer AT2617MF Owner's Manual  Kettle  Rapport du commissaire enquêteur  Page 1 Page 2 独倉]的でユニークなデザイン 他社製品に比べ圧力損失  Lenovo IdeaPad Y570  [U3.13.14] Modélisations *JOINT, *ELDI et *INTERFACE  

Copyright © All rights reserved.
Failed to retrieve file