参数资料
型号: S1C17554B00E10L
元件分类: 微控制器/微处理器
英文描述: 16-BIT, FLASH, 24 MHz, RISC MICROCONTROLLER, PBGA48
封装: 3.137 X 3.137 MM, 0.72 MM HEIGHT, 0.40 MM PITCH, WCSP-48
文件页数: 63/318页
文件大小: 2643K
代理商: S1C17554B00E10L
第1页第2页第3页第4页第5页第6页第7页第8页第9页第10页第11页第12页第13页第14页第15页第16页第17页第18页第19页第20页第21页第22页第23页第24页第25页第26页第27页第28页第29页第30页第31页第32页第33页第34页第35页第36页第37页第38页第39页第40页第41页第42页第43页第44页第45页第46页第47页第48页第49页第50页第51页第52页第53页第54页第55页第56页第57页第58页第59页第60页第61页第62页当前第63页第64页第65页第66页第67页第68页第69页第70页第71页第72页第73页第74页第75页第76页第77页第78页第79页第80页第81页第82页第83页第84页第85页第86页第87页第88页第89页第90页第91页第92页第93页第94页第95页第96页第97页第98页第99页第100页第101页第102页第103页第104页第105页第106页第107页第108页第109页第110页第111页第112页第113页第114页第115页第116页第117页第118页第119页第120页第121页第122页第123页第124页第125页第126页第127页第128页第129页第130页第131页第132页第133页第134页第135页第136页第137页第138页第139页第140页第141页第142页第143页第144页第145页第146页第147页第148页第149页第150页第151页第152页第153页第154页第155页第156页第157页第158页第159页第160页第161页第162页第163页第164页第165页第166页第167页第168页第169页第170页第171页第172页第173页第174页第175页第176页第177页第178页第179页第180页第181页第182页第183页第184页第185页第186页第187页第188页第189页第190页第191页第192页第193页第194页第195页第196页第197页第198页第199页第200页第201页第202页第203页第204页第205页第206页第207页第208页第209页第210页第211页第212页第213页第214页第215页第216页第217页第218页第219页第220页第221页第222页第223页第224页第225页第226页第227页第228页第229页第230页第231页第232页第233页第234页第235页第236页第237页第238页第239页第240页第241页第242页第243页第244页第245页第246页第247页第248页第249页第250页第251页第252页第253页第254页第255页第256页第257页第258页第259页第260页第261页第262页第263页第264页第265页第266页第267页第268页第269页第270页第271页第272页第273页第274页第275页第276页第277页第278页第279页第280页第281页第282页第283页第284页第285页第286页第287页第288页第289页第290页第291页第292页第293页第294页第295页第296页第297页第298页第299页第300页第301页第302页第303页第304页第305页第306页第307页第308页第309页第310页第311页第312页第313页第314页第315页第316页第317页第318页
16 SPI
S1C17554/564 TECHNICAL MANUAL
Seiko Epson Corporation
16-3
SPICLKx (CPOL = 1, CPHA = 1)
SPICLKx (CPOL = 1, CPHA = 0)
SPICLKx (CPOL = 0, CPHA = 1)
SPICLKx (CPOL = 0, CPHA = 0)
SDIx/SDOx
Fetching received data
into shift register
D7 (MSB)
D0 (LSB)
4.1 Clock and Data Transfer Timing
Figure 16.
MSB first/LSB first settings
Use MLSB/SPI_CTLx register to select whether the data MSB or LSB is input/output first.
MSB first is selected when MLSB is 0 (default); LSB first is selected when MLSB is 1.
Data Transfer Control
16.5
Make the following settings before starting data transfers.
(1) Select the SPI clock source. (See Section 16.3.)
(2) Select master mode or slave mode. (See Section 16.4.)
(3) Set clock conditions. (See Section 16.4.)
(4) Set the interrupt conditions to use SPI interrupts. (See Section 16.6.)
Note: Make sure the SPI is halted (SPEN/SPI_CTLx register = 0) before setting the above conditions.
Enabling data transfers
Set SPEN/SPI_CTLx register to 1 to enable SPI operations. This enables SPI transfers and clock input/output.
Note: Do not set SPEN to 0 when the SPI module is transferring data.
Data transmission control
To start data transmission, write the transmit data to SPTDB[7:0]/SPI_TXDx register.
The data is written to the transmit data buffer, and the SPI module starts sending data. The buffer data is sent
to the transmit shift register. In master mode, the module starts clock output from the SPICLKx pin. In slave
mode, the module awaits clock input from the SPICLKx pin. The data in the shift register is shifted in sequence
at the clock rising or falling edge, as determined by CPHA/SPI_CTLx register and CPOL/SPI_CTLx register (see
Figure 16.4.1) and sent from the SDOx pin.
The SPI module includes two status flags for transfer control: SPTBE/SPI_STx register and SPBSY/SPI_STx
register.
The SPTBE flag indicates the transmit data buffer status. This flag switches to 0 when the application program
writes data to the SPI_TXDx register (transmit data buffer) and reverts to 1 when the buffer data is sent to the
transmit shift register. An interrupt can be generated when this flag is set to 1 (see Section 16.6). Subsequent
data is sent after confirming that the transmit data buffer is empty either by using this interrupt or by inspecting
the SPTBE flag. The transmit data buffer size is 1 byte, but a shift register is provided separately to allow data
to be written while the previous data is being sent. Always confirm that the transmit data buffer is empty before
writing transmit data. Writing data while the SPTBE flag is 0 will overwrite earlier transmit data inside the
transmit data buffer.
In master mode, the SPBSY flag indicates the shift register status. This flag switches to 1 when transmit data is
loaded from the transmit data buffer to the shift register and reverts to 0 once the data is sent. Read this flag to
check whether the SPI module is operating or at standby.
In slave mode, SPBSY flag indicates the SPI slave selection signal (#SPISSx pin) status. The flag is set to 1
when the SPI module is selected as a slave module and is set to 0 when the module is not selected.
相关PDF资料
PDF描述
S1C17554D00E10H 16-BIT, FLASH, 24 MHz, RISC MICROCONTROLLER, UUC
S1C17554F00E10P 16-BIT, FLASH, 24 MHz, RISC MICROCONTROLLER, PQFP64
S1C17564D00E199 16-BIT, FLASH, 24 MHz, RISC MICROCONTROLLER, UUC
S1C17651B00E199 16-BIT, FLASH, 2 MHz, RISC MICROCONTROLLER, PBGA
SPC563M54L3COBR 32-BIT, FLASH, 64 MHz, MICROCONTROLLER, PQFP100
相关代理商/技术参数
参数描述
S1C17555 制造商:EPSON 制造商全称:EPSON 功能描述:16-bit Single Chip Microcontroller
S1C17564 制造商:EPSON 制造商全称:EPSON 功能描述:16-bit Single Chip Microcontroller
S1C17564D111000 制造商:Epson Electronics America Inc 功能描述:16-bit, 128KB Flash (OSC3 = Ceramic)
S1C17564F111100 功能描述:显示驱动器和控制器 16-bit, 128KB Flash RoHS:否 制造商:Panasonic Electronic Components 工作电源电压:2.7 V to 5.5 V 最大工作温度: 安装风格:SMD/SMT 封装 / 箱体:QFN-44 封装:Reel
S1C17565 制造商:EPSON 制造商全称:EPSON 功能描述:16-bit Single Chip Microcontroller