Download IOWizard V.1.30 User`s Manual

Transcript
 14
SI/O4 – Transfer Clock Period
CPU Clock:
On-chip oscillator
1MHz
Main clock
20MHz
Sub clock
32768Hz
PLL clock
20MHz
Internal Clock Source:
No division
Divide by 2
Divide by 8
Divide by 32
Formula:
s4brg+1 = (System Clock /Internal Clock Source /2) x Transfer Clock Period entered
Example to calculate value of s4brg:
Desired transfer clock period value entered = 25us
Based on the formula above, if main clock is chosen and BRG clock select is divide by
8:
s4brg+1 = (System Clock / Internal Clock Source /2) x Transfer Clock Period entered
s4brg+1 = (20MHz / 8 / 2) x 25us
s4brg+1 = 31.25
s4brg = 31.25 – 1 = 30.25 ≈ 30
5.5
Error Message Table for H8 SLP Series
When an error occurs in H8/SLP Series settings, user should look up the error code number and error
description listed in the error report window from the Error Message table below. When in doubt, refer to
the table below for additional notes and advice to input the correct setting.
No.
Error Message
01 Invalid value entered at Timer C Timer value
Notes and Action
Enter value for Timer C.
Formula for Down-counter:
Timer Value entered (ms) = ((TMRC.TCC+1) x Internal Count Source/ Clock)
Formula for Up-counter:
Timer Value entered (ms) = ((256-TMRC.TCC) x Internal Count Source/ Clock)
Refer to Section 5.6 Table list no. 4 and 5 for example of timer value calculation.
02 Value entered is below minimum value Enter value for Timer C. Valid range of TMRC.TCC is 0~255.
at Timer C - Timer value
Formula for Down-counter:
Timer Value entered (ms) = ((TMRC.TCC+1) x Internal Count Source/ Clock)
Formula for Up-counter:
Timer Value entered (ms) = ((256-TMRC.TCC) x Internal Count Source/ Clock)
Refer to Section 5.6 Table list no. 4 and 5 for example of timer value calculation.
106