EasyManua.ls Logo

Allwinner A20 - SPI Special Requirement

Allwinner A20
812 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
A20 User Manual (Revision 1.2) Copyright © 2013 Allwinner Technology Co., Ltd. All Rights Reserved. Page 606 / 812
6.3.5. SPI Special Requirement
6.3.5.1. SPI PIN LIST
The direction of SPI pin is different in two work modes: Master Mode and Slave Mode.
Port Name
Width
Direction(M)
Direction(S)
Description
SPI_SCLK
1
OUT
IN
SPI Clock
SPI_MOSI
1
OUT
IN
SPI Master Output Slave Input
Data Signal
SPI_MISO
1
IN
OUT
SPI Master Input Slave Output
Data Signal
SPI_SS[3:0]
4
OUT
IN
SPI Chip Select Signal
Notes: SPI0 module has four chip select signals and SPI1 module has only one chip select signal for
pin saving.
6.3.5.2. SPI MODULE CLOCK SOURCE AND FREQUENCY
The SPI module uses two clock source: AHB_CLK and SPI_CLK. The SPI_SCLK can in the range
from 3Khz to 100 MHZ and AHB_CLK >= 2xSPI_SCLK.
Clock Name
Description
Requirement
AHB_CLK
AHB bus clock, as the clock source of SPI
module
AHB_CLK >= 2xSPI_SCLK
SPI_CLK
SPI serial input clock

Table of Contents