I am working with an IIS2DLPC. Using i2c I can write to and receive ACKs from the accelerometer as expected. I can also view this on my o'scope. However, when I request a read of any register I always get 0x0. I am using a PIC16F1503 microprocess...
Hi. Thanks for you replies. I believe I have found the issue. I had not cleared a pin and released it from PWM. The port is multifunction and the PWM function was a higher priority. I confirmed on my oscilloscope that I can receive 0x44 from the...
This line in the above answer was a mistype. "However I am not converting to using the i2c engine in the PIC. "In fact, i AM converting to using the i2c engine in the PIC.
Thank you for your reply. The first writes are writes to set control registers. If you notice in the while loop I attempt to read the WHO_AM_I register. All writes return as ACK but I never get anything back. I used your suggestion and attempted ...