
479
CHAPTER 17 UART
Table 17.4-2 Serial Mode Register (SMR0/SMR1)
Bit name
Function
bit7,
bit6
MD1, MD0: Operation
mode selection bits
•
These bits select an operation mode.
(Note)
Operation mode 1 (multiprocessor mode) can be used only from the master
system during master-slave communication. UART cannot be used from the
slave system because it has no address/data detection function during reception.
bit5
to
bit3
CS2 to CS0:
Clock selection bits
•
These bits select the baud rate clock source. When the dedicated baud rate
generator is selected, the baud rate is determined by the value of these bits.
•
When the dedicated baud rate generator is selected, six baud rates can be
selected for asynchronous/synchronous transfer mode. With the baud rate
generated by internal and external timer, there are totally eight baud rate
selections.
•
Input clocks can be selected from external clocks (SCK0/SCK1 pin), 16-bit
reload timer 0, and the dedicated baud rate generator.
bit2
RST:
UART reset bit
•
Writing "0" to this bit has no effect.
•
Writing "1" to this bit resets the UART.
•
Always read as "0".
bit1
SCKE:
Serial clock output
enable bit
•
This bit controls the serial clock input-output ports.
•
When this bit is "0", the P42/SCK0 and P62/SCK1 pins operate as general input-
output ports (P42 and P62) or serial clock input pins. When this bit is "1", the
pins operate as serial clock output pins.
(Note)
•
When using the P42/SCK0 and P62/SCK1 pins as serial clock input (SCKE =
0) pins, set the P40 and P62 as input ports. Also, select external clocks
(SMR0/SMR1: CS2 to CS0 = 111
B
) using the clock selection bits.
•
When using the pins as serial clock output (SCKE = 1) pins, select clocks
other than external clocks (other than SMR0/SMR1: CS2 to CS0 = 111
B
).
(Reference)
When the SCK0/SCK1 pin is assigned to serial clock output (SCKE = 1), it
functions as the serial clock output pin regardless of the status of the general
input-output ports.
bit0
SOE:
Serial data output
enable bit
•
This bit enables or disables the output of serial data.
•
When this bit is "0", the P41/SOT0 and P61/SOT1 pins operate as general input-
output ports (P41 and P61). When this bit is "1", the P41/SOT0 and P61/SOT1
pins operate as serial data output pins (SOT0/SOT1).
(Reference)
When serial data is output (SOE = 1), the enabled, the P41/SOT0 and P61/SOT1
pins function as SOT0/SOT1 pins regardless of the status of general input-
output ports (P41 and P61).
Содержание MB90460 Series
Страница 1: ...The following document contains information on Cypress products ...
Страница 3: ......
Страница 5: ......
Страница 9: ...iv ...
Страница 41: ...22 CHAPTER 1 OVERVIEW ...
Страница 45: ...26 CHAPTER 2 NOTES ON HANDLING DEVICES ...
Страница 83: ...64 CHAPTER 3 CPU ...
Страница 95: ...76 CHAPTER 4 RESET ...
Страница 107: ...88 CHAPTER 5 CLOCK ...
Страница 131: ...112 CHAPTER 6 LOW POWER CONSUMPTION MODE ...
Страница 175: ...156 CHAPTER 7 INTERRUPT ...
Страница 181: ...162 CHAPTER 8 MODE SETTING ...
Страница 223: ...204 CHAPTER 9 I O PORT ...
Страница 237: ...218 CHAPTER 10 TIME BASE TIMER ...
Страница 247: ...228 CHAPTER 11 WATCHDOG TIMER ...
Страница 275: ...256 CHAPTER 12 16 BIT RELOAD TIMER ...
Страница 373: ...354 CHAPTER 14 MULTI FUNCTIONAL TIMER ...
Страница 485: ...466 CHAPTER 16 PWC Timer ...
Страница 531: ...512 CHAPTER 17 UART ...
Страница 559: ...540 CHAPTER 19 DELAYED INTERRUPT GENERATOR MODULE ...
Страница 589: ...570 CHAPTER 20 8 10 BIT A D CONVERTER ...
Страница 601: ...582 CHAPTER 21 ROM CORRECTION FUNCTION ...
Страница 633: ...614 CHAPTER 23 512K 1024K BIT FLASH MEMORY ...
Страница 645: ...626 CHAPTER 24 EXAMPLE OF F2 MC 16LX MB90F462 F462A F463A CONNECTION FOR SERIAL WRITING ...
Страница 715: ...696 APPENDIX ...
Страница 716: ...697 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 739: ......