20.07.2015 Views

M16C/62 Group DATASHEET

M16C/62 Group DATASHEET

M16C/62 Group DATASHEET

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Clock asynchronous serial I/O (UART) modeMitsubishi microcomputers<strong>M16C</strong> / <strong>62</strong> <strong>Group</strong>SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER• Example of receive timing when transfer data is 8 bits long (parity disabled, one stop bit)BRGi countsource“1”Receive enable bit“0”RxDiStart bitSampled “L”Transfer clockReception triggered when transfer clockReceivecomplete flagRTSi“1”“0”“H”“L”is generated by falling edge of start bitReceive interrupt “1”request bit “0”D0D1Receive data taken inD7Stop bitTransferred from UARTi receive register toUARTi receive buffer registerThe above timing applies to the following settings :•Parity is disabled.•One stop bit.•RTS function is selected.Cleared to “0” when interrupt request is accepted, or cleared by softwareFigure 1.19.18. Typical receive timing in UART mode_______ _______(a) Separate CTS/RTS pins function (UART0)_______ ______________Setting the CTS/RTS separate bit (bit 6 of address 03B016) to "1" inputs/outputs the CTS signal and_______ _______ _______ _______ _______RTS signal from different pins. Choose which to use, CTS or RTS, by use of the CTS/RTS functionselect bit (bit 2 of address 03A416). This function is effective in UART0 only. With this function cho-_______ ______________ _______sen, the user cannot use the CTS/RTS function. Set "0" both to the CTS/RTS function select bit (bit_______ _______2 of address 03AC16) and to the CTS/RTS disable bit (bit 4 of address 03AC16).MicrocomputerTXD0 (P63)RXD0 (P<strong>62</strong>)INOUTICRTS0 (P60)CTS0 (P64)CTSRTSNote : The user cannot use CTS and RTS at the same time._______ _______Figure 1.19.19. The separate CTS/RTS pins function usage(b) Sleep mode (UART0, UART1)This mode is used to transfer data between specific microcomputers among multiple microcomputersconnected using UARTi. The sleep mode is selected when the sleep select bit (bit 7 at addresses03A016, 03A816) is set to “1” during reception. In this mode, the unit performs receive operation whenthe MSB of the received data = “1” and does not perform receive operation when the MSB = “0”.134

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

Saved successfully!

Ooh no, something went wrong!