参数资料
型号: S1C17554B00E10H
元件分类: 微控制器/微处理器
英文描述: 16-BIT, FLASH, 24 MHz, RISC MICROCONTROLLER, PBGA48
封装: 3.137 X 3.137 MM, 0.72 MM HEIGHT, 0.40 MM PITCH, WCSP-48
文件页数: 86/318页
文件大小: 2643K
代理商: S1C17554B00E10H
第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页
18 I2C SLAVE (I2CS)
S1C17554/564 TECHNICAL MANUAL
Seiko Epson Corporation
18-5
If data has not been written in this period, the current register value (previous transmit data) will be sent.
In this case, TXUDF/I2CS_STAT register is set to 1 to indicate that invalid data has been sent. An interrupt
can be generated when TXUDF is set to 1, so an error handling should be performed in the interrupt han-
dler routine. TXUDF is cleared by writing 1.
When the clock stretch function is enabled
When the clock stretch function has been enabled, the I2CS module pulls down the SCL1 pin to low to gen-
erate a clock stretch (wait) status until transmit data is written to the I2CS_TRNS register.
Transmit data bits are output from the SDA1 pin in sync with the SCL1 input clock sent from the master. The
MSB is output first. After the eight bits has been output, the master sends back an ACK or NAK in the ninth
clock cycle.
SDA1 (output)
SDA1 (input)
SCL1 (input)
12
89
D7
D6
D0
ACK
NAK
5.2 ACK and NAK
Figure 18.
The ACK bit indicates that the master could receive data. It is also a transmit request bit, therefore, the next
transmit data must be written in advance. Receiving an ACK generates a clock stretch status when the clock
stretch function has been enabled, so data can be written after an ACK is received.
A NAK will be returned from the master if the master could not receive data or when the master terminates data
reception. In this case a clock stretch status is not generated even if the clock stretch function has been enabled.
Read DA_NAK/I2CS_STAT register to check if an ACK is returned or if a NAK is returned. DA_NAK is set to
0 when an ACK is returned or set to 1 when a NAK is returned. An interrupt can be generated when DA_NAK
is set to 1, so an error or termination handling can be performed in the interrupt handler routine. DA_NAK is
cleared by writing 1.
The SDA line status during data transmission is input in the module and is compare with the output data. The
comparison results are set to DMS/I2CS_STAT register. DMS is set to 0 when data is output correctly. If the
SDA line status is different from the output data, DMS is set to 1. This may be caused by a low pull-up resistor
value or another device that is controlling the SDA line. An interrupt can be generated when DMS is set to 1, so
an error handling can be performed in the interrupt handler routine. DMS is cleared by writing 1.
Note: If the I2CS module has sent back a NAK as the response to the address sent by the master when
the conditions shown below are all met, the master must wait for 33 s or more before it can send
another slave address (except when the master sends the I2CS slave address again).
1. More than one slave device is connected to the I2C bus.
2. The transfer rate is set to 320 kbps or higher.
3. The asynchronous address detection function is enabled.
4. The I2CS module is placed into transfer standby state and OSC1 is used as the operating
clock (PCLK).
Data reception
The following describes a data receive procedure.
The I2CS module starts data receiving process when SELECTED is set to 1 and R/W is set to 0. The received
data bits are input from the SDA1 pin in sync with the SCL1 input clock sent from the master. When the eight-
bit data (MSB first) is received in the shift register, the received data is loaded to RDATA[7:0]/I2CS_RECV
register.
When the received data is loaded to RDATA[7:0], RXRDY/I2CS_ASTAT register is set to 1 to issue a request
to the application program to read RDATA[7:0]. An interrupt can be generated when RXRDY is set to 1, so the
received data should be read in the interrupt handler routine. RXRDY is cleared by reading the received data.
相关PDF资料
PDF描述
S1C17554B00E10M 16-BIT, FLASH, 24 MHz, RISC MICROCONTROLLER, PBGA48
S1C17554B00E10P 16-BIT, FLASH, 24 MHz, RISC MICROCONTROLLER, PBGA48
S1C17554B00E10R 16-BIT, FLASH, 24 MHz, RISC MICROCONTROLLER, PBGA48
S1C17554D00E10E 16-BIT, FLASH, 24 MHz, RISC MICROCONTROLLER, UUC
S1C17554D00E10F 16-BIT, FLASH, 24 MHz, RISC MICROCONTROLLER, UUC
相关代理商/技术参数
参数描述
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