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

Bobbyerilar
Thu Mar 28 2024, 08:08 am
pb58
Thu Mar 28 2024, 05:54 am
Clarazkafup
Thu Mar 28 2024, 02:24 am
Walterkic
Thu Mar 28 2024, 01:19 am
Davidusawn
Wed Mar 27 2024, 08:30 pm
Richardsop
Tue Mar 26 2024, 10:33 pm
Stevencog
Tue Mar 26 2024, 04:26 pm
Bernardwarge
Tue Mar 26 2024, 11:15 am