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.

Clock-Synchronous Serial I/OMitsubishi microcomputers<strong>M16C</strong> / 62 GroupSINGLE-CHIP 16-BIT CMOS MICROCOMPUTERExample of wiringMicrocomputerCLKiRXDiRTSiTransmitter side ICCLKTXDPortExample of operationReceive enable “1”bit (RE) “0”(1) Reception enabled(2) Start reception(3) Reception is complete(4) Read of reception dataTransmit enablebit (TE)Transmit bufferempty flag (Tl)RTSiCLKiRxDi“1”“0”“1”“0”“H”“L”Dummy data is set in UARTi transmit buffer registerTransferred from UARTi transmit buffer register to UARTi transmit register1 / fEXTReception data is taken inD0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5Receive completeflag (Rl)“1”“0”Transferred from UARTi receive registerto UARTi receive buffer registerRead out from UARTi receive buffer registerReceive interrupt “1”request bit (IR) “0”Cleared to “0” when interrupt request is accepted, or cleared by softwareShown in ( ) are bit symbols.The above timing applies to the following settings:• External clock is selected.• RTS function is selected.• CLK polarity select bit = “0”.fEXT: frequency of external clockMake sure that the following conditions are met whenthe CLKi pin input =“H” before data reception• Transmit enable bit → “1”• Receive enable bit → “1”• Dummy data write to UARTi transmit buffer registerFigure 2.4.13. Operation timing of reception in clock-synchronous serial I/O mode343

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

Saved successfully!

Ooh no, something went wrong!