??? 10/03/08 14:13 Read: times |
#158813 - Tools Responding to: ???'s previous message |
Hi Erik,
I have a old two channel oscilloscope and a multimeter. I could see the signals from LPC. These signals are arriving in the e2prom.(SDA and SCL). There are two resistors 10k, pull-up I2C bus in 3V3. I'm trying a single reading, but it doesn't work. Can I do a single reading using this function ? "i2c_receive(AT24C256);" I created a unsigned char variable as auxiliar index, (IndexRx) and I put there how many bytes I want to receive and a #define to AT24C256 as been 0xA0. In the Callback functions, (i2c_master_receivedbyte(...)) I put the answer in another variable (i2cvector[bytenum]) These variables are global. PS.: I'm not sure about AT24C256. In datasheet, there are vcc1, vcc2, vcc3 (table 3, pag 4). I think that e2prom work with 3V3. thanks for help |