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.
ThanksAbdul
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]

            To: [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]
            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                                 
          
_______________________________________________
users mailing list
[email protected]
http://lists.riot-os.org/mailman/listinfo/users

Reply via email to