Discussion in "8051 Discussion Forum" started by    vietbac    Jan 6, 2018.
Sat Jan 06 2018, 03:46 pm
#1
Hi !
I try use the AT89C2051 for setting the AT42QT1070 by I2C
The slave address write is 0x36 and read is 0x37
but read the register data not correct
Please help check the slave address is correct or not ?
any special request for setting this IC ?

thanks,
Sun Jan 07 2018, 06:39 am
#2
0x36 and 0x37 seem to be to right address.
This data sheet give details of the read/write method.
Can you post you code ?


 vietbac like this.
Sun Jan 07 2018, 11:51 am
#3
dear,

Thanks for reply.
I upload the code by ASM, please refer attach file.
I try to read the register address 0x00, 0x01, 0x02 but the data not correct as datasheet.

please help to check.
Thanks,

Attachment
Tue Jan 09 2018, 01:05 am
#4
I suggest substituting a memory chip, such as the 24C01C
in your project to check the basics.
Do you have Proteus ?

>I try to read the register address 0x00, 0x01, 0x02
>but the data not correct as datasheet.

What are you expecting and what do you get ?


[ Edited Tue Jan 09 2018, 01:08 am ]

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Sazrfci
Sun Oct 06 2024, 06:33 am
Sazrzhk
Sun Oct 06 2024, 01:34 am
Sazrjgz
Sun Oct 06 2024, 01:23 am
Dnrthvf
Sat Oct 05 2024, 08:39 pm
Dnrthwo
Sat Oct 05 2024, 08:27 pm
Mofredka
Sat Oct 05 2024, 03:43 pm
ErnestClagS
Sat Oct 05 2024, 06:44 am
Arisha4Et
Fri Oct 04 2024, 05:53 pm