EM60000 Tempo setting select table (Fosc=6MHz) ideal MS0-2 real Tempo beat(ms) MTC(ms) divide precaler | divide | MTC(ms) Tempo 40 1500.000 31.250 366.578 256 367 31.3 39.9 50 1200.000 25.000 293.262 256 293 25.0 50.0 60 1000.000 20.833 244.385 256 244 20.8 60.0 70 857.143 17.857 209.473 256 209 17.8 70.1 80 750.000 15.625 183.289 256 183 15.6 80.0 90 666.667 13.889 162.923 256 163 13.9 89.8 100 600.000 12.500 146.631 256 147 12.5 99.6 110 545.455 11.364 133.301 256 133 11.4 110.1 120 500.000 10.417 244.385 128 244 10.4 120.0 130 461.538 9.615 225.586 128 226 9.6 129.6 140 428.571 8.929 209.473 128 209 8.9 140.1 150 400.000 8.333 195.508 128 196 8.4 149.4 160 375.000 7.813 183.289 128 183 7.8 160.1 170 352.941 7.353 172.507 128 173 7.4 169.3 180 333.333 6.944 162.923 128 163 7.0 179.7 190 315.789 6.579 154.348 128 154 6.6 190.2 200 300.000 6.250 146.631 128 147 6.3 199.3 210 285.714 5.952 139.649 128 140 6.0 209.2 220 272.727 5.682 133.301 128 133 5.7 220.2 230 260.870 5.435 127.505 128 128 5.5 228.8 240 250.000 5.208 122.193 128 122 5.2 240.1 250 240.000 5.000 117.305 128 117 5.0 250.4 260 230.769 4.808 112.793 128 113 4.8 259.2 270 222.222 4.630 108.616 128 109 4.7 268.7 280 214.286 4.464 104.736 128 105 4.5 279.0 290 206.897 4.310 101.125 128 101 4.3 290.0 300 200.000 4.167 97.754 128 98 4.2 298.9 350 171.429 3.571 83.789 128 84 3.6 348.7 400 150.000 3.125 73.316 128 73 3.1 401.2 450 133.333 2.778 65.169 128 65 2.8 450.6 500 120.000 2.500 58.652 128 59 2.5 496.5 550 109.091 2.273 53.320 128 53 2.3 552.7 600 100.000 2.083 48.877 128 49 2.1 597.8 650 92.308 1.923 45.117 128 45 1.9 650.9 700 85.714 1.786 41.895 128 42 1.8 697.4 750 80.000 1.667 39.102 128 39 1.7 751.1 800 75.000 1.563 36.658 128 37 1.6 791.6 850 70.588 1.471 34.501 128 35 1.5 836.9 900 66.667 1.389 32.585 128 33 1.4 887.6 950 63.158 1.316 30.870 128 31 1.3 944.9 1000 60.000 1.250 29.326 128 29 1.2 1010.0 Tempo = 60/beart = 60/(48*MTC) = 60/48*(1/Fosc * 2 * Precaler* Divide) 誤差 -0.23% -0.03% 0.04% 0.11% 0.04% -0.17% -0.37% 0.11% 0.04% -0.30% 0.11% -0.37% 0.04% -0.40% -0.17% 0.11% -0.37% -0.37% 0.11% -0.51% 0.04% 0.14% -0.30% -0.47% -0.37% 0.00% -0.37% -0.37% 0.31% 0.14% -0.71% 0.48% -0.37% 0.14% -0.37% 0.14% -1.04% -1.54% -1.38% -0.54% 1.00%