Home

Software User`s Manual - demoboard.com

image

Contents

1. Copy Block Hardware Detected 3 34 Off 5 0Y of 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 Win 12CUSB Software User s Manual Page 15 Goto Byte 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 the OK button is pressed the grid location with the desired address is shown This is useful when you don t want to scroll through to find a specific Decimal data location Em maximum e Ox FFF Hexadecimal 3FFE USB to 12C C Program Files 2CtoolsWSBtol2C Example Files ELPROM 256 Copy Block A fie Eck Qevie tere Widow about It is possible to copy a block of data from ce Se lanj 3 4 sio 789 ale coje one on screen buffer area to another 01 02 03 04 05 05 07 03 09 04 08 OC OD CEO using the Copy Block function Simply 12 13 14 iS 16 17 18 19 JA IB IC 10 LE IF define the data to be copied using the 22 23 24 25 26 27 23 29 2A 28 2C 2D Copy From edit boxes and then enter O ae the address where the data is to be copied 42 43 44 45 lt 6 47 43 49 4A 4B 4C 3D 4E 4F NR a a a
2. ooooooooooooo room ooo 59 Contred Register veg e sae Pauses a A A A ias letal de 59 Interrupts in hu a SA AI ye a ea la Ge Jey a 59 Multiplexer Control seco eee ek e Sie ee R Baca oe end ete ease eee leas ee Sew eel 60 AULO WEITE p as Scie eee Blase ral eB Monee ee SSE Teenie Meads Oe Bate IAE iii ds 60 PCA9543A PCA9545A PCA9546A PCA9548A PCA9549 o oooooooooooooooo 61 Control Registe clio eg Bee ss A BeOS A A eee eee a Se ene 61 PNP SETUP ES A A Sy ite aries A OLS ee aby O ek eae 61 Channel Selection 64 535 sci tane es Se we eee OS A ew SS Gigi eee ee 61 BUCO We Li Melo a A rt ON MA Be Sis ght MAE awe Oh 62 NON VOLATILE REGISTERS 1 ccc cee ee ce cee cee mee nooo rro 63 Win l2CUSB Software User s Manual Page 7 PCA8550 PCA9559 PCA9560 PCA9561 2 ee eee eee 63 Address Selection ici Bix Sew al es de oles are ose ol eee AR it Reed 63 Data Registos dede divs A De we Ses Salers ease De ees Sale a wa Bw 63 BEEP ROM BY Cee X e eed nr A Bed vb aie A A See ogg Bark e a Bed Sasa oe 63 MUX OT ri Sh GME e forse valiant Lon las or set OR ME ete ths forge Ni iia e Sughd Je Monies il adi jee 63 AUTO WECO Oi dela a e a a a ewes 64 THERMAL MANAGEMENT ooooooooooo ooo 65 LM75A DIGITAL TEMPERATURE SENSOR AND THERMAL WATCHDOG oo 65 Devices Address ia ds di a ta a Ge bce A O ate 65 Automatic WELLES AERSEKDOR ir A AA A AA 65 Wt
3. USB to I2C C temp Test bin Fill Buffer File Edit Device Options window Help The grid will be filled with the o l1 2 3 4 5 le 7 a o a B c p e F two digit hexadecimal number Device Size 256 o loo 01 02 03 04 OS 06 07 08 09 OA OB oc 0D oE oF found in the Fill with edit box Address AD v 1 10 11 12 13 14 15 16 17 18 19 14 1B iC 1D lE 1F when the Fill Buffer button is Page Size 8 2 FFF FE FF GR FF OFF FE Fe FF EF FF FF pressed The fill can be 3 F FF FF FF FF FF FF FF FF FF FF FF FF FF FF Write Time 10 constrained to the addresses 4 FF OFF OFF OFF OFF FF OFF FF OFF OFF FE OFF OFF OFF found in the Fill from to the Byte Address 0x021 y 5 FF FF FF FF FF FF FF FF FF FF FF FF SSD SE SF Fill to edit boxes No Read Byte 60 61 62 63 64 65 66 67 68 69 6 DESEA information will be sent over 70 71 72 73 74 75 76 77 78 7A 7B 7C 7D 7E 7F 2 Read All the PC bus 80 81 82 83 84 85 86 88 89 84 8B 8C 8D 8E 8F Write Byte 2D 2D 2D 2D 2D 2D 2 2D 2D 2D 2D 2D 2D 2D 2D 2D Write All 7 7 2E 69 32 63 74 6F 6F 6C 73 2E 63 6F 6D 5 42 2D 74 6F 2D 49 32 43 20 50 72 GF 20 20 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 32 43 20 4D 61 64 65 20 53 69 6D 70 6C 65 20 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D Verify 8 9 A 53 42 20 53 6C 75 74 69 6F 6E 73 2C 49 GE 63 B G Fill from 21 Fill to 5C Fill with FF Fill Buffer m a Copy from Copy to o pe fo
4. NMYONOFF MYON OFF NMYGRAB MYGRAB Register is the Control Register This register contains seven bits that control which master has control of the bus 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 Win 12CUSB Software User s Manual Page 57 The register can be read by pressing the Read button in the Register 1 groupbox BIT 5 3 SYNSOL NMYTEST MYTEST USLOS SUSOK t BUSINT INTIN The PCA9541 provides 4 different types of interrupt 1 To 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 g
5. and lt r gt keys simultaneously to achieve the Copy from Copy to same results po feo Write Byte Button Pressing the Write Byte button initiates a Write to the PC 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 lt Alt gt and lt y gt keys simultaneously to achieve the same results Write All Button Pressing the Write All button initiates a Write to the I C device The program begins the transmission by Win l2CUSB Software User s Manual Page 14 Fill from 00 Fill to FF Fill with FF g 2 20 21 22 23 24 address of the active cell of the memory grid in both Page Size 8 3 30 31 32 33 34 hexadecimal and decimal notation Write Time 10 amp 4 40 41 42 43 44 Byte Address 0x000 5 so s sz s3 s4 Read Byte Button Pressing the Read Byte button initiates a read from Read Byte 6 60 61 62 63 64 the PC device The program begins the transmission 7 70 71 72 73 74 by writing the device address followed by the current Read All a leo 81 82 83 84 byte address A Repeated Start is then generated j followed by the device s read address and finally a Write Byte y gt y 3 2D 2D 2D Oe feadofa single data byte The result of each byte Write All A 53 42 20 53 6F read is immediately entered in the appropriate cell in Veri
6. demoboard com Note that all technical support requests must begin with an email to this email address 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 sales demoboard com Win l2CUSB Software User s Manual Page 72
7. will be updated Win l2CUSB Software User s Manual Page 42 PCA9532 16 bit 12C LED Dimmer TF USB to I2C PCA9532 16 bit LED Driver Blinker DEAR Ale Device Options Window About y LED Mode Select LEDIS LEDI4 LEDIS LEDIZ LEDII LEDIO LED9 LEDE LED LEDG LEDS LED4 LEDS LED2 LEDI LEDO ON ON PWMO PWMO PWM1 PWMO PWM1 PWM1 PWM1 PWML PWMO PWMO PWMO PWMO ON ON PWMO PWM 1 Registers hex Period Duty Cycle Period Duty Cycle Input Register EC Address OxCO El Auto Write On Read Input Reg Input Register Frequency Prescaler 0 PWM Register 0 r Frequency Prescaler 1 PWM Register 1 LED Selector 03 LED Selector 47 Read All ENE 0 007 sec 150 00 0 007 sec 50 00 LED Selector 8 11 152 000 LED Selector 4 7 Goede 3 34 off 5 0Y off 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 modifed 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 LED Mode Selector Each LED can be set in one of four modes ON OFF PWMO and PWM 1 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 p
8. 07 08 09 10 Double click on the desired message to And here is the same screen after the compress 17 USB to I2C 12C Expert Mode Ele Edit Device Options Window About JOAN I D Msg Start Address R W Data Stop Delay Write 00 01 02 03 04 05 06 07 Write 00 Read Law FF FF FF FF FF FF F sat baeeasenscasonssaseasensenewssnnseasonseasenseatiaensseaseasenstaseasresinensstaseasenstusasensnaenasemseasonssaseasen ss Read FF FF PF FF FF FF FF FF saree sean Geom Jere Active Msg 11 01 02 03 04 05 06 07 08 09 10 Fa av off 5 0Y off 100KHz Win 12CUSB Software User s Manual Page 22 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 it is recommended not required to compress the data see Compress Data above to speed up the transfe
9. 0x00 RTLB 0x00 CO ADC not busy Read Read C Int high temp not tripped C Int low temp not tripped Local Temp Limits C Remote Temp Limits C z Ext high temp not tripped Local HIGH Setpoint 70 C Remote HIGH Setpoint 70 C Ext low temp not tripped 3 O External diode not open LHS 0x46 ea RHSHB 0x46 RHSLB joxo i O Remote Not Critical Temp Local LOW Setpoint 0 C Remote LOW Setpoint 0 C O Local Not Critical Temp s Ls foxo E RLSHB 0x0 RLSLB OXO 5 Configuration 0x00 Write Read Write Read O Alert interrupt enabled Local T_CRIT C T_CRIT Hysteresis Remote T_CRIT C O Running mode T CRIT 85 C Hysteresis 10 C T_CRIT 85 C C Remote T crit Enabled e Arica O Local T crit Enabled LOS 0x55 TH Oxa RCS 0x55 O Fault Queue single Write Read Write Read Write Read Write Read Conversion Rate CR Remote Temperature Offset C PR Write ea SDR RAN diia Remote see Offset 0 C l Read One Shot RTOHB oxo RTOLB oxo e Automatic Write Cyclic Read O off C Interrupt Mode Write Read 16 Hz 7 Hardware Detected 400 kHz Read Only Registers 0x00 LTHB Local Temperature HIGH Byte 0x01 RTHB Remote Temperature HIGH Byte 0x02 SR Status Register 0x10 RTLB Remote Temperature LOW Byte 0x22 LTLB Local Temperature Low Byte OxFE RMID Read Manufacturer s ID OxFF RDR Read Stepping or Die Revision Write Only
10. 32 768 kHz id int Day OD CLKOUT control 80 CLKOUT active 50 30 9 pe DE timer control 03 x OF timer FF Timer Control v v Active Register 0x00 Countdown Frequency SUN K Read Register Write Register 1 60 Hz y Minute Alarm Disabled z A Hour Alarm Disabled Read All Write All Timer Disabled i Day Alarm Disabled Auto Write O Sanit Timer hex FF Weekday Alm Disabled Hardware Detected 3 3 0ff 5 0Y Off 400 kHz The software allows you to access all sixteen registers They can be read written all at once or individually In order to read or write to a register click on the register in the grid shown on the left side of the screen This will become the Active Register and all future single byte reads or writes will be with this register until a new register is selected The user can also set the register values using the simulated clock interface By selecting the Auto Write checkbox any changes are immediately sent to the target device Win 12CUSB Software User s Manual Page 71 TROUBLESHOOTING m If you have problems with the software installation ensure that you have Admin Privileges z 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 Win I2CUSB hardware has 3 3kQ pull up resistors to 3 3V on the PC bus lines Ensure that
11. 4Ch 70h 74h 78h C 46h 44h 4Eh 72h C 76h 74h Read PCF8574 Read PCF8574A Merz Mp6 Hrs Mp4 Merz Mp6 Mps Me3 Mr2 Mp1 Mpo Mp3 Mp2 Mera Write PCF8574 Write PCFB574A Mp7 Mee Mes Mp4 Merz Mee Mes Mp4 Mp3 Mp2 Mpi Mpo vMip3 Mp2 Mp1 PO Auto Write On Auto Readback On Auto Write On Auto Readback On 3 3 off 5 0 off 100 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 a logic 1 while an unchecked box indicates a 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 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 inform
12. About Device Address 0x30 Auto Write On Register O Input Register 1 Output Register 2 Polarity Register 3 Config poc y Fa a 17 C Undefined N7 Y Inverted C7 V Input 16 L Undefined NG V Inverted C6 Input I5 C Undefined N5 Y Inverted C5 Y Input 14 C Undefined N4 Y Inverted C4 Input 13 C undefined N3 C Not Inverted C3 M Input 12 C Undefined N2 Not Inverted C2 V Input 11 C Undefined N1 0 Not Inverted C1 Input 10 D Undefined NOL Not Inverted CO v Input 3 3 off 5 0Y off 400 KHz 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 Register 0 Input Port 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
13. High N4 C not Inverted C4 M Input High 02 M High N2 7 Not Inverted C2 MV Input High 01 Y High N1 CL Not Inverted C1 Input High 00 M High NO C not Inverted CO 4 Input wa row De e Cone 7 Y ca Y Z High 03 Y High N3 Cl Not Inverted C3 M Input Y Y v eni 3 34 off 5 0Y off 400KHz These devices have four 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 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 a logic 0 The logic level can be changed by single clicking on the checkbox If Auto Write is enabled checked Win I2CUSB 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 Win I2CUSB or when the value in the edit boxes are 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 transm
14. Sidebar 22s amp sven ete A A A OE EEE S 41 PWM Duty EE LS A DAS NA AS tos Aa TO cone dorset 41 WETES ALL Button AA A Ie abd et BAM cans 8 41 Read Input Register e a e a A a ag BAIA ah 42 RSadALIA gt BUECOA iss A A A A A ese aes 42 PCA9532 16 BIT 12C LED DIMMER o ooo o o oo e o 43 Device AddrESS mireia A A ia ri ites a 43 AUTO WELLES On Off BURTON 4 AA a eae 43 LED Mode Selector ti a te bade be RLN E se wis 43 PWM Perrvod SLPS bar een set A wa be ae A Oo eet EEE EES 43 PWM Duty Cy C Lee E A Stee E Site aie eee A hee EE eel a SE ete ad 43 Write ALT BUC ON A A amp oleh Se Seale la ates 43 Read Input Register el a daa ti SRS ae aaa 44 Read ATI BUTEOA ro a eue are a a EE A EE E A as 44 PCA9533 4 BIT I2C LED DIMMER ee ee ee ee eee ee eens 45 Device AQIESS srera es Rs AA ee aE DS OR FS a Shi OS 45 Auto WETES ON OFF BUTTON ad doit dee ied e a esd ii 45 LED Mode Selector ss ies cindy a a e dads 45 PWM Period STadebar fy cede ee Sct E Dade ale db Be Es ate Se as RS 45 PWM DUCY CYCLE rita AE ents Sled te A A Sle bce AE oe SUC sete 45 Weiter Al Butto sa fees Steele ees ee A PS A OE SRR OBEN EELS 45 Read Tnp t Register desa A Bal eee Se Bw eee Ae see 46 Read ALL Buetons a Saeed IAS MADE a eS eA oe 46 PCA9550 2 BIT I2C LED BLINKER eee ee eet ee eee ee eens 47 Device Addres Shas icy A Beeb ead Se She ONE a ts 47 Auto Write On Off BURTON dis a aed ee Aa eee ee OS eS 4
15. The PCA9536 and PCA9537 consist of a 4 bit Configuration register input or output selection 4 bit Input Port register 4 bit Output Port register and a 4 bit Polarity Inversion register active HIGH or active LOW operation 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 Port or Output Port register The polarity of the read register can be inverted with the Polarity Inversion register All registers can be read by the system master r USB to 12C PCA9536 PCA9537 1 O Expanders Quay gt File Device Options Window Help 8 x Device Address 0x82 C auto Write Off Read All Write All Register 3 Register 2 Register 1 Register 0 Configuration Polarity Dutput Input C3 M Input N30 Not Inverted 03 M High 13 v High C2 Y Input N2 Not Inverted 02 M High 12 Y High C1 M Input NIC Not Inverted O1 M High 11 M High CO M Input NOL Not Inverted OO M High IO Y High Read Read Read Read Write Write Write Hardware Detected 3 3Y Off 5 0 Off 400 kHz Auto Write When the Auto Write On is enabled green any changes made by the user to the PCA9536 PCA9537 Registers 1 2 and 3 will immediately be sent to the PCA9536 PCA9537 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
16. When the Auto Write LED is On any changes made to the software is immediately transmitted to the PCA9551 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 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 dispalyed in the Registers groupbox Write All Button Pressing the Write All button causes Registers 1 through 6 to be programmed Win 12CUSB Software User s Manual Page 49 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 ro
17. 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 7 The Win I2CUSB Pro 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 Win I2CUSB software requires that Microsoft GDI is installed on your PC It is normally installed by Windows however if you receive an error message indicating that the GDI dll is missing you can download it from the Microsoft website Microsoft GDI download m Win I2CUSB Pro 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 the original Win I2CUSB Pro installation CD ROM in the event the software needs to be re installed Future Win I2CUSB Pro updates from our Website may require a previous installation from the original media 7 Check for new versions of the software at http www demoboard com updates If all else fails email a description of the problem you are having to us at sales
18. 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 is read from the SAA1064 The 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 I C bus equivalent to the Address Instruction byte Control byte and then the four Digit bytes Win l2CUSB Software User s Manual Page 56 Two to One 12C Master Selector PCA9541 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 12C bus slave devices I2C 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 t
19. change in the state of the Write checkboxes or Write Data Byte will immediately be sent to the PCA950x Read I O Button DA 1A 24 34 41 SA 6A 7A SA 2D 6E 6c 20 2D 69 2D OB 1B 2B 3B 4B 5B 65 7B SB 2D 73 73 20 2D 6D 2D ac ic 2c 3c 4c 5C 6c aC ac 2D 2c 2E 20 2D 70 2D OD 1D 2D 3D 4D 5D 6D 7D 3D 2D 49 63 20 2D 6C 2D 3 3 off DE 1E 2E 3E 4E 5E 6E 7E BE 2D 6E 6F 20 2D 65 2D 5 0 off OF 1F 2F 3F 4F SF 6F 7F or 2D 63 6D 20 2D 20 2D 100 KHz Upon pressing the Read Button the program will update the hexadecimal data shown beside the Write I O 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 the two digit hexadecimal number found in the Preset edit box when the Set Data button is pressed No information will be sent over the IC bus Win 12CUSB Software User s Manual Page 25 Word Address The Word Address also called subaddress is a pointer to a register or memory location within the C device To access this location the software will send out the device PC address followed by this subaddress followed by the read or write data The program displays the subaddress of the active cell of the memory grid in both hexadecimal and decimal notation Read Byte Button Pressing the R
20. contents of Registers 0 1 2 and 3 are read from the PCA9536 PCA9537 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 PCA9536 PCA9537 Register 0 is a read only register Register 0 Input Port 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 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 of the 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 Win l2CUSB Software User s Manual Page 33 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 1 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 in
21. 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 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 USB to I2C C temp Test bin Byte Address Subaddress The byte address sometimes called subaddress or gt File Edit Device Options Window Help word address is a pointer to a register or memory o i 2 l3 4 location within the I C device To access this location the software will send out the device PC Ea address followed by this byte address followed by 10 11 12 13 14 the read or write data The program displays the byte Device Size 256 Address A0 Iel 55 53 42 2D 74 lt b gt keys simultaneously to achieve the same results 2D 2D 2D 2D 2C Read All Button Pressing the Read All button initiates a read from En the PC 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 of the entire device In addition to pressing the Read All button you may press the lt Alt gt
22. 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 of the pins defined as outputs by Win 12CUSB Software User s Manual Page 31 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 1 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 1 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 Win l2CUSB Software User s Manual Page 32 PCA9536 PCA9537 4 bit I O Expanders with Reset
23. l2CUSB Software User s Manual Page 10 selecting the Load Data item under the File Menu Load Data After data has been stored using 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 12C frequency the 3 3V and 5V power outputs are also controlled from this menu If you have multiple Win I2CUSB hardware connected to your PC you can select which device you would like to communicate with USB to 12C File Device Options Window Help SE pC Frequency Enable 3 3 Output Power Enable 5 Output Power Ignore Acknowledge Y SN 2327 Hardware Detected 3 3Y On 5 04 Off 400kHz I C Frequency C Frequency Menu Item The Options Menu contains an item labeled I C Frequency By choosing this menu item you will activate 400 kHz a dialog box which shows the current IC frequency The frequency can be changed by entering a value intot the Note minimum Frequency 15 7 kHz edit box Pressing the OK button will close the dialog box and will update the I C frequency panel on the main screen SCL High fio The SCL High and SCL Low spin controls allow you to ES ME fine tune the frequency and also allows you to control the ES SCL Low 10 duty cycle of the clock signal The frequency of the rc signal can be calculated as OK fi2c 8000 SCLyHigh SCLLow The minimum values for SCLyigh and SCLLow is 3 howev
24. pop up menu Register Description The subaddress of the 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 itis changed If an error is encountered while transmitting using Auto Write Win I2CUSB 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 Slider Control always stays on top of all other devices within Win I2CUSB nm uo a b ra a i 5 a u E 5 5 l 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 Increment Decrement Current Register with a Spin Control from the pop up menu Win 12CUSB Software User s Manual Page 19 The subaddress of the active cell in the Snare grid will be assigned to the Spin Control The subaddress is shown in the upper left corner Clicking on the spin control s up Register value Dod or down arrow will cause the value of decimal et that cell to be incremented or Auto Write OFF ai a decremented 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
25. the value of the Control Register in the SAA 1064 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 x1C6 C5 C4 C3 C2 C1 C0 C6 adds 12mA to segment output current C adds 6mA to segment output current C4 adds 3mA to segment output current C3 all segment 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 digits 1 and 2 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 PC bus Win I2CUSB Software User s Manual Page 55 The data sent to the SAA1064 consists of a Start condition the PC 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 SAA 1064 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
26. to start a new device from scratch All register names are undefined and all default values are OxFF Win l2CUSB Software User s Manual Page 17 Open Device Definition File A previously saved device definition file def can be recalled by selecting this menu item The device 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 Win I2CUSB 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 Win I2CUSB 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 Win I2CUSB 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 datal data2 data3 Stop Many devices do not auto increment the subaddress between data bytes and require that only one data byte is sent
27. types are open it is 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 IC messages over the 12c bus is shown in this box on the main screen You can change the frequency by activating the IC Frequency item in the Options menu Note that the hardware cannot produce every value you enter so it will set it to the closest available frequency Win l2CUSB 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 USB to I2C C temp Test bin gt File Edit Device Options Window Help o j 2 3 la 5 lo 7 la o a B c p je F Device Size 256 00 01 02 03 04 05 06 07 08 09 DA OB OC Address AD y 10 11 12 13 14 15 16 17 18 19 14 1B 1C 1E a 20 21 22 23 24 25 26 27 28 29 24 2B 2C 2E 30 31 32 33 34 35 36 37 38 39 34 3B 3C 3E 41 42 43 44 45 46 47 48 49 44 4B 4C 4E Byte Address 0x000 50 51 52 53 54 55 56 57 58 59 SA 5B 5C SE Read Byte 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6E 70 71 72 73 74 75 76 77 78 79 7A 78 7C 7E 80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8E Write Byte 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D Write All 53 42 20 53 6F 6C 75 74 69 6F 6E 73 2C 6E verify 77 77 77 2E 69 32 63 74 6F 6F 6C 73 2E 6F 55 53 42 2D 74 6F 2D 49 32 43 20 50 72 20 Fil
28. 0 O Channel 1 O Channel O O Channel 1 Interrupts O Channel O O Channel 1 O Channel 2 O Channel 3 Interrupts O Channel O O Channel 1 Channel 2 Channel 3 Channel 4 mj Channel O j Channel 1 Channel 2 Channel 3 Cl Auto Write Off Channel 5 Channel 6 O Channel 7 C Auto Write Off mj Channel O mj Channel 1 Cl Auto Write Off Cl Auto Write Off Hardware Detected 3 3Y Off 5 0Y Off 400 kHz 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 1t 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 of the 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 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
29. 5625 Hz 1 00000 Hz 3 39 off 5 0Y off 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 modifed 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 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 PWMO or PWM 1 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 dispalyed in the Registers groupbox Write All Button Pressing the Write All button causes Registers 1 through 5 to be programmed Win l2CUSB Software User s Manual Page 47 Read Input Register When the Read Input register button is pressed the Input register is re
30. 7 LED Mode SelLectorL kedesa miart Wie Ge Bc aie ve So ap hee Whee eG Bee sence EN Bede ed ee TS 47 PWM Period slidebar seudan e Sia a A a Bale Ra ete Sabena E 47 PWM Duty CY CL art A oe suet E gay OR eh died A eee Geo 47 Win 12CUSB Software User s Manual Page 6 WELte ALT Buttons a ote se a a A ai ath see Sieg R a a aTe 47 Read Inputs REGUSE SK ia A Spe less hel see Pe Se alae a ree aloes 48 Read Ad Button ida aes Dawe A HES DAR SRSA SRE ER 48 PCA9551 8 BIT 12C LED BLINKER o oo 49 DEVICES Address mi a A a AA a 49 Auto Write On Off BUCEO sida c as dd os 49 ED Mode SOLECEOE A A A A A IR A 49 PWM Pertod lt Slidebak Mi A 8S es ee A BEER 49 PWM Duty Cy LS A A A aw eee Re ads 49 Write Al BUETON At A A eg AE te Bg wt A coe 49 Read Tnput Register messi A Sek we SS ee eb ee Re eels 50 Read AlI Butt oOn ge said e tee ls Teed A BS PE Ee and as OES REE WS 50 PCA9552 16 BIT 12C LED BLINKER ee ee ee E ee eee eens 51 Device Address meri Ge he ai Boles aves ites HE 51 AUTO WELTS On OFF BU RON ice iii A aia au 51 ED Mode Selector sitiar tds er Shea cay Bla io Ee E UE AEN ee eas 51 PWM Period lt STidebawe a A e eet A A E OED EEE EES SL PWM DUE YY Cy Cle 8 Sis tater we eae ete Harb Ste Sele ea on ee er Siete Stee 5L Weite ALL IBUCCON a A amp aE e See Seale eet 51 Read Inp t Register sa sa ia aaa E a ies SRS t
31. AA DAS OA DAS EASE RS 35 Data BYTES ui a A ee A 36 Wette BUCEO a e A A A o ti OR BER A ia S 36 Automatica Write Enable ota is A Ss 36 AUTO Readbach saves es A ae A OES EE A ERS 36 PCF8575 16 BIT I O EXPANDER eee cent eens 37 Read CHECK OXSS hg oe koh el AAA ee AAA wees Be Ces 37 Write Checkboxes Tru knea il is AE he Bug eA come 37 Read Bute Oi irs fees aa esas bee ah NE eure dca it ib 37 WELLES BUETOND Ada a Sees AA AAA AAA AA Se DO re RE aeS 37 Read Data BOXES wera cesur is A A A ee aks A RA ie OS 38 Write Data BOXES nevar a e ri Buea Sw te Te 38 AUCO WEITE ik E it a fe ale elo A a da A ta io 38 LED BLINKERS AND DIMMERS oooooooooooooooooooooooon non nooo 39 PCA9530 2 BIT 12C LED DIMMER oo eo o o 39 DEVICE Address Mia AI Sd a a beck ee Bile ii aa aaa 39 AULO Write On OEE BUT COM sia a and id db ias 39 ED Mode SeLECtor yn AA A A A A AA oe EE BEES 39 PWM Periogq slideba t ni A e cdi ee WMS Gig AA 39 PWM DUTY Cy Clem ta li do e e da AS 40 WELES Ll BUECON dido e ts ds amp Rls ea id Alls ae a Se Pate 40 Read Input Register is A Ri a is 40 Read Ade Button raees a A AAA A A A SS 40 PCA9531 8 BIT 12C LED DIMMER o eo o oo 41 Deyrce Address ii a a A ai Wend ias 41 AUEO Write On OFF BUCEO eii tos wets aa wee eek ea 41 ED Mode Selector cia ee a estes hose lot Be ean ele ES Rees ps Be BRR A es 41 PWM Period
32. ALL is E A AA A A A Seow ee ee a aes 65 REA a a A ds E E E EES 65 Temperature Register TEMP iras a SS e bee dara 66 Thyst Hysteresis Register israel e ais 66 TOS Overtemp shut down threshold Register ooooooooooo oo ooo 66 Configuration Register ma o a dc levee alte fore 66 Start Read BUELOD e isa is a e a o iaa e IA il cena 66 NE1617 A TEMPERATURE MONITOR o o o 67 Read Only Registr til a heal ns A a e bce aS ae A RON 67 Write cOnly Registers its A A A th A eee Bo A a 67 AUTO WPIC spisie e A A A ad 67 SA56004A TEMPERATURE MONITOR 2 eee ee ee ee eee ee eee eee 68 REACHONLY REGUS ST Ss Soe eee eas us ta Bilas wh ia a ta 68 WELLES Only Registers meroes tena A A A Maser sete 68 Read Write Registers aeara au ee raoe a a Beate ceed wa 68 AUTO WPIC eeir ea A ara ences A Pye Use ab EAE a O Seal a 69 CLORO o li a e A A Beale Al Rewer gst A ileus ala da 69 SE98 TEMPERATURE MONITOR tii A A AAA 70 Read Oniy Registers ii dd a dd Gila Le does eee 70 Read Write REGUSTESES A A A AA A See A BE Re RAS 70 AUTO WITES A A A A AAA A la Bee 70 CVCURE Readr iia la a a ees le SE Gn E NFS 70 REAL TIME CLOCK CALENDAR oo oo ooocoooooocooo o oo no 71 PCF8563 REAL TIME CLOCK CALENDAR oo oo ooo oo ooo o 71 Win 12CUSB Software User s Manual Page 8 I2C Protocol General Characteristics The PC protocol allows data to be transferred between devi
33. CA9540B PCA9542A PCA9544A PCA9547 The PCA954x is a family of bi directional translating multiplexers controlled via the IC 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 of the 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 G USB to I2C PCA9540B PCA9542A PCA9544A PCA9547 1 C Multiplexers BAX gt File Device Options Window Help eo x PCA9540B PCA95424 PCA95444A PCA9547 Device Address OxEO Control Register Device Address OxEO y Device Address OxEO v Device Address OxXEO v Control Register Control Register Control Register Write Write Write Write Read Read Read Read Channel Select No channel Channel Select No channel Channel Select No channel Channel Select No channel O Channel
34. Control Copy the Clear current row current row Paste data TF USB to 12C 12C Expert Mode E File Edit Device Options Widow He xX Mee vB Address R W Stop Delay Notes s AE Write 00 01 02 03 04 05 06 10 Write 8 bytes to eeprom with 10ms write cycle AE Write OO Send subaddress 0x00 to eeprom AE Read 01 02 03 04 05 06 07 08 Read 8 bytes from eeprom Compress the data Send Message Sendall Send Sequence Send Continuously Active Msg 1 Dong 01 02 03 04 05 06 07 08 09 10 Transmission successful Hardware Detected 3 3Y On 5 0 off 100 KHz Send All Send Sequence Send Button Sequence Indicator Continuously Button Button Open New Page Pressing this button opens a new blank page There will be 32 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 pe
35. IO expansion for I C SMBus applications and were developed to enhance the NXP family of PC I O expanders The improvements include higher drive capability 5V I O 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 The PCA9555 consist of two 8 bit Configuration Input or Output selection 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 The PCA9539 is identical to the PCA9555 except for the removal of the internal I O pull up resistor which greatly reduces power consumption when the I Os are held LOW repleacement of A2 with RESET and different address range 17 USB to 12C PCA9555 PCA9535 16 bit 1 10 Expander File Deve Options Window About Device Address Input Registers 1 and 0 Configuration Registers 7 and 6 Polarity Registers 5 and 4 Output Registers 3 and 2 FOF po oot Pr Fe Auto Write On 77W Input 7 617 Input 7 5 Input TA Input 7 31 Input 7 27 Input 7 1 Input 7 0 Input Input Y In
36. 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 PCA9531 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 PCA9531 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 PWM slidebars The duty cycle is displayed in percent below the slidebar The actual value of the PCA9531 register is dispalyed in the Registers groupbox Write All Button Pressing the Write All button causes Registers 1 through 6 to be programmed Win 12CUSB Software User s Manual Page 41 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
37. Registers OxOF One Shot Initiates a one shot conversion Read Write Registers The following data registers can be written to by Win IZ2CUSB CON Read 0x03 Write 0x09 Configuration Register CR Read 0x04 Write Ox0A Conversion Rate 4 LHS Read 0x05 Write Ox0B Local HIGH Setpoint Win 12CUSB Software User s Manual Page 68 LLS Read 0x06 Write 0x0C Local LOW Setpoint RHSHB Read 0x07 Write 0x0D Remote HIGH Setpoint High RLSHB Read 0x08 Write Ox0E Remote LOW Setpoint High Byte RTOHB Read0x11 Write 0x11 Remote Temperature Offset High Byte RTOLB Read 0x12 Write 0x12 Remote Temperature Offset Low Byte RHSLB Read 0x13 Write 0x13 Remote HIGH Setpoint Low Byte RLSLB Read 0x14 Write 0x14 Remote LOW Setpoint Low Byte RCS Read 0x19 Write 0x19 Remote T_CRIT Setpoint LCS Read 0x20 Write 0x20 Local T_CRIT Setpoint TH Read 0x21 Write 0x21 T_CRIT Hysteresis AM Read OxBF Write OxBF Alert Mode Auto Write The Write Only registers can automatically be sent to the SA56004A upon changing the on screen state when this function is enabled Cyclic Read Pressing this button will allow the software to continuously read and display the temperature data Win 12CUSB Software User s Manual Page 69 SE98 Temperature monitor 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 Si
38. SS I2CUSB will append the appropriate Device Name E R W bit at the end of the address i Number of a i depending upon the operation to be Device Address las Registers 32 Fill oo P 8 up p performed the last bit will be a 1 if it is a read operation and a O if itis a Register Description Value write una Number of Registers Enter the Y_Gatel_Start 00 number of registers the device Y_Gatel_Stop 00 contains The size of the data entry grid will be modified to V_Gate1_MSB 00 accommodate the number of Reserved o0 registers Fill This box should be modified Reserved 00 Pan only if you want to initialize all the 1A Text Slicer status 00 registers to one particular value 1B Decoder bytes of text slicer oo OK button the data entered by the ae z user in the Edit Current Device 1C Decoder bytes of text slicer on screen will be transferred to the User 1D Reserved 00 Definable Device screen AE Reserved 00 Cancel button the editing session will be closed and no changes to the 1F Status Byte 00 f User Definable Device screen will occur oK Note that any changes are not saved until the Save or Save As menu item is selected Register E Subaddress Slider Control 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
39. 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 PWM Period Slidebar The period of the PCA9553 can be changed by moving the PWMO or PWM 1 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 Win l2CUSB Software User s Manual Page 53 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 dispalyed 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 pointer to roll over to Register O 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 slide
40. Win I2CUSB Software User s Manual 128 x 8 1K bit deso e zre 256 x 8 2K bit 512 x 8 4K bit 1K x 8 8K bit 2K x 8 16K bit 4K x 8 32K bit 8K x 8 64K bit 16K x 8 128K bit 32K x 8 256K bit 64K x 8 512K bit Device Size IO Expanders Address LED Blinkers and Dimmers Master Selector 2 to 1 demux Multiplexers Switches Non volatile Registers RAM FRAM Real Time Clocks Thermal Management Universal Modes Page Size Write Time T IAE FS Ae 2D 2D 2D Write All Verify 77 2E 69 32 63 74 6F 6F 6C 73 Fill from 00 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D Fillto FF Fill with FF Fill Buffer Copy from Copy to po pr fa Copy Blok 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 400 kHz Information provided in this document is solely for use with Win I2CUSB The Boardshop and SB Solutions Inc reserve 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 The Boardshop and SB Solutions Inc Microsoft and Windows are registered trademarks of Microsoft Corporation Delphi and C Builder are trademarks of Embarcadero Technologies Other brand names are trademarks or registered tradema
41. Window About LED Mode Select LED 3 LED 2 LED 1 LED 0 PYWM1 Rate PWM1 Rate PWM1 Rate PWM1 Rate PWMO Rate PWMO Rate PWMO Rate PWMO Rate On On On On Off Off Off Off PWM 0 PWM 1 Registers hex Period Duty Cycle Period Duty Cycle a 12C Address nput Register E loxc4 Frequency EE PWM Register 0 Frequency E Prescaler 1 pwm registra fig Lecaros LED Selector 0 3 E 0 007 sec 50 00 1 000 sec 75 00 152 00 Hz 1 000 Hz 3 34 off 5 0 off 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 modifed 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 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 PWMO 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 c
42. a to The ending address is calculated E2 63 6d 65 66 67 63 69 6A 6B EC SD EE SE automatically by the software and is not 32 73 34 ms 3s re ma ye yapm ve yo editable by the user Pressing the Copy o 01 c2 03 04 06 o5 07 03 09 04 08 OC oF Block button starts the copying process 11 12 13 14 15 16 17 19 19 34 10 4 1D LE JF leo 21 22 23 24 25 26 2C 2D 2E A B 60 31 SZ 33 34 35 35 X 3D EF a E a 43 49 44 48 4C 8D 4E EF fb fo 51 Sz 99 54 5955 57 55 59 SA SB SC 5D SE PE 51 Ez 4 65 55 67 63 69 64 68 6C 5D EE GF ie UAR 74 75 75 77 73 79 7A 7B 7C 7D 7E 7F IW of 50V Win I2CUSB Software User s Manual Page 16 Universal Interfaces User Definable Device The User Definable Device allows you to define your own IC 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 7 USB to 12C SAA7120 fie Eck Device Options Whdow About Address her 0x75 V Sync shift lao lo i l2 3 ja is 6 z ja fo a e fe o je fF A joo 00 00 OD 90 OO 0O 90 OO 00 00 00 00 OD 00 00 1 oo 00 00 00 00 OO 00 00 OO OO 00 00 OO OO 00 00 Do 00 00 OO OO 00 00 OO 09 00 00 00 00 00 00 00 00 CO 90 OO 00 00 OO 00 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 0 oo oo oo oo 14 00 00 oo Do 00 00 00 00 00 o0 oo o 00 Chrominarica phase jo fo o fo fo fo fo EE Auto pirita On Closed ception Teletext E Ayto Wrte On OA Pri 5 Fons EE Au
43. aa Ea 51 Read Ala BUCEON sce aise seine A A A a aes Bub see NE E ATRE 52 PCA9553 d4 BIT 12C LED BLINKER iae ee ee te eee eee ee eens 53 Device Address Mi Teea A ee aS DS OA DS daa OS 53 Auto WETEES ON OFF BUTTON end er diia a 53 ED Mode Select OF a ea Blas wilds Se BE a dae ej Boas AE OAE AE 53 PWM Period STardebar A Goel EG Whalers E NSE 53 PWM Duty Cycle ouet Sse a SEE ee A A A E HE aS 54 Write ALL BUELNA A A Oe I EEG BE ESS 54 Read Input Register ui wise aw a ew Se EY elle a Be eee Boe Re nee 54 Read ALLTEBUECON sia wits eat Med IN Qo het Ned Teng vil ASS ge a Able NA 54 SAA1064 4 DiGIT LED DRIVER cece ee eee e 55 COntirol REGESESE Hi id EA RAS AE ia A Meee A wee oe 59 Automatic WELLES g u e toeea Bde A See A AAA Ses TS 55 Digits Ly 2p Sy ATO a soe ii ns A e ew cena Bro aan la Snel la 56 TASVFUCE TON BCS Wir ee Boa wale ieee arlene ie na A a id nae 56 Read Address a as 56 Status Register A it A A A A ee are weet he ets BLS 56 Read Status BUETIA rrasa see A A SS dd yb 56 WETES BUELON tds is loa A a a tara 56 2 TO 1 I2C MASTER SELECTOR ooooooooooooooooooooo rro onooroo 57 PCA954I a a e A it AR A aa 57 Register 0 Mask Register ii ta ts a dae Sha 57 Register 1 Control Registe b 2 scott De Register 2 Interrupt Status Register o o ooooooooooooooonoonoo 58 MULTIPLEXER SWITCHES Si in 2 See bd a Sh etd ode jolie BS 59 PCA9540B PCA9542A PCA9544A PCA9A7
44. ad 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 Win l2CUSB Software User s Manual Page 48 PCA9551 8 bit I2C LED Blinker TF USB to I2C PCA9551 8 bit LED Driver Blinker E BR E File Device Options Window About LED Mode Select LED 7 LED 6 LED 5 LED 4 LED 2 PWM1 PwmM0 PWMO ndas s hex Pata Duty Cycle period Duty Cycle Input Register FC Address C Frequency EE Ox Prescaler 0 PWM Register 0 E E Auto Write On Frequency 3 Prescaler 1 PWM Register 1 E LED Selector o HEN IG 400 sec 50 00 1 250 sec 50 00 LED Selector 7 0 156 Hz 0 800 Hz 3 34 off 5 0Y off 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 modifed without transmitting data to through the parallel port
45. ada 8 Save Registers in text format seiss ss en wales Sede Sates ls e ewes 18 Byte Mode e A A A A A AN a ae ees 18 Print Device Data A wel Se a ee ee 18 Data GEA A A AAA wine Se RA eee Bde se 18 PGA MEM hed eet She Me da IA enti A Big ant At amen 18 Edit Current Register isi ars acd Sea Se ite Beds ones Sige wha Save eh 18 Edit Current DEVI Ge eus ood a A ee daw AA AA E as See e ee 18 Slider Control iia we Ske eid Mauss Cele ee Roe oes Main eed antes SA 19 Spin Control ssb nr Balke Ferre tee ey Berne seco oe Na eae WS late e 19 BLE COME POM si ars ES it Ni of amp TES Spates A aia 20 EXPERT MODE lt crs olai e cesta A A AD A bey a ee eS 21 Open New Lage rarse deina a e ds is 21 Open Data FIT it A it A ee aa A AI BES Za Save Data ia A Sein amp owls See E Sets Oe gle NS Giese te eats 21 Close EXpert Mode tito maly ea e Ble e eee desis 20S aI ater 21 Add a ROW eers ente a A A eS a Sins bw Sheree Oh is 21 Win 12CUSB Software User s Manual Page 4 Deletieca ROW it ri A eh eee eRe See et Bee a ts 21 Clear the CULLEN ES BOWS aid A A A ale ada 22 Copy the Current ROW iaa a Deis A AA A A a da 22 Past DATA e A a a a Se Rs 22 Compress Dalias io O Bene ai A Dew ade asia 22 Send MESSAGES citas ad a it a Seabee SUE Gtelere leans 23 SEA A A A A A DS 23 Send Sequence A A eens A A ee A Pe as 23 Message BITs A eS wel eee AS le ele SE we eee ee lee We es 23 Message Number aus ives Sida
46. 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 If the Automatic Write is enabled light green any changes to the SAA1064 Control Register or LED Digits will immediately be sent to the device through PC bus Instruction Byte The instruction byte is equivalent to a subaddress The instruction byte is configured as shown below The bits SC SB and SA of the instruction byte form a pointer and determine to which register the data byte following 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 Al of the subaddress and enables a quick initialization by the master The subaddress pointer will wrap around from 7 to 0 The Win I2CUSB 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
47. an be changed by moving the PWMO or PWM slidebars The duty cycle is displayed in percent below the slidebar The actual value of the PCA9533 register is dispalyed in the Registers groupbox Write All Button Pressing the Write All button causes Registers through 6 to be programmed Win 12CUSB Software User s Manual Page 45 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 be displayed in the Registers groupbox and the controls sliders switches will be updated Win l2CUSB Software User s Manual Page 46 PCA9550 2 bit I2C LED Blinker 17 USB to J2C PCA9550 2 bit LED Driver Blinker EN Ele Device Options Window About LED Mode Select LED 1 LED 0 PWIM1 PWMO PWM O PWM 1 Registers Period Duty Cycle Period Duty Cycle FC Address Input Register E joxco Y Prescaler 0 PWM Register 0 3 Frequency Ea Prescaler 1 PWM Register 1 LED Selector mI 6 400 sec 50 00 1 000 sec 25 00 0 1
48. ation is updated only by pressing 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 Win 12CUSB Software User s Manual Page 35 T 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 PC message to the PCF8574 A consisting of a Start condition the PC 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 Readback When this function is enabled light green the software will immediately read the PCF8574 after it has performed a write The result of the r
49. ature 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 Win I2CUSB 0x09 WC Write Configuration Register Ox0A WCR Write Conversion Rate Register Ox0B WIHL Write Internal High Limit Temperature Ox0C WILL Write Internal Low Level Temperature Ox0D 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 NE1617 upon changing the on screen state when this function is enabled Win 12CUSB Software User s Manual Page 67 SA56004A Temperature monitor The NXP 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 C is achieved USB to I2C SA56004A Temperature Sensor File Device Options Window Help Device Address y Local Temperature C Remote Temperature C 0x98 z Remote Temperature 0 C Status Register 0x00 LTHB 0x00 LTLB 0x00 RTHB
50. be updated Win l2CUSB Software User s Manual Page 52 PCA9553 4 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 chip set etc timer The uniqueness of this device is the internal oscillator with two programmable blink rates E USB to 12C PCA9553 4 bit LED Driver Blinker Ja File Device Options Window Help LED Mode Select LED 3 LED 2 LED 1 LED 0 PWM1 Rate PWM1 Rate PWM1 Rate PWM1 Rate PWMO Rate PWMO Rate PWMO Rate PWMO Rate Off Off Off Off On On On On PWM 1 PWM O Registers hex Period Duty Cycle Period Duty Cycle Input Register wN E C Address Frequency ene C Auto Write Off PWM Register 0 EE Frequency EE Write All Prescaler 1 PWM Register 1 EE Read Input LED Selector 0 3 E Read All 6 400 sec 50 00 6 400 sec 50 00 0 15625 0 15625 Hardware Detected 3 34 Off 5 0 Off 400 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 modifed 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 PCA9553 LED Mode Selector Each LED can be set in one of four modes ON OFF P
51. ces 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 C 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 while 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 12C Address The first seven bits of an I C 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 PAE Save Address Pp A 0 in the least significant position of the first byte means that the master will WRITE information to the selected slave A 0 in this position means that the master will READ information from the slave When an IPC addre
52. coy gree car el Bows Teel oo 11 Windows MED 5 4 ta Rhee Wort A weed Gud Bone Bleue eb Ries head ia e aa 12 Ereque ey Indicator il Sleds a Slade whalers is Gelade Ol ecew ae 12 DAC AAOGESSS wash sacs up cise A A E A A A ay Shoe Deena ay oa ees 13 Write Page Size Selection ti Succes atta ue Re ee We ee Sea ee ae 13 Brase Write Cycle Times oct wen A Le ae Seed Rode Cet 4 Data CERO aii Mise ace ees Da ENT ne EA Beg et MAE comet 4 Byte Address SUDaddresS iia e See Sn er Bd ee Shee wea ee eee es 14 Read Byte BULBO tain a sd wigs Sided A aed Bas Dew ee ee 14 Read ALT BUG COM e a o A dr tic ehh ta ree te eee 4 Wite Byte BUETOD isis ii Gye Site cies ce sey A Sy Blea renee eG Ble cas fern li 4 Wats Gs AL BELO o a algae eB a UEC eb dela Blagg at phate 14 Verify BUTTON att Bete dine a dase area Heat decease See Ge dake 15 FEN But BOY A A esate Seale we a eso eet BE AA ES 15 Checkerboard A oe wales Meee abate rat T5 Inverted Checkerboard e da d EEEE See Bel belie E Glee E WS Sete Ree eels 15 GOLEO BY ES ele Lod adap Ae tees a ty e a amp Sle ehecensld aya Tabara Seid Ros Ea 16 COPY BLOCK A A A E eta 16 UNIVERSAL INTEREACES oi A Se eee RE A SR ee ca 17 USER DEFINABLE DEVICE ooo ooo o o o e e 17 Define New Device sic a is a A tle vs AA A o a 17 Open Device Definition File cin ccc are s eirese da er e a oe ee 18 SVC reins e ANNA RN 18 Saven A Sip ao lA weed Gh Boas Boas eS eae Rial
53. ddress 0x98 y Data Byte 00 Non muxed data _ Mux Data E Mux Data D Mux Data C Mux Data B Mux Data A Write Mux In Read Mux MUX_OUT from EEPROM O Mux In E Read Mux MUX_IN or non volatile Registe is sourced to MUX_OUT Write Write Read CO Auto Write Off Hardware Detected 3 3Y Off 5 0 Off 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 PC message to the target device EEPROM Byte x The PCA9560 and PCA9561 contain EEPROM data bytes that can be programmed by Win I2CUSB 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 the desired state from the drop down combo box Win 12CUSB Software User s Manual Page 63 Auto Write When Auto Write is e
54. e Temp Register Temperature Read E E Hysteresis register Thyst Thyst Register Thyst Read write CA INEA v Overtemp shut down threshold TOS TOS Register TOS Read write ORG ETT v Configuration Register Configuration Read write EOS Shut down Normal z OS Polarity Low v OS Mode Comparator v OS Fault Queue 1 Hardware Detected 3 3 Off 5 0 0Off 400 kHz 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 changes 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 Win l2CUSB Software User s Manual Page 65 Temperature Register Temp The Temp register holds the digital result of temperature measurement or monitor 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 register is read all 16 bits are provided to the bus and must all be collected by the controller to complet
55. e 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 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 p
56. ead Byte button initiates a read from the PC 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 lt Alt gt and lt b gt keys simultaneously to achieve the same results Read All Button Pressing the Read All button initiates a read from the I C 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 All button you may press the lt Alt gt and lt r gt keys simultaneously to achieve the same results Write Byte Button Pressing the Write Byte button initiates a Write to the PC 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 lt Alt gt and lt y gt keys simultaneously and achieve the same results Write All Button Pressing the Write All button initiates a Write to the IPC device The pr
57. ead will be displayed in the Read groupbox Win l2CUSB Software User s Manual Page 36 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 I2C bus The device consists of a 16 bit quasi bi directional port and an 12C 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 C bus This means that the PCF8575 is an PC 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 POO and so on 14 USB to I2C PCF8575 16 bit 1 0 Expander Fie Device Options Window About 12C Address G 0x40 C 0x42 C 0x44 C 0x46 C 0x48 C 0x4A C Ox4C C 0x4E Read p1i7 P16 P15 Pid P13 p12 MP1 P10 Meroz Mipos pos Mlpos Mipos fMipo2 Mipo1 Mpoo o Ml Write P17 P16 P15 Pid P13 Piz MPi P10 po v P06 p05 P04 PO3 po2 POL Poo write High FF Low FF Auto Write On 3 34 off 5 0
58. encountered while transmitting using Auto Write Win I2CUSB 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 Win I2CUSB Automatic DE Write Selection orizontal sync stop Register Description Bit Control The Bit Control is activated when the user presses the Bit Control button on the User Defined Device screen or by right clicking the grid and then selecting Use Bit Control to Change Active Register from the pop up menu Register EJ Subaddress The subaddress of the active A register in the grid will be assigned Emme la fo fi fr fo fo fr ph oe to the Bit Control The subaddress Write mal Auto Write Off is shown in the upper left corner Selection Clicking on any of the 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 Analog input Control 2 Register Description device subaddress when it is changed It should be noted that the Bit Control always stays on top of all other devices within Win I2CUSB Win 12CUSB Software User s Manual Page 20 Open new blank page Open data file Save data Close Expert Mode Send Message Button Active Message Indicator Expert Mode The figure below shows the Expert Mode screen Delete a row Add arow GPIO
59. enerated 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 PCA9541 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 bi
60. er this will operate the I2C interface above the specified upper limit of 400 kHz Enable 3 3V Output Power By selecting the 3 3V Output Power menu item the Win I2CUSB Elite 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 Win I2CUSB Elite 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 Ignore Acknowledge In normal operation Win 12CUSB will end the transmission of a message after it does not see an Win l2CUSB Software User s Manual Page 11 acknowledge When this menu item is selected checked an PC message will continue to be sent even if NACK no acknowledge is seen by the hardware Note that it is not recommended to use this option when using memory type devices eeprom or F RAM 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
61. erature monitor It measures the temperature of itself and the temperature of a remote sensor The remote sensor is a diode connected transistor USB to 12C NE1617 A Temperature Monitor a E Fie Device Options Window Help Device Address Status Byte 0x02 0x00 C ADC not busy C int high temp not tripped O Int low temp not tripped O Ext high temp not tripped C Ext low temp not tripped O External diode not open Read RC Register 0x03 0x00 CJ Alert interrupt enabled RIT Register 0x00 0x00 Read RIHL Register 0x05 0x7F Int High Temp Limit 127 C Read RILL Register 0x06 0xC9 Int Low Temp Limit 55 C Read RET Register 0x01 0x00 External Temp 0 C Read REHL Register 0x07 0x7F Ext High Temp Limit 127 C Read RELL Register 0x08 0xC9 Ext Low Temp Limit 55 C Read C Running mode Read Set Int Temp Limits C Set Ext Temp Limits C WC Register 0x09 0x00 127 Y C Alert interrupt enabled C Running mode enabled WIHL 0x0B 127 WEHL 0x0D WILL 0x0C 55 amp WELL 0x0E 55 Hardware Detected 3 3Y Off 5 0Y Off x RCR Register 0x04 0x02 Conversion rate 0 25 Hz Read WCR Register 0x0A 0 2500 Hz One Shot Read All Write All Automatic Write CO Auto Write Off 400 kHz Read Only Registers The following data registers can be read by Win I2CUSB 0x00 RIT Read Internal Temperature 0x01 RET Read External Temper
62. ess 0x06 and 0x07 30 Automatic Write Enable eri as id ias 30 COSEKDOXES ii A A A E dl ES 30 Edit BOXOS A A A A A A A As e 30 Read Butt Ons e ti a Sue A E a 30 PCA9556 PCA9557 8 BIT I O EXPANDER WITH RESET o oo oooooo oo o 31 Autor Write A pce A Quai abies ms Suse ow aoe E A 31 Read ALI Button a e A A ia taa da 31 Write ALL BUCCOM Lia A Seas E Slee dare a oes ARS hws ae a aa 31 Register 0 Input POTE sccm re A eye e ie a 31 Register 1 OUEPUE POET ais e a dun Boa de AE aa a aaa asa 31 Register 2 Polarity essi seee ho le ite it tdt a is 32 Register 3 Configuration lei eis lee pebeta GENE woe ee 32 PCA9536 PCA9537 4 BIT I O EXPANDERS WITH RESET oo oo 33 AWE OS WPIC smse chase E AS A A A AA A Wd ae 33 Redd AL Button A A A A A ee AG oe Ee 33 Write Al BUCO Aid A Sond eA Ai bes sre NAD oe AE od boat BAG conse 33 Register 0 Input POBLE esc bce eee enh ge ee ere Sere i we ete slats 33 Register 1 OUEPUE PODER A Meee Dee we ee es 30 Register 2 POLAT BY sii han di RO e o tc lege alte fee 34 Register 3 Configu raton ar IR e ie Bad A a leia acia 34 PCF8574 PCF8574A 8 BIT I O EXPANDER oo ooo oooo ooo ooo o ooo ooo 35 Win 12CUSB Software User s Manual CHECK OKESS goles esd a erates a hela al A oF ee ld aa A terete 35 Read BULEO ned Ss we Boe aioe iS el ene A wale eS A eS PR a ae Re OS 35 Read Dat AAA MS AA A
63. evice registers from the PCA955x 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 O 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 Win 12CUSB Software User s Manual Page 40 PCA9531 8 bit I2C LED Dimmer 14 USB to 12C PCA9531 8 bit LED Driver Blinker Fle Device Options Window About LED Mode Select LED 7 LED 6 LEDS LED 4 LED 3 LED 2 LED 1 LED O PWM1 PMO pwn o TOE hex Period Duty Cycle Period Duty Cyel le Input Register n PC Address oxcc Prescaler O mui E Prescaler 1 e secos 0 250 sec 50 00 1 500 sec 25 00 LED Selector 4 7 4 000 Hz 0 667 Hz 3 34 off 5 0Y off 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 modifed 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
64. f a Read is chosen then the Number of Bytes to Read box will be shown and the data entry area will be 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 it is 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 GPIO Control The GPIO pins on the Win I2CUSB hardware can be controlled using the GPIO control buttons on the toolbar of the Expert Mode screen The OUT pin can be set high or low by clicking on one of the buttons shown below The state of the IN pin can be read from the hardware by pressing the Read button Output State Input State Read Read es utton Set output high Set output low Win l2CUSB Software User s Manual Page 24 lO Expanders PCA9500 PCA9501 8 bit I2C I O port with interrupt and 2K EEPROM 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 LED
65. 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 selecting 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 Cur
66. fy B 77 77 77 2E es the grid Alternatively you may press the lt Alt gt and C L E F 2D 2D 2D 2D 2 Fill Buffer Copy Blok 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 lt Alt gt and lt w gt keys simultaneously to achieve the same results After the completion of the write cycle Win I2CUSB 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 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 Win I2CUSB 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 Win I2CUSB on screen grid
67. gister 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 Win 12CUSB Software User s Manual Page 29 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 Vpp 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 1 while an unchecked box is equivalent to a logic 0 The logic level can be changed by single clicking on the checkbox If Auto Write is enabled green LED Win I2CUSB will write the new value to the PCA9555 immediately after a change 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 va
68. hase PWM Period Slidebar The period of the PCA9532 can be changed by moving the PWMO or PWM 1 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 dispalyed in the Registers groupbox Write All Button Pressing the Write All button causes Registers 1 through 6 to be programmed Win 12CUSB Software User s Manual Page 43 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 Win 12CUSB Software User s Manual Page 44 PCA9533 4 bit I2C LED Dimmer TF USB to I2C PCA9533 4 bit LED Dimmer E File Device Options
69. he 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 modifed 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 PCA955x 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 PCA955x can be changed by moving the PWMO or PWM 1 slidebars The period in seconds and frequency in Hertz is displayed below the slidebar The actual value of the PCA955x register is displayed in the Registers groupbox Win l2CUSB Software User s Manual Page 39 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 PCA955x register is dispalyed 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 d
70. he 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 PCA9552 can be changed by moving the PWMO or PWM 1 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 value of the PCA9552 register is dispalyed 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 Win 12CUSB Software User s Manual Page 51 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
71. he 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 12C PCA9541 2 to 1 Master Selector E File Device Options Window Help Device Register O IE Register 1 Control Register 2 Interrupt Status m BUSLOSTMSK NTESTON m NMYTEST BUSOKMSK m TESTON MYTEST m BUSINITMSK BUSINIT BUSLOST m INTINMSK m NBUSON BUSOK CO auto Write Off BUSON BUSINIT NMYBUS ml INTIN MYBUS Write Write Read Read Read MYBUS Slave channel NBUSON BUSON Slave channel The master reading this combination has control of the bus 0 0 off The master reading this combination does not have control of the bus 1 0 on The master reading this combination does not have control of the bus 0 1 on The master reading this combination has control of the bus 1 1 off Hardware Detected 3 3 0ff 5 0 OfF Register 0 Mask Register 2 ATA eS eS AA ee ee Pe e susosms susous susmmmsk INTINMSK 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 Tm JS 12 i Je SYMBOL NMYTESTON MYTESTON BUSINIT
72. ibs ody eds eet eed ee a a A N aS 23 Delay after MESSAGES vies sos eent eos aa a E bees ae Eee Ene es Bed oe A a Be We Eales 24 Device Address aaa o ahead A A VA Siew as ee le ia 24 Read Write Selection mon spees aida ind a a a A 24 SHOP Li ni A A a a a lactea ies Ahr 24 Message DACA ti lts Ia a dire SALAS ays a ia a a 24 GPIO CORE COL nasa er a ets Da a a 24 TO EXPANDERS 0000 A A A A a Sy eee Sees 25 PCA9500 PCA9501 8 BIT I2C I O PORT WITH INTERRUPT AND 2K EEPROM 25 Changing I O Expander Data with Checkboxes o oocoocoocomcmo noo 25 Read 1 0 BUETOA Li a A A ee a OES ete Be E 25 Set Daba A A A A A AA EAE 25 WOE AdULESS i te ara li id da aa 26 Read By ES BUT CON eta lea o dl ada da ils aida aha 26 Read ALT BUEEDA A A A A tetas 26 WETES Byte BUT COM iia da A AAA ii a ee EOS 26 Write ALL BUEEON 0er ss e a aa da eth 26 PCA9534 PCA9538 PCA9554 PCA9554A 8 BIT I O EXPANDERS WITH INTERRUPT 27 Automatic Write ENA VS swere ses a A a ils ais iia 27 Checkboxes aee naene pi A a id Welle eee tote ws 27 EATE BOXES A E A A A 27 Read BUCCO NS 2 A Ewe A A AAA A Sle ees a ads 27 Write Bue ROM a A de ta A a 28 PCA9535 PCA9555 PCA9539 16 BIT I O EXPANDERS WITH INTERRUPT 29 Input Registers subaddress 0x00 and 0x01 ooooooooooo ooo 29 Output Registers subaddress 0x02 and 0x03 oooooooooo ooo 29 Polarity Registers subaddress 0x04 and 0x05 ooooooooooooooo o 29 Configuration Register subaddr
73. ission was successfully completed Address not acknowledged an PC 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 but one of the O data bytes TOP condition is sent after the acknowledge clack n no acknowledge is Ue powe Read acknowledg d corrupted the master tried to send a NACK no ac Indicators _ st read byte in a transmission bit it was corrupted by a low level on SDA by another device on mg DU SDA stuck low before a START condition is initiated the software verifies that both the s lines are high If SDA is stuck low then an SDA stuck low message will be displayed SCL stuck low befpre a START condition is initiated the goftware verifies that boty lines are high If SCL is stuck low then an SCL stuck low message will be displayed Hardware not detected YA and SCL the SD amp and SCL File Menu Upon starting the Win I2CUSB 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 Win
74. itted by Win I2CUSB 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 Upon pressing one of the Read Buttons Win I2CUSB will read the appropriate register and place the Win 12CUSB Software User s Manual Page 27 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 these devices do not automatically increment the register address between operations only one register may be read in each transaction Therefore after Register O has been read Win I2CUSB 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 Win I2CUSB 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 Win I2CUSB a new transaction will be sent out so that Register 2 can be written followed by Register 3 Win 12CUSB Software User s Manual Page 28 PCA9535 PCA9555 PCA9539 16 bit I O Expanders with interrupt The PCA9555 and PCA9535 are 24 pin CMOS device that provide 16 bits of General Purpose parallel Input Output GP
75. l from 00 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D to FF 49 32 43 20 4D 61 64 65 20 53 69 6D 70 65 2D 2D 2D 2D 2D 2D 2D 2 2D 2D 2D 2D 2D 2D Page Size Write Time 10 Read All Fill with JFF Fill Buffer Copy from Copy to po pr po Copy Block Hardware Detected 3 3Y Off 5 0 off USB to I2C 256 Byte 2048 12C Address A drop down menu is provided which allows the user to select a valid address for the selected device type T USB to 12C 65536 Byte 51 M Fie Edt Device Options Windt Setup o 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 Win l2CUSB Software User s Manual Page 13 FF 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
76. ll 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 Win l2CUSB Software User s Manual Page 50 PCA9552 16 bit I2C LED Blinker i USB to 12C PCA9552 16 bit LED Driver Blinker Ti File Device Opticos Window About LED Mode Select LED15 LED14 LED13 LED12 LED11 LED10 LED9 LEDS LED LEDG LEDS LED4 LED3 LED2 LED1 LEDO OFF PWMO PWM1 ON OFF WMO PWM1 PWM1PWMO OFF ON PWM1 PWMO OFF PWM 0 Registers hex Period Duty Cycle gos oa B Cycle Input Register FC Address LED Selector 8 11 6 400 sec 50 00 4 225sec 76 95 0 156 Hz 0 237 Hz LED Selector 12 15 ae Input Register Pee joxco y Frequency Prescaler 0 aa PWM Register 0 EE Frequency Prescaler 1 Ee PWM Register 1 EE LED Selector 0 3 F lt Read Input Reg LED Selector 4 7 F lt i Hs 3 3 off 5 0 off 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 modifed 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 T
77. lue is changed by the user it will be transmitted by Win I2CUSB 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 Win I2CUSB 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 In the top left corner of the button there is a plus sign Clicking on the brings up a menu above button The menu allows the user to change the function of the button so that either the low or high register can be read or both can be read Win l2CUSB Software User s Manual Page 30 PCA9556 PCA9557 8 bit I O Expander with Reset The PCA9556 and PCA9557 are CMOS circuit that provides parallel input output expansion for PC and SMBus applications These devices consist of an 8 bit input port register 8 bit output port register and a PC 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 T O configuration register 1 USB to 12C PCA9556 PCA9557 1 0 Expanders DER gt File Device Options Window
78. nabled 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 Win l2CUSB Software User s Manual Page 64 Thermal Management 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 registers 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 C 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 LM75A Digital Temperature and Thermal Watchdog BAX Fie Device Options Window Help Device Address gt Automatic Write Read and Write All Registers x90 v LJ Auto Write Off Read All Write All Temperatur
79. nce the DRAM refresh rate is dependent on temperature mounting the temperature sensor on the module allows the processor to adjust the refresh rate based on the actual temperature instead of the calculated worst case temperature USB to I2C SE98 Temperature Sensor E File Device Options Window Help Device Address Temperature Register SMBus Register 0x0000 0x30 y Temperature 20 00 C Temperature Register 0x0000 O SMBus time out enabled Dacr Daaw O Baw O smBus alert enabled Configuration 0x0000 Disable hysteresis Write Read O Temp sensor on Read Cyclic Read C Crit trip register not locked Upper Boundary Alarm Trip c 1 Capability 0xXXXX O Alarm Window not locked aw 0 00 C EE O Event not cleared E eann ad UBAT 0x0000 Manufacturer ID 0xXXXX Read O EVENT output disabled O Alarm or Critical Event Lower Boundary Alarm Trip C Device ID 0xXXXX O EVENT output active low as 0 00 C Read O comparator Mode LBAT 0x0000 Automatic Write Write Read Write Read Write Read O off Critical Alarm Trip C a 0 00 C CAT 0x0000 Write All Read All Write Read Hardware Detected 3 3Y Off 5 0 Off Read Only Registers 0x00 Capability Register 0x05 Temperature Register 0x06 Manufacturer ID Register 0x07 Device ID Revision Register Read Write Registers 0x01 Configuration Register 0x02 Upper Boundary Alarm Trip Register 0x03 Lower Boundary Alarm Tri
80. off 100 KHz 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 A logic 0 is shown as an unchecked box while a 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 Read Button When this button is pressed the two eight bit registers are read via the PC 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 PC bus Win 12CUSB Software User s Manual Page 37 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 Auto Write When the Auto Write is enabled light g
81. ogram 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 Following the STOP condition before writing another page to the device In addition to pressing the Write All 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 Win I2CUSB 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 Win 12CUSB Software User s Manual Page 26 PCA9534 PCA9538 PCA9554 PCA9554A 8 bit I O Expanders with Interrupt The PCA9534 PCA9538 PCA9554 and PCA9554A are 16 pin CMOS devices that provide 8 bits of General Purpose parallel Input Output GPIO expansion for I2C SMBus applications The PCA9554 and PCA9554A 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 DE USB to I2C PCA9554 PCA9554A PCA9534 1 0 Expanders OB amp File Device Options Window About Device Address E lomos Register 0 Register 1 Register 2 Register 3 Input Output Polarity Configuration FF FF 00 FE High 07 M High N7 C Not Inverted C7 M Input High 06 V High N6 C Not Inverted C6 I Input High O5 Y High NSC Not Inverted C5 M Input High 04 Y
82. on 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 Win l2CUSB Software User s Manual Page 61 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 PC bus If not checked the write button will need to be pressed before the data is sent to the PCA954x Win l2CUSB Software User s Manual Page 62 Non volatile Registers PCA8550 PCA9559 PCA9560 PCA9561 USB to 12C PCA8550 PCA9559 PCA9560 PCA9561 Non volatile Registers i File Device Options Window Help Joe PCA8550 PCA9560 PCA9561 i 9C Device Address 12C Address 0x98 7 12C Address 0x98 y Data Byte 00 Non muxed data EEPROM Byte O EEPROM Byte 1 EEPROM Byte O EEPROM Byte 1 Mux Data D O FF FF FF FF Mux Data C O Write Read Write Read Mux Data B O Write EEO Write EE1 Mux Data A O EEPROM Byte2 EEPROM Byte 3 Write Read Read EEO Read EE1 FF FF LI Auto Write Off Write All Read All Write Read Write Read PCA9559 12C A
83. p Register 0x04 Critical Alarm Trip Register 0x22 SMBus Register Auto Write The Write Only registers can automatically be sent to the SE98 upon changing the on screen state when this function is enabled Cyclic Read Pressing this button will allow the software to continuously read and display the temperature data Win I2CUSB Software User s Manual Page 70 Real time Clock Calendar PCF8563 Real time Clock Calendar 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 PCF 8563 Real time clock calendar Joes File Device Options Window Help o X Name Value Control Status 1 Clock Time Clock Date 00 control status 00 TESTI F Hour Min Sec Month Day Year 01 control status oo STOP 02 seconds 10 TESTC O A A 03 minutes 41 Control Status 2 ie v v 04 hours 21 TI TP O D 05 day 14 AF O Read Time sree En 06 weekdays o1 TF O 07 month century 09 AIE O 08 years 08 TIE O Clock integrity Read Date 09 minute alarm 80 CLKOUT control not guaranteed DA hour alarm HEN Frequency Set Alarm Time Alarm Date OB day alarm 94 i OC weekday alarm 81
84. put Input Input Y Input Y Input 5 77 Not Inverted 5 6 Not Inverted 5 5 Not Inverted 5 41 Not Inverted 5 31 Not Inverted 5 27 Not Inverted 5 1 Not Inverted 5 07 Not Inverted 4 7 Not Inverted 4 6 Not Inverted 4 5 Not Inverted 4 41 Not Inverted 4 31 Not Inverted 4 2 Not Inverted 4 1 Not Inverted 4 0 Not Inverted 3 7 m High 3 6 High 3 5 mm High 3 4 mjHigh 3 3 mm jHigh 3 2 mjHigh 3 1 mjHigh 3 0 jHigh 2 7 High 2 6 m High 2 5 mjHigh 2 4 mjHigh 2 3 mjHigh 2 2 mjHigh 2 1 jHigh 2 0 mjHigh lt a re Read Reg 4 5 3 34 off wae IT Write Reg 2 3 Read Reg 2 3 400 KHz Write Reg 6 7 Read Reg 6 7 Write Reg 4 5 5 0Y off 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 selection NOT the actual pin value Polarity Registers subaddress 0x04 and 0x05 These registers allow the user to invert the polarity of the Input Port Register data If a bit in this re
85. put 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 1 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 Win l2CUSB Software User s Manual Page 34 PCF8574 PCF8574A 8 bit I O Expander The PCF8574 provides general purpose remote I O expansion for most microcontroller families via the PC bus The device consists of an 8 bit quasi bi directional port and an PC 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 I C bus This means that the PCF8574 can remain a simple slave device The PCF8574 and PCF8574A differ only in their slave addresses as shown below TF USB to I2C PCF 8574 PCFB574A 8 bit 1 0 Expanders Ele Device Options Window About PCF8574 PCF85744 PC Address PC Address C 48h C
86. r 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 to 64 messages in length The sequencer is limited to using messages through 99 The Sequence Editor is shown below Sequence Editor Sequencer 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 t Message Editor Msg 1 SEE Close the Editor Address E Stop ves Pl Read Write write ha Number of Bytes e B Delay After Message e B Write Message 00 01 02 03 04 05 06 07 Message Number The message being edited is shown at the top of the message editor screen Win I2CUSB Software User s Manual Page 23 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 I
87. reen any changes made by the user to the PCF8575 checkboxes on the screen will immediately be sent to the PCF8575 via the PC bus Win l2CUSB Software User s Manual Page 38 LED Blinkers and Dimmers PCA9530 2 bit 12C LED Dimmer The PCA955x LED Blinker blinks LEDs in I C applications where it is necessary to limit bus traffic or free up the PC 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 PCA955x 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 TF USB to 12C PCA9530 2 bit LED Dimmer it File Device Options Window About LED Mode Select LED 1 PWM1 Rate PWMO Rate On off dr Duty Cycle ada Duty Cycle 1 000 sec 50 00 1 000 Hz 0 500 sec 50 00 2 000 Hz Device Address CER LED O PWM1 Rate PWMO Rate On Off Registers PC Address Input Register 0xcC0 prescaer MB E now on eh EE meari a Prescaler 1 Read Input Reg pwm Register 1 ill te stor M 400 KHz 3 3V off 5 0Y off The device I2C address can be selected by choosing one of t
88. register 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 Win l2CUSB Software User s Manual Page 59 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 PC bus Win l2CUSB Software User s Manual Page 60 PCA9543A PCA9545A PCA9546A PCA9548A PCA9549 The PCA9543A 9545A 9546A 9548A PCA9549 are a family of bi directional translating switches controlled via the I C 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 outp
89. rent 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 Edit Current Register Edit Register DER If you want to adjust A register in the grid use the Edit Current Register screen This screen can be started by right clicking on the User Definable Device grid or by selecting Current Register from the Edit menu The name Arat Horizontal syne stop of the register and the initial value displayed when the Description Horizontal sync stop definition file is first opened can be changed here Note that the register name changes are not saved until the x Cancel Save or Save As item under the File menu is selected Register 0x07 Initial Value hex Edit Current Device Editing the current device may be accomplished by clicking on Edit Current Device from the Edit menu Win l2CUSB Software User s Manual Page 18 or by right clicking on the grid within the User Definable Device mode of Win IZCUSB 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 Win 2CUSB when the definition file is opened Device Address is the device I C address that will be displayed in the Address box when the definition file J 2 f is opened Note that only even Edit Current Device TB addresses are valid here Win i Baana S
90. ressing 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 programming 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 Bl OS Comp Interrupt R W 0 For OS operation Mode selection 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 Win l2CUSB Software User s Manual Page 66 NE1617 A Temperature monitor The NE1617A is an accurate two channel temp
91. rform 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 Win I2CUSB will not be terminated Add a Row Inserts a new blank row after the current row You can also use the Ctrl Ins keyboard shortcut to insert a new row Delete a Row Deletes the current row current message You can also use the Ctrl Del keyboard shortcut to delete the current row Win I2CUSB Software User s Manual Page 21 Clear the current row The current 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 TF USB to 12 12 Expert Mode Bile Edit Device Options Window 14985 tua Msg Start Address R w Data Write 00 01 02 03 04 05 06 07 Write 00 Read FF FF FF FF FF FF FF FF Read FF FF FF FF FF FF FF FF Cesa ree esea Pasa r 01 02 03 04 05 06
92. rks of their respective owners Questions or comments regarding this document should be emailed to sales demoboard com 2004 2010 The Boardshop SB Solutions Inc All rights reserved December 2010 Win l2CUSB Software User s Manual Page 2 Win l2CUSB Software User s Manual Page 3 DAC PROTOCOL ree anae ae A a ae ee ied Ba niece ei Ree Mord BAL 6 Seely eS 9 GENERAL CHARACTERISTICS 2 2 cee eee eee ee ee eee ee ee ee eee et 9 BIT TRANSFER in Bye tes aS a le eeu ge e Se Al a eee Re oe oe bee 9 START AND STOP CONDITIONS 2 2 eee eee ee eee eee ee ee eens 9 I C ADDRESS 3 leas a II A ORG Det eo alors eA Bel A AA bres Bee 9 I 2C BUS DOCUMENTATION E A bles ces Ah Ste oe 9 MAIN SCREEN ic die ce be AE Ste ieee Fas 10 Device Menu disse a e ls is Gaede ose e beat da le 10 MESSAGES Panel lia aa ll a e ew Lee eels a eta aa 10 Messages eue u ad ls a A E btes dice AE es E 10 Bet Vie iMG less tense ib A 8 Site Sara Whee A SS BES 10 Save Data we Sein a A eel wie Sele del Suki Gigli ee AaS 10 TOA DAC aS wy A AS Teh oe El whe RE es eee eee ele 11 OPCTONSS MENU sais RATS Gaels he tend wey td bie da ti Sa da ar 11 T4 C Prequency Men LE SM oe dee Ri a A eae el ws 11 mabre vV OUEPuUE ROWSE dis A eae Se alee aie Se Seles wale ole ee De es Ge ded Bnable DM QUEPpUE DOS ri A Pye Berd ae ete ete a teh gece Seyi 11 Ignore Acknowledge s ss ainu kee se eh he oe Sie gS Bide oo a edie
93. rs switches will be updated Win 12CUSB Software User s Manual Page 54 SAA1064 4 Digit 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 drive 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 TF USB to I2C SAA1064 LED Driver TER Ss File Device Options Window About Device Address Automatic Write Read and Write ow maeme Best J Control Register Digit 1 Digit2_ Digit 3 Digit 4 3 Current mA ag mae le Sn maj Bit 7 maj Bit 7 Bit 7 mj Bit7 C All segments on maj Bit6 Bit 6 Bit 6 m Bit 6 Bit 5 m Bit5 Bit5 mj Bit5 Diane dd Bit4 mj Bit4 fe Bits ml Bits mj Bit 3 mj Bit3 mj Bit 3 Bit3 m Bit 2 m Bit2 mj Bit 2 Bit 2 Dynamic mode mj Bit 1 Bit 1 mj Bit 1 Bit 1 Bit 0 Bit 0 j Bit0 j Bit 0 Digits 1 and 3 on 3 34 off 5 0Y off 400 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
94. s The data for each Input or Output is kept in the corresponding Input or Output register The system master can read all registers LP USB to 12 Address P hex 30 EEPROM Address P6 PS P4 P3 P2 Pi o ja 2 js la s jo 7 ja jo ja e c jo je f PO PCA9500 PCA9501 System Maintenance and Control Devices FF EF Auto Write On gt bb Word Address 00h Od DO Write Time ms 10 S 0i 11 21 31 41 51 61 71 61 2D 42 77 53 2D 32 2D 02 12 22 32 42 52 62 72 82 2D 20 77 42 2D 43 2D 03 13 23 33 43 53 63 73 83 2D 53 2E 2D 2D 20 2D 04 4 24 34 44 54 64 74 34 2D 6F 69 74 2D 4D 2D 05 15 25 35 45 55 65 75 85 2D 6c 32 6F 2D 61 2D 06 16 26 36 46 56 66 76 36 2D 75 63 2D 2D 64 2D 07 17 27 37 47 57 67 77 87 2D 74 74 49 2D 65 2D os 13 28 38 48 58 68 78 38 2D 69 6F 32 2D 20 2D D9 19 29 39 49 59 69 79 39 2D 6F 6F 43 2D 53 2D 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
95. ss 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 Win I2CUSB the software assumes the least significant bit is zero write If the PC message is a write transmission the least significant bit will be sent as a 0 while if it is aread the software will append a 1 in the LSB position lI2 C Bus Documentation The complete C Bus specification can be found at http ics nxp com Main Screen When the Win I2CUSB program starts a screen as shown below will be displayed on the monitor Device Menu The device menu contains a list of I C devices supported by the Win I2CUSB software Selecting the device from this menu may start any of the 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 UsB t0 120 CJ aE File Device Options Window Help USB Hardware gt Hardware Detected 3 3 0n 5 0 0n 400 kHz toolbar Message Panel The main screen has a panel that displays messages from the program It will indicate if the PC transmission was successful or if there was a problem encountered A list of messages is shown below Messages Transmission successful the last 12C transm
96. t 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 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 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 O 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 Win l2CUSB Software User s Manual Page 58 Multiplexer Switches P
97. to write On EE Auto Write On Input part control any 3 3 of 5 0Y off 100 KHz 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 previously 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 of the following can change the data value of the 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 Define New Device This is similar to the Edit Current Device explained below This menu selection allows the user
98. ut which acts as an AND of the 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 of the 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 r USB to I2C PCA9543 PCA9545 PCA9546 PCA9548 PCA9549 Switches BAX Fie Device Options Window Help PCA9543A PCA9545A PCA9546A PCA9548A PCA9549 2 v Device Address OXEO v Device Address OXEO v Device Address OXEO 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 C Channel 0 C Channel 0 C Channel 0 C Channel 0 C Channel 1 C Channel 1 C Channel 1 C Channel 1 C Channel 2 C Channel 2 C Channel 2 C Channel 3 C Channel 3 C Channel 3 Interrupts Interrupts C Channel 4 Channel 0 Channel 0 C Channel 5 Channel 1 Channel 1 L Channel 6 Channel 2 C Channel 7 Channel 3 CI Auto Write Off CI Auto Write Off CI Auto Write Off Cl Auto Write Off Hardware Detected 3 3 Off 5 0 Off 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 status with the Read Butt

Download Pdf Manuals

image

Related Search

Related Contents

Digitus CAT 6 S-FTP 0.25m  Ver.1.06 - MIXUP ミックスアップ事業部  VIDEO GLASS 675 VIDEO GLASS 678  Samsung PS-63P76FD User Manual  Origin Storage Dell Latitude/Precision Workstation drive  iWE280 - Misuratore Fiscale - Manuale di Uso  Manual do Usuário - TB-55  GE HMAA Data Sheet  KOS-A300 - ご利用の条件|取扱説明書|ケンウッド  Parkinson Cowan Classic U02021 User's Manual  

Copyright © All rights reserved.
Failed to retrieve file