Attiny85 8Mhz+PLL for both CPU clk and peripheral clk at the same time?

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

I know it's possible to get 16 MHz CPU clock from the 8 MHz internal RC + PLL. It's also possible to get 64/32 MHz peripheral clock the same way. But what about having both at the same time? I didn't find anything in the datasheet that says it's impossible, but it doesn't mention it as a possibility either.

This topic has a solution.
Last Edited: Mon. Sep 18, 2017 - 01:35 AM
This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yes you can have both.  IIRC, with the 16 MHz system clock via the PLL, you cannot use the slower 32 MHz FPC, only the 64 MHz is available.

"Experience is what enables you to recognise a mistake the second time you make it."

"Good judgement comes from experience.  Experience comes from bad judgement."

"When you hear hoofbeats, think horses, not unicorns."

"Fast.  Cheap.  Good.  Pick two."

"Read a lot.  Write a lot."

"We see a lot of arses on handlebars around here." - [J Ekdahl]

 

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

Perfect! Thanks.