Hi Abdul,
I haven't got a concrete answer for you but:
Is the APBA clock for the WDT enabled in the power manager (APBAMASK
register)?
Is the GCLK generic clock selection enabled (CLKCTRL register)?
Best,
Peter
Am 21.04.2015 um 05:41 schrieb Abdulkhadar Abdulla:
Hi,
Can anybody help me in enabling the wdt sam r21? I tried the following
code segment but didn't enable the WDT. Am I missing anything here?
void start_wdt(void)
{
WDT->CONFIG.bit.PER = 0xB;
WDT->CTRL.bit.WEN = 0;
while(WDT->STATUS.bit.SYNCBUSY == 1);
WDT->INTENSET.bit.EW = 0;
WDT->CTRL.bit.ENABLE = 1;
while(WDT->STATUS.bit.SYNCBUSY == 1);
}
and in the main loop, I used WDT->CLEAR.bit.CLEAR = 0xA5; to clear the
WDT counter.
Thanks
Abdul
------------------------------------------------------------------------
Date: Thu, 9 Apr 2015 10:19:27 +0200
From: [email protected]
To: [email protected]
Subject: Re: [riot-users] sixlowapp Ping not working in SAM R21
hi,
On 08.04.2015 09:15, Abdulkhadar Abdulla wrote:
Hi Oleg,
Thank you.
Hi Hauke,
Can you please help me in this?
I fear I can not really help, aside from telling you that I have just
taken on the work to fix the radio driver. I hope I will be able to
pull request a fixed version next week...
Cheers,
Hauke
Thanks
Abdul
Date: Wed, 8 Apr 2015 09:02:22 +0200
From: [email protected] <mailto:[email protected]>
To: [email protected] <mailto:[email protected]>
Subject: Re: [riot-users] sixlowapp Ping not working in SAM R21
Hi Abdul!
> I observed another problem, when using sixlowapp with SAM R21. I have 3 sam
> r21 boards. I flashed sixlowapp in all the boards. When I start the
boards,
> one of the node freezes but other two nodes can exchange data using nc
> command. Any of you observed this problem before?
Just yesterday I learned that there is probably a bug in the SPI driver that
may cause this problem. Maybe Hauke can tell more about this issue.
Cheers,
Oleg
--
The great thing about SQL transaction jokes is that once you BEGIN, you can
ROLLBACK if nobody gets them.
_______________________________________________ users mailing list
[email protected] <mailto:[email protected]>
http://lists.riot-os.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected] <mailto:[email protected]>
http://lists.riot-os.org/mailman/listinfo/users
_______________________________________________ users mailing list
[email protected] http://lists.riot-os.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.riot-os.org/mailman/listinfo/users
--
Peter Kietzmann
Hamburg University of Applied Sciences
Dept. Informatik, Internet Technologies Group
Berliner Tor 7, 20099 Hamburg, Germany
Fon: +49-40-42875-8426
Web: http://www.haw-hamburg.de/inet
_______________________________________________
users mailing list
[email protected]
http://lists.riot-os.org/mailman/listinfo/users