
Serial mode is used not just for communication with switches and from ON/OFF sensors, but also by the GPIO to output software-generated motor-drive signals, LED flashing signals, and more.īuilt-in UART Enables Easy Serial Communication In today's world, most MCU-to-peripheral connections are serial. With serial parallel, we send the eight data bits one after another, over the same single line.įigure 1: Parallel and Serial CommunicationĬlearly, serial communication requires fewer pins and wires. If we use parallel transfer, we need one data line for each bit. To sum up: assume that we wish to send a single text character, which requires that we send an eight- bit char-type value. On the RX63N, these conversions are handled by the SCI (serial communications interface). This means that the MCU must also handle the necessary conversions: "serial-to-parallel" conversion of data received from the sensor, and "parallel-to-serial" conversion of data being sent out to the sensor. (See Figure 1, right) Note, however, that the MCU uses parallel communication for its internal processing and communication.

Because the bits are now sent in series, we call this serial communication. We can send the bits one at a time over a single data line. Is there a way to accomplish the same thing using fewer lines? (See Figure 1, left) But using eight lines to connect to a single sensor is usually a waste of resources. This type of transfer is referred to as parallel, as one full byte of data is transferred at a single time along parallel lines. The MCU's built-in GPIO (general-purpose input/output) port, explained in the first session of this series, could be used to connect eight signal lines with the sensor, enabling the sensor to send eight bits of data at a time-using up eight GPIO data pins.

Consider, for example, how we might connect up a sensor. This means that the MCU must communicate with each of these units.

Serial ConnectionĪs we've discussed before, the MCU functions as the "brain" of the embedded device, whereas external peripherals units as the "hands and feet". Product Change Notifications (PCN) Search.

Renesas Ready Partner Network (Software).Communication & Computing Infrastructure.Multi-Channel Power Management ICs (PMICs).Jitter Attenuators with Frequency Translation.R-Car Automotive System-On-Chips (SoCs).RX 32-bit Performance / Efficiency MCUs.
