I want to use one ATtiny15 to calibrate the internal clock of another one. The master would generate a slow clock of 1.6KHz by dividing down the main clock of 4MHz. It would trigger a timer in the slave micro. The slave would compare counts in that register to it's own internal clock. It would modify the calibration register until they match. Then it would store the result in EPROM. All successive programs for that slave chip would always look at the specific location for the calibration value to calibrate itself before running it's program. Has anyone already done this with this mirco or with another micro with it's own internal clock? Any suggestions would be appreciated.
Thanks, Scott Pierskalla