English
Language : 

S128 Datasheet, PDF (8/107 Pages) Renesas Technology Corp – Microcontroller
S128
1. Overview
Table 1.7
Communication interfaces (2 of 2)
Feature
Functional description
I2C Bus interface (IIC)
A 2-channel IIC module conforms with and provides a subset of the NXP I2C bus (Inter-
Integrated Circuit bus) interface functions. See section 29, I2C Bus Interface (IIC) in User’s
Manual.
Serial Peripheral Interface (SPI)
Two independent Serial Peripheral Interface (SPI) channels are capable of high-speed, full-
duplex synchronous serial communications with multiple processors and peripheral devices.
See section 31, Serial Peripheral Interface (SPI) in User’s Manual.
CAN Module (CAN)
The Controller Area Network (CAN) module provides functionality to receive and transmit data
using a message-based protocol between multiple slaves and masters in electromagnetically
noisy applications.
The CAN module complies with the ISO 11898-1 (CAN 2.0A/CAN 2.0B) standard and supports
up to 32 mailboxes, which can be configured for transmission or reception in normal mailbox
and FIFO modes. Both standard (11-bit) and extended (29-bit) messaging formats are
supported. See section 30, Controller Area Network (CAN) in User’s Manual.
USB 2.0 Full-Speed Module (USBFS)
The USBFS is a USB controller that can operate as a host controller or device controller. The
module supports full-speed and low-speed transfer as defined in the Universal Serial Bus
Specification 2.0. The module has an internal USB transceiver and supports all of the transfer
types defined in the Universal Serial Bus Specification 2.0.
The USB has buffer memory for data transfer, providing a maximum of 5 pipes. PIPE0 and
PIPE4 to PIPE7 can be assigned any endpoint number based on the peripheral devices used
for communication or based on the user system.
The MCU supports revision 1.2 of the Battery Charging Specification. Because the MCU can
be powered at 5 V, the USB LDO regulator provides the internal USB transceiver power supply
at 3.3 V. See section 26, USB 2.0 Full-Speed Module (USBFS) in User’s Manual.
Table 1.8
Analog
Feature
14-bit A/D Converter (ADC14)
8-bit D/A Converter (DAC8)
Temperature Sensor (TSN)
High-Speed Analog Comparator
(ACMPHS)
Low-Power Analog Comparator
(ACMPLP)
Operational Amplifier (OPAMP)
Functional description
A 14-bit successive approximation A/D converter is provided. Up to 21 analog input channels
are selectable. Temperature sensor output and internal reference voltage are selectable for
conversion. The A/D conversion accuracy is selectable from 12-bit and 14-bit conversion
making it possible to optimize the tradeoff between speed and resolution in generating a digital
value. See section 33, 14-Bit A/D Converter (ADC14) in User’s Manual.
An 8-bit D/A converter (DAC8) is provided. See section 34, 8-Bit D/A Converter (DAC8) in
User’s Manual.
The on-chip temperature sensor determines and monitors the die temperature for reliable
operation of the device. The sensor outputs a voltage directly proportional to the die
temperature, and the relationship between the die temperature and the output voltage is linear.
The output voltage is provided to the ADC for conversion and can be further used by the end
application. See section 35, Temperature Sensor (TSN) in User’s Manual.
The analog comparator compares a test voltage with a reference voltage and to provide a
digital output based on the result of conversion. Both the test voltage and the reference voltage
can be provided to the ACMPHS from internal sources (D/A converter output) and an external
source.
Such flexibility is useful in applications that require go/no-go comparisons to be performed
between analog signals without necessarily requiring A/D conversion. See section 37, High-
Speed Analog Comparator (ACMPHS) in User’s Manual.
The analog comparator compares a reference input voltage and analog input voltage. The
comparison result can be read by software and also be output externally. The reference input
voltage can be selected from either an input to the CMPREFi (i = 0, 1) pin, an output from
internal D/A converter, or from the internal reference voltage (Vref) generated internally in the
MCU.
The ACMPLP response speed can be set before starting an operation. Setting high-speed
mode decreases the response delay time, but increases current consumption. Setting low-
speed mode increases the response delay time, but decreases current consumption. See
section 38, Low-Power Analog Comparator (ACMPLP) in User’s Manual.
The operational amplifier amplifies small analog input voltages and outputs the amplified
voltages. A total of four differential operational amplifier units with two input pins and one
output pin are provided. See section 36, Operational Amplifier (OPAMP) in User’s Manual.
R01DS0309EU0100 Rev.1.00
Mar 10, 2017
Page 8 of 107