Home » Archimedes archive » Acorn User » AU 1995-12 B.adf » Regulars » RuntheRISC/!IIC_Mon/!Help
RuntheRISC/!IIC_Mon/!Help
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Acorn User » AU 1995-12 B.adf » Regulars |
Filename: | RuntheRISC/!IIC_Mon/!Help |
Read OK: | ✔ |
File size: | 0329 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
IIC Monitor Copyright Mike Cook 1995 - Musbury Consultants all rights reserved 5 Helmshore Rd. Haslengden BB4 4BG 0706 216701 This application allows you to monitor the signals on the IIC data bus for the:- PCF8591 A/D and D/A chip PCF8574 or PCF8574A Digital I/O chip Also you can set the output bits and the D/A output as well as setting the A/D mode If readings show XXXXXXXX then there is no device (chip) responding at the address set up by the window. Note there will also be no slider thumb or meter needle. For the digital lines to be an input they must first be set to a logic 1 (default) and then the input device pulls them down. Do not set them at a zero and use a current source for the input.
00000000 49 49 43 20 4d 6f 6e 69 74 6f 72 0a 43 6f 70 79 |IIC Monitor.Copy| 00000010 72 69 67 68 74 20 4d 69 6b 65 20 43 6f 6f 6b 20 |right Mike Cook | 00000020 31 39 39 35 20 20 2d 20 4d 75 73 62 75 72 79 20 |1995 - Musbury | 00000030 43 6f 6e 73 75 6c 74 61 6e 74 73 20 61 6c 6c 20 |Consultants all | 00000040 72 69 67 68 74 73 20 72 65 73 65 72 76 65 64 0a |rights reserved.| 00000050 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000060 20 20 20 20 20 20 20 20 20 20 20 20 35 20 48 65 | 5 He| 00000070 6c 6d 73 68 6f 72 65 20 52 64 2e 20 48 61 73 6c |lmshore Rd. Hasl| 00000080 65 6e 67 64 65 6e 20 42 42 34 20 34 42 47 0a 20 |engden BB4 4BG. | 00000090 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 000000a0 20 20 20 20 20 20 20 20 20 20 20 30 37 30 36 20 | 0706 | 000000b0 32 31 36 37 30 31 0a 0a 54 68 69 73 20 61 70 70 |216701..This app| 000000c0 6c 69 63 61 74 69 6f 6e 20 61 6c 6c 6f 77 73 20 |lication allows | 000000d0 79 6f 75 20 74 6f 20 6d 6f 6e 69 74 6f 72 20 74 |you to monitor t| 000000e0 68 65 20 73 69 67 6e 61 6c 73 20 6f 6e 20 74 68 |he signals on th| 000000f0 65 0a 49 49 43 20 64 61 74 61 20 62 75 73 20 66 |e.IIC data bus f| 00000100 6f 72 20 74 68 65 3a 2d 0a 20 20 20 20 20 20 20 |or the:-. | 00000110 20 20 20 20 20 20 20 20 20 20 20 20 20 20 50 43 | PC| 00000120 46 38 35 39 31 20 41 2f 44 20 61 6e 64 20 44 2f |F8591 A/D and D/| 00000130 41 20 63 68 69 70 0a 20 20 20 20 20 20 20 20 20 |A chip. | 00000140 20 20 20 20 20 20 20 20 20 20 20 20 50 43 46 38 | PCF8| 00000150 35 37 34 20 6f 72 20 50 43 46 38 35 37 34 41 20 |574 or PCF8574A | 00000160 44 69 67 69 74 61 6c 20 49 2f 4f 20 63 68 69 70 |Digital I/O chip| 00000170 0a 0a 41 6c 73 6f 20 79 6f 75 20 63 61 6e 20 73 |..Also you can s| 00000180 65 74 20 74 68 65 20 6f 75 74 70 75 74 20 62 69 |et the output bi| 00000190 74 73 20 61 6e 64 20 74 68 65 20 44 2f 41 20 6f |ts and the D/A o| 000001a0 75 74 70 75 74 0a 61 73 20 77 65 6c 6c 20 61 73 |utput.as well as| 000001b0 20 73 65 74 74 69 6e 67 20 74 68 65 20 41 2f 44 | setting the A/D| 000001c0 20 6d 6f 64 65 0a 0a 49 66 20 72 65 61 64 69 6e | mode..If readin| 000001d0 67 73 20 73 68 6f 77 20 58 58 58 58 58 58 58 58 |gs show XXXXXXXX| 000001e0 20 74 68 65 6e 20 74 68 65 72 65 20 69 73 20 6e | then there is n| 000001f0 6f 20 64 65 76 69 63 65 20 28 63 68 69 70 29 20 |o device (chip) | 00000200 72 65 73 70 6f 6e 64 69 6e 67 0a 61 74 20 74 68 |responding.at th| 00000210 65 20 61 64 64 72 65 73 73 20 73 65 74 20 75 70 |e address set up| 00000220 20 62 79 20 74 68 65 20 77 69 6e 64 6f 77 2e 0a | by the window..| 00000230 4e 6f 74 65 20 74 68 65 72 65 20 77 69 6c 6c 20 |Note there will | 00000240 61 6c 73 6f 20 62 65 20 6e 6f 20 73 6c 69 64 65 |also be no slide| 00000250 72 20 74 68 75 6d 62 20 6f 72 20 6d 65 74 65 72 |r thumb or meter| 00000260 20 6e 65 65 64 6c 65 2e 0a 0a 46 6f 72 20 74 68 | needle...For th| 00000270 65 20 64 69 67 69 74 61 6c 20 6c 69 6e 65 73 20 |e digital lines | 00000280 74 6f 20 62 65 20 61 6e 20 69 6e 70 75 74 20 74 |to be an input t| 00000290 68 65 79 20 6d 75 73 74 20 66 69 72 73 74 20 62 |hey must first b| 000002a0 65 20 73 65 74 20 74 6f 0a 61 20 6c 6f 67 69 63 |e set to.a logic| 000002b0 20 31 20 28 64 65 66 61 75 6c 74 29 20 61 6e 64 | 1 (default) and| 000002c0 20 74 68 65 6e 20 74 68 65 20 69 6e 70 75 74 20 | then the input | 000002d0 64 65 76 69 63 65 20 70 75 6c 6c 73 20 74 68 65 |device pulls the| 000002e0 6d 20 64 6f 77 6e 2e 0a 44 6f 20 6e 6f 74 20 73 |m down..Do not s| 000002f0 65 74 20 74 68 65 6d 20 61 74 20 61 20 7a 65 72 |et them at a zer| 00000300 6f 20 61 6e 64 20 75 73 65 20 61 20 63 75 72 72 |o and use a curr| 00000310 65 6e 74 20 73 6f 75 72 63 65 20 66 6f 72 20 74 |ent source for t| 00000320 68 65 20 69 6e 70 75 74 2e |he input.| 00000329