The OP
Published on 2020-10-10 10:08
Only look at the author
This post is from Domestic Chip Exchange
Latest reply | ||
|
||
littleshrimp
Currently offline
|
2
Published on 2020-10-10 11:09
Only look at the author
This post is from Domestic Chip Exchange
Comments
After testing, the value of register 20h before and after initialization is 2. The initial value of the register should be 7, and the initialization value is 39 (0x27), but the two values I read are both 2. Maybe there is a problem with the reading code, but this I2C code reads DS1307 normally without any error.
Details
Published on 2020-10-10 12:16
| |
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
|
||
|
3
Published on 2020-10-10 11:49
Only look at the author
This post is from Domestic Chip Exchange
| ||
|
||
|
This post is from Domestic Chip Exchange
| ||
|
||
|
5
Published on 2020-10-10 11:56
Only look at the author
This post is from Domestic Chip Exchange
| ||
|
||
|
This post is from Domestic Chip Exchange
Comments
Check again if it is a 7-bit address or 8-bit address problem. If it doesn't work, change a fake address (write one at random) to see if the read data changes. If it still doesn't work, try another MCU. First, eliminate the hardware problem of this sensor board.
Details
Published on 2020-10-10 13:32
| ||
|
||
|
littleshrimp
Currently offline
|
7
Published on 2020-10-10 13:32
Only look at the author
This post is from Domestic Chip Exchange
Comments | |
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
|
||
|
This post is from Domestic Chip Exchange
| ||
|
||
|
9
Published on 2020-10-11 21:33
Only look at the author
This post is from Domestic Chip Exchange
Comments
Thanks for your advice! The downloaded program cannot be compiled successfully due to missing files. There may be problems with the I2C read and write in the transplanted code. The read data are all the same. Further analysis and testing are being carried out.
Details
Published on 2020-10-12 08:09
| ||
Personal signature
默认摸鱼,再摸鱼。2022、9、28 |
||
|
This post is from Domestic Chip Exchange
| ||
|
||
|
This post is from Domestic Chip Exchange
| ||
|
||
|
This post is from Domestic Chip Exchange
| ||
|
||
|
13
Published on 2020-10-14 21:03
Only look at the author
| |
Personal signature
默认摸鱼,再摸鱼。2022、9、28 |
|
|
w494143467
Currently offline
|
14
Published on 2020-10-14 22:28
Only look at the author
This post is from Domestic Chip Exchange
Comments | |
|
||
|
This post is from Domestic Chip Exchange
| ||
|
||
|
This post is from Domestic Chip Exchange
Comments
This is just experience. The colleague was stuck for two days and looked for various solutions. Finally, the supervisor said, "Just brag about it," and it worked. My colleague was so excited. Haha, you can organize this post and post it as an experience post. If it is well written, I can feature it!
Details
Published on 2020-10-15 09:49
| ||
|
||
|
w494143467
Currently offline
|
17
Published on 2020-10-15 09:49
Only look at the author
This post is from Domestic Chip Exchange
Comments | |
|
||
|
This post is from Domestic Chip Exchange
| ||
|
||
|
19
Published on 2020-10-19 10:41
Only look at the author
This post is from Domestic Chip Exchange
| ||||||||||
Personal signature
玩板看这里: https://bbs.eeworld.com.cn/elecplay.html EEWorld测评频道众多好板等你来玩,还可以来频道许愿树许愿说说你想要玩的板子,我们都在努力为大家实现! |
||||||||||
|
论坛测评队员
EEWorld Datasheet Technical Support
EEWorld
subscription
account
EEWorld
service
account
Automotive
development
circle
About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190