Use of Ss_ctl in imx6 Ecspi Config Register

Source: Internet
Author: User
Tags imx6

1. Adopt slave mode

2, SS_CTL configuration is 0

The configuration instructions for this bit in imx6 are as follows:

which

In slave Mode-an SPI burst was completed when the number of bits received in the shift register is
Equal to (BURST LENGTH + 1). Only the n least-significant bits (n = BURST length[4:0] + 1) of the
First received word is valid. All bits subsequent through received word in Rxfifo is valid.

Follow the following two sentences:

If BPW is set to 8 then the first word received is 0x00000008, and all subsequent data must be filled with one word.

If the data sent is 0x01 0x02 0x03 0x04 0x05

Just received rxfifo in the two words of 0x00000001 0x02030405

Use of Ss_ctl in imx6 Ecspi Config Register

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.