Thanks for the response and interest.....
Mr. E-
I added a GOTO at the end of the INIT section (tight loop) and still the pins don't reflect any movement - they are both high.
BTW, MPASM 5.14, MCS 2.3.0.0, PBP 2.47.
I am no Guru but have coded before and this is driving me nuts! 2 different board designs but using the same chip gives the same symptom.......I swear it seems that the command offers no response.
Everything else IS working but not the I2C command
Yes, all esle is working as expected. When I start a project I use the LCD as a debugging tool and all the messages I write to it are working. ALso the heartbeat LED is blinking showing me that I am looping in the main part and that the proc is counting correctly.
Everything BUT the I2C commands - nothing from the pin!!
Confused but still no pins toggle
Thanks for the input, I am confused however upon my reading (and re-reading the 23016 datasheet) writing to the config registers are:
"First, the device is selected bt sending the slave address and setting the R/W bit to logic '0'. The command byte is sent after the address and determines which register will be written." and then it shows the waveforms for this.
Address is sent 1st (according to the datasheet) and is 0-1-0-0-A2-A1-A0 and then the R/W bit. Next is the command byte (8 bits) and then the 2 data bits - Appaerntly this device uses 2 and accesses them automatically.
All of this I think I get - but it still does not answer the fact that the data and clock pins do not toggle - AT ALL! I can see if I get my sequence wrong - but the lines should still toggle.
Once I get the lines to at least toggle in some form, then I set myself to get the device to actually look like it may work.
Any other ideas?
Updated PBP now looking for MPASM 5.20
Mr. E-
I have updated to PBP 2.50 (we had it just not loaded) and am looking for MPASM 5.20 and don't seem to find it on Microchip's website - where did you find it?
I re-compiled with PBP 2.50 and MPASM 5.14 and get the same thing - just dead pins.......
I also added the patch so I am now using PBP 2.50A.....