CLKCTRL.MCLKSTATUS bits

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


I'm struggling with XOSC32K of an avr128da32.

My plan was to check bit 3 of above mentioned register to test the actual working of the external quartz oscillator but I get this

And PIT ISR won't get called (at difference when I switch to internal 32k oscillator).

So my question is --what does it means finding one in that bit?--

Disclaimer: I know my hardware is suboptimal but to stay as close at possible to the chip I arranged this




capacitors from quartz pins to ground are 12pf (I found the value on the schematic of curiosity nano)

 

This topic has a solution.
Last Edited: Thu. Oct 14, 2021 - 10:55 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


uliano wrote:
So my question is --what does it means finding one in that bit?--
Datasheet says:

 

So it means it is "stable" doesn't it?

This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


 

You have inconsistent settings.

And the RTC has a CLKSEL register where you have to specify the clock source.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


kabasan wrote:

 

 

 

You have inconsistent settings.


And the RTC has a CLKSEL register where you have to specify the clock source.

 




That's funny!


To remove all other variables (possibly due to me being a total newbie), even if i dislike it, I used Atmel Start:




Nevertheless your observation is precious and I will follow along it.


(there's still hope, at least till I can believe to stable bit!)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


kabasan wrote:

 

And the RTC has a CLKSEL register where you have to specify the clock source.

 

You were right, I was looking in the wrong part of startt


I can even see it running :-)

Last Edited: Thu. Oct 14, 2021 - 10:59 AM