Explanation of SPI, IIC, IIS, UART, CAN, SDIO, Gpio

Source: Internet
Author: User
Tags sdo

SPI (Serial peripheral Interface: Serial Peripheral Interface );

SpiThe bus consists of three signal lines: serial clock(SCLK), serial data output(SDO), serial data input(SDI). SPIThe bus can implement multipleSPIdevices are connected to each other. ProvideSPIof the serial clockSPIdevice isSPIhost or main device(Master), other devices areSPIslave or slave device(Slave). The master-slave device can achieve full-duplex communication, and when there are multiple slave devices, you can also add a line from the device selection.
If you use a genericIOPort SimulationSPIbus, there must be an output port(SDO), an input port(SDI), the other port depends on the type of equipment to be implemented, if you want to achieve master-slave equipment, you need to input output, if only to achieve the main equipment, you need to export, if only to achieve from the device, you only need to input the mouth.

Iic

The IIC (Inter-Integrated Circuit) Bus is a two-wire serial bus developed by PHILIPS to connect a microcontroller and its peripherals.

The I²C bus transmits information between the bus and the device with two lines (SDA and SCL) , Serial communication between the microcontroller and external devices, or bidirectional data transfer between the master and slave devices.

I²c is the OD output, most of the i²c are 2 - wire (clock and data), generally used to transmit control signals.

Iis

IIS(inter-ic sound bus) is a bus standard developed by Philips for audio data transmission between digital audio devices.

Most of the i2s are 3 - wire (in addition to clocks and data, there is a selection signal for the left and right channels), andthei2s is mainly used to transmit audio signals.

Uart

UART (Universal asynchronous Receiver transmitter: Universal Asynchronous Transceiver ).

UART Bus is asynchronous serial port, it is generally more complex than the first two synchronous serial port structure, generally by the baud rate generator ( The baud rate generated is equal to the transmission baud rate of three times ) ,UART receiver,UART transmitter composed of two wires on the hardware, one for sending, and one for receiving.

CAN
CAN, all called"Controller area Network", namely the Controller area network, is one of the most widely used fieldbus in the world. Initially,CANdesigned as a microcontroller in the automotive environment to communicate, in-vehicle electronic control devicesECUexchange of information between them, forming an electronic control network for automobiles. For example: engine management system, transmission controller, instrument equipment, electronic backbone system, are embeddedCANcontrol device.
One byCANin a single network consisting of buses, it is theoretically possible to hook up countless nodes. In practical applications, the number of nodes is limited by the electrical characteristics of the network hardware. For example, when you usePhilips p82c250as aCANtransceiver, the same network is allowed to hook up thea node. CANcan provide up to1mbit/sdata rates, which makes real-time control very easy. In addition, the error verification features of the hardware also enhance theCANability to resist electromagnetic interference.

GPIO
gpio  (General purpose input output / output ) or bus extender using industry standard i²c , smbus™ or spi™ interface simplifies i/o Port extension. When the microcontroller or chipset does not have enough i/o port, or when the system   Need to use remote serial communication or control, gpio The product can provide additional control and monitoring capabilities.

Each GPIO Port can be individually configured as input or output by software. Maxim 's gpio product line includes 8 -Port-to - Port Gpio with push-pull or open-drain output. Available in a miniature 3mm x 3mm QFN package.

  GPIO The advantages ( Port extender )

Low power consumption:GPIO has lower power loss ( approximately ΜC , the operating current of 100μA).

Integrated IIC Slave interface:GPIO built- in IIC slave interface, even in standby mode can work at full speed.

Small package:GPIO Device provides minimum package size ―3mm x 3mm qfn!

Low cost: You don't have to pay for unused features!

Quick to market: No extra code, no documentation, no maintenance work required!

Flexible light control: Built-in multi-channel high-resolution PWM output.

Response time can be predetermined: Shorten or determine the response time between external events and interrupts.

Better lighting effect: Matched current output ensures uniform display brightness.

Simple wiring: Only 2 IIC bus or 3 SPI bus required

Explanation of SPI, IIC, IIS, UART, CAN, SDIO, Gpio

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.