M38513E4FP#U0 Renesas Electronics America, M38513E4FP#U0 Datasheet - Page 21

IC 740 MCU ROM 16K 42SSOP

M38513E4FP#U0

Manufacturer Part Number
M38513E4FP#U0
Description
IC 740 MCU ROM 16K 42SSOP
Manufacturer
Renesas Electronics America
Series
740/38000r
Datasheets

Specifications of M38513E4FP#U0

Core Processor
740
Core Size
8-Bit
Speed
8MHz
Connectivity
SIO, UART/USART
Peripherals
PWM, WDT
Number Of I /o
34
Program Memory Size
16KB (16K x 8)
Program Memory Type
OTP
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
-20°C ~ 85°C
Package / Case
42-SSOP
Package
42SSOP
Family Name
740
Maximum Speed
8 MHz
Operating Supply Voltage
5 V
Data Bus Width
8 Bit
Number Of Programmable I/os
34
Interface Type
I2C-BUS
On-chip Adc
5-chx10-bit
Number Of Timers
4
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Fig. 17 Operation of UART serial I/O function
[Transmit Buffer Register/Receive Buffer
Register (TB/RB)] 0018
The transmit buffer register and the receive buffer register are lo-
cated at the same address. The transmit buffer is write-only and
the receive buffer is read-only. If a character bit length is 7 bits, the
MSB of data stored in the receive buffer is “0”.
[Serial I/O Status Register (SIOSTS)] 0019
The read-only serial I/O status register consists of seven flags
(bits 0 to 6) which indicate the operating status of the serial I/O
function and various errors.
Three of the flags (bits 4 to 6) are valid only in UART mode.
The receive buffer full flag (bit 1) is cleared to “0” when the receive
buffer register is read.
If there is an error, it is detected at the same time that data is
transferred from the receive shift register to the receive buffer reg-
ister, and the receive buffer full flag is set. A write to the serial I/O
status register clears all the error flags OE, PE, FE, and SE (bit 3
to bit 6, respectively). Writing “0” to the serial I/O enable bit SIOE
(bit 7 of the serial I/O control register) also clears all the status
flags, including the error flags.
Bits 0 to 6 of the serial I/O status register are initialized to “0” at re-
set, but if the transmit enable bit (bit 4) of the serial I/O control
register has been set to “1”, the transmit shift completion flag (bit
2) and the transmit buffer empty flag (bit 0) become “1”.
18
Transmit or receive clock
Transmit buffer write
Receive buffer read
Serial output T
Serial input R
Notes
1: Error flag detection occurs at the same time that the RBF flag becomes “1” (at 1st stop bit, during reception).
2: As the transmit interrupt (TI), when either the TBE or TSC flag becomes “1,” can be selected to occur depending on the setting of the transmit
3: The receive interrupt (RI) is set when the RBF flag becomes “1.”
4: After data is written to the transmit buffer when TSC=1, 0.5 to 1.5 cycles of the data shift cycle is necessary until changing to TSC=0.
signal
signal
interrupt source selection bit (TIC) of the serial I/O control register.
X
X
D
D
TBE=0
TSC=0
TBE=1
16
ST
ST
D
D
0
0
TBE=0
D
D
1
1
1 start bit
7 or 8 data bit
1 or 0 parity bit
1 or 2 stop bit (s)
16
1. When using the serial I/O, clear the I
bit to “0” or the S
2. When setting the transmit enable bit of serial I/O to “1”, the
[Serial I/O Control Register (SIOCON)] 001A
The serial I/O control register consists of eight control bits for the
serial I/O function.
[UART Control Register (UARTCON)] 001B
The UART control register consists of four control bits (bits 0 to 3)
which are valid when asynchronous serial I/O is selected and set
the data format of an data transfer and one bit (bit 4) which is al-
ways valid and sets the output structure of the P2
[Baud Rate Generator (BRG)] 001C
The baud rate generator determines the baud rate for serial trans-
fer.
The baud rate generator divides the frequency of the count source
by 1/(n + 1), where n is the value written to the baud rate genera-
tor.
RBF=1
SP
Notes on Serial I/O
serial I/O transmit interrupt request bit is automatically set to “1”.
When not requiring the interrupt occurrence synchronized with
the transmission enalbed, take the following sequence.
SP
TBE=1
more instructions have been executed.
Set the serial I/O transmit interrupt enable bit to “0” (disabled).
Set the transmit enable bit to “1”.
Set the serial I/O transmit interrupt request bit to “0” after 1 or
Set the serial I/O transmit interrupt enable bit to “1” (enabled).
ST
ST
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
D
D
0
CL
0
/SDA interrupt pin selection bit to “0”.
RBF=0
MITSUBISHI MICROCOMPUTERS
D
D
1
1
Generated at 2nd bit in 2-stop-bit mode
(Built-in 16 KB ROM)
2
3851 Group
C-BUS interface enable
5
SP
TSC=1
RBF=1
SP
/T
16
X
D pin.
16
16

Related parts for M38513E4FP#U0