Special Mode 3 (Iebus Mode)(Uart2) - Renesas M16C/29 Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for M16C/29 Series:
Table of Contents

Advertisement

M16C/29 Group

14.1.5 Special Mode 3 (IEBus mode)(UART2)

In this mode, one bit of IEBus is approximated with one byte of UART mode waveform.
Table 14.1.5.1 lists the registers used in IEBus mode and the register values set. Figure 14.1.5.1 shows
the functions of bus collision detect function related bits.
If the TxD2 pin output level and RxD2 pin input level do not match, a UART2 bus collision detect interrupt
request is generated.
Use the IFSR2A register's IFSR26 and IFSR27 bits to enable the UART0/UART1 bus collision detect
function.
Table 14.1.5.1. Registers to Be Used and Settings in IEBus Mode
Register
Bit
U2TB
0 to 8
U2RB(Note) 0 to 8
OER,FER,PER,SUM Error flag
U2BRG
0 to 7
U2MR
SMD2 to SMD0
CKDIR
STPS
PRY
PRYE
IOPOL
U2C0
CLK1, CLK0
CRS
TXEPT
CRD
NCH
CKPOL
UFORM
U2C1
TE
TI
RE
RI
U2IRS
U2RRM,
U2LCH, U2ERE
U2SMR
0 to 3, 7
ABSCS
ACSE
SSS
U2SMR2
0 to 7
U2SMR3
0 to 7
U2SMR4
0 to 7
Note : Not all register bits are described above. Set those bits to "0" when writing to the registers in IEBus
mode.
Rev.1.00 Nov 01,2004
REJ09B0101-0100Z
Set transmission data
Reception data can be read
Set a transfer rate
Set to '110
'
2
Select the internal clock or external clock
Set to "0"
Invalid because PRYE=0
Set to "0"
Select the TxD/RxD input/output polarity
Select the count source for the U2BRG register
Invalid because CRD=1
Transmit register empty flag
Set to "1"
Select TxD2 pin output mode
Set to "0"
Set to "0"
Set this bit to "1" to enable transmission
Transmit buffer empty flag
Set this bit to "1" to enable reception
Reception complete flag
Select the source of UART2 transmit interrupt
Set to "0"
Set to "0"
Select the sampling timing at which to detect a bus collision
Set this bit to "1" to use the auto clear function of transmit enable bit
Select the transmit start condition
Set to "0"
Set to "0"
Set to "0"
page 202 of 402
14.1.5 Special Mode 3 (IEBus Mode) (UART2)
Function

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM16c/tiny series

Table of Contents