21.07.2015 Views

M16C User Manual.pdf

M16C User Manual.pdf

M16C User Manual.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

UARTMitsubishi microcomputers<strong>M16C</strong> / 62 GroupSINGLE-CHIP 16-BIT CMOS MICROCOMPUTER(e) Bus collision detection functionThis function is to sample the output level of the TxD pin and the input level of the RxD pin at therising edge of the transfer clock; if their values are different, then an interrupt request occurs.The following are examples in which functions (a) to (e) are chosen:_______• Transmission WITH: CTS function, WITHOUT: other functions ............................................... P358_______• Reception WITH: RTS function, WITHOUT: other functions .................................................... P362Also, the SIM interface is used by adding some extra settings in UART2's clock-asynchronous serialI/O mode. Direct or inverse format is selected by connecting SIM card.• Transmission WITH: direct format ............................................................................................ P366• Reception WITH: direct format ................................................................................................. P370(6) Input to the serial I/O and the direction registerTo input an external signal to the serial I/O, set the direction register of the relevant port to input.(7) Pins related to the serial I/O_________ _________ _________________• CTS0, CTS1, CTS2 pins :Input pins for the CTS function_________ _________ ________________• RTS0, RTS1, RTS2 pins :Output pins for the RTS function• CLK0, CLK1 pins:Input pins for the transfer clock• RxD0, RxD1, RxD2 pins :Input pins for data• TxD0, TxD1, TxD2 pins :Output pins for dataSince TxD2 pin is N-channel open drain, this pin needs pull-up resistor.351

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!