Pages: [1]   Go Down
Author Topic: RTC cann't running well in arduino DUE, because DUE's reset connects NRSTB  (Read 1416 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Because  DUE's reset connects NRSTB pin, pressing reset will reset the chip including the Backup region (RTC, RTT and Supply Controller), that means RTC's time will be set 2007.1.1 and etc.  But in SAM3x, there is another NRST Pin, if reset connect this pin, it will not reset the Backup region (RTC, RTTand Supply Controller), thus, I suggest arduino due make some changes to avoid the RTC's reset.
Logged

Germany
Offline Offline
Full Member
***
Karma: 10
Posts: 230
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Because  DUE's reset connects NRSTB pin, pressing reset will reset the chip including the Backup region (RTC, RTT and Supply Controller), that means RTC's time will be set 2007.1.1 and etc.  But in SAM3x, there is another NRST Pin, if reset connect this pin, it will not reset the Backup region (RTC, RTTand Supply Controller), thus, I suggest arduino due make some changes to avoid the RTC's reset.
Not on the actually Due it's how you say it. It's more than hardcoded it's wired on the board itself. Only with a jumper on the next Version to choose there will be no chance of changing.
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 126
Posts: 8471
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Your right about the reset, but I doubt that will ever be changed. If you can wait 6 months my board allows both types of reset smiley

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Germany
Offline Offline
Full Member
***
Karma: 10
Posts: 230
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Your right about the reset, but I doubt that will ever be changed. If you can wait 6 months my board allows both types of reset smiley

______
Rob
A half year? How would I spent the time, waiting is so uncomfortable...
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 126
Posts: 8471
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Can I suggest a good book smiley

And BTW, most of my estimates are 100% off, and not in the good direction. Also we've decided to use an FPGA so now I have to learn about them. The good news is that the entire CPU board will only have 2 chips. 3 if you want 1-wire.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Offline Offline
Newbie
*
Karma: 3
Posts: 46
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So is there any way to work a external ds 1307 with arduino due?
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 23
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Acctually i think you could try this Due-compatible board:
http://www.elechouse.com/elechouse/index.php?main_page=product_info&cPath=72_73&products_id=2223
The NRST pin is available on this board.
Logged

Offline Offline
Newbie
*
Karma: 3
Posts: 46
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What if i turn off taiji-uino by powering off and turn on again? Will doing this cause rtc reset?
Logged

Germany
Offline Offline
Full Member
***
Karma: 10
Posts: 230
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What if i turn off taiji-uino by powering off and turn on again? Will doing this cause rtc reset?
Yes Sir.
Logged

Pages: [1]   Go Up
Jump to: