mitxela.com forum
Welcome. Please log in or register.

Attiny44A clock calibration
marty900 Posted: 26 Aug 2021, 07:08 PM
Avatar


Member
Posts: 1
Joined: 26-August 21
Hello, I found a very interesting article on mitxela.com about clock calibration method for attiny2313. I wonder if the same method and code could be used to calibrate the clock on Attiny44A? Many thanks

-------------
[top]
mit Posted: 29 Aug 2021, 11:08 AM
Avatar
yeah whatever

Admin
Posts: 405
Joined: 4-May 16
The same method, sure. The same code, maybe not.

I would carefully check the datasheets and see how the timer hardware compares. Look at all the registers used in the source code (https://github.com/mitxela/PrecisionClockMkII/blob/master/osccal.asm) such as, well, TCCR1B and so on. If you're lucky they're similar enough that the code might just work. If not you'd need to modify it appropriately.

-------------
[top]

Sign in to post a reply.