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

Darrellciz
Thu Apr 18 2024, 11:07 am
Charlessber
Thu Apr 18 2024, 09:29 am
BartonSem
Thu Apr 18 2024, 04:56 am
DonaldKnown
Thu Apr 18 2024, 12:24 am
utaletxcyw
Wed Apr 17 2024, 10:21 am
Anthonyvab
Wed Apr 17 2024, 08:48 am
RobertCix
Wed Apr 17 2024, 06:46 am
Astorne
Tue Apr 16 2024, 08:52 pm