SPI Protocol Summary

Source: Internet
Author: User

Four modes of operation:

Mode 0 cpol=0, cpha=0
Mode 1 cpol=0, cpha=1
Mode 2 cpol=1, cpha=0
Mode 3 cpol=1, cpha=1

Frequent use of Mode0 and Mode3, i.e. sampling and latching of data on rising edges

COPL: Clock polarity. Represents the idle state level in the absence of a data transfer time clock.

0:SCK PIN in idle state is low

1:SCK PIN in idle state is high

Cpha: Clock phase. Represents the sampling at the edge of the first few clocks.

The first edge of the 0:sck clock is sampled at the data bit, and the data is latched on the first clock edge.

The second edge of the 1:sck clock is sampled at the data bit, and the data is latched at the edge of the second clock.

SPI Protocol Summary

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.