21.07.2015 Views

M16C User Manual.pdf

M16C User Manual.pdf

M16C User Manual.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Clock asynchronous serial I/O (UART) modeMitsubishi microcomputers<strong>M16C</strong> / 62 GroupSINGLE-CHIP 16-BIT CMOS MICROCOMPUTER(a) Function for outputting a parity error signalWith the error signal output enable bit (bit 7 of address 037D16) assigned “1”, you can output an “L”level from the TxD2 pin when a parity error is detected. In step with this function, the generation timingof a transmission completion interrupt changes to the detection timing of a parity error signal. Figure1.19.23 shows the output timing of the parity error signal.• LSB firstTransferclock“H”“L”RxD2“H”“L”STD0 D1 D2 D3 D4 D5 D6 D7 P SPTxD2“H”“L”Hi-ZReceivecomplete flag“1”“0”ST : Start bitP : Even ParitySP : Stop bitFigure 1.19.23. Output timing of the parity error signal(b) Direct format/inverse formatConnecting the SIM card allows you to switch between direct format and inverse format. If you choosethe direct format, D0 data is output from TxD2. If you choose the inverse format, D7 data is invertedand output from TxD2.Figure 1.19.24 shows the SIM interface format.TransferclcckTxD2(direct)D0 D1 D2 D3 D4 D5 D6 D7 PTxD2(inverse)D7 D6 D5 D4 D3 D2 D1 D0 PP : Even parityFigure 1.19.24. SIM interface format139

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

Saved successfully!

Ooh no, something went wrong!