![background image](http://html.mh-extra.com/html/nec/pd78076/pd78076_user-manual_248169488.webp)
488
CHAPTER 20 SERIAL INTERFACE CHANNEL 2
When the internal clock is used as the serial clock in the 3-wire serial I/O mode, set BRGC as described
below. BRGC Setting is not required if an external serial clock is used.
(i) When the baud rate generator is not used:
Select a serial clock frequency with TPS0 through TPS3. Be sure then to set MDL0 through MDL3 to
1,1,1,1.
The serial clock frequency becomes 1/2 of the source clock frequency for the 5-bit counter.
(ii) When the baud rate generator is used:
Select a serial clock frequency with MDL0 through MDL3 and TPS0 through TPS3. Be sure then to
set MDL0 through MDL3 to 1,1,1,1.
The serial clock frequency is calculated by the following formula.
f
XX
Serial clock frequency = —————— [Hz]
2
n
x (k + 16)
f
X
: Main system clock oscillation frequency
f
XX
: Main system clock frequency (f
X
or f
X
/2)
n
: Value set in TPS0 to TPS3 (1
≤
n
≤
11)
k
: Value set in MDL0 to MDL3 (0
≤
k
≤
14)
Содержание PD78076
Страница 2: ...2 MEMO ...
Страница 12: ...12 MEMO ...
Страница 48: ...48 MEMO ...
Страница 64: ...64 MEMO ...
Страница 82: ...82 MEMO ...
Страница 100: ...100 MEMO ...
Страница 130: ...130 MEMO ...
Страница 180: ...180 MEMO ...
Страница 222: ...222 MEMO ...
Страница 248: ...248 MEMO ...
Страница 288: ...288 MEMO ...
Страница 308: ...308 MEMO ...
Страница 364: ...364 MEMO ...
Страница 494: ...494 MEMO ...
Страница 526: ...526 MEMO ...
Страница 544: ...544 MEMO ...
Страница 558: ...558 MEMO ...
Страница 580: ...580 MEMO ...
Страница 596: ...596 MEMO ...
Страница 598: ...598 MEMO ...
Страница 626: ...626 MEMO ...