Transition State - Fujitsu MB86R02 Jade-D Hardware Manual

Graphics controller
Hide thumbs Also See for MB86R02 Jade-D:
Table of Contents

Advertisement

MB86R02 'Jade-D' Hardware Manual V1.64

30.5 Transition state

Figure 30-3 shows SPI transition state chart.
SLEEP
SENB = 0
SBSY = 0
SERR = 0
SPE = 0
Detail of each state shown in Figure 30-3 is as follows. SPI moves to reset state with hardware
reset (HRESETn = 0) from all conditions (broken line in the chart.)
SPI state
Sleep (SLEEP)
Initial state of SPI.
Clock is not supplied except to state machine. While setup or transition from error state,
internal logic is initialized except certain part.
Setup (SETUP)
Stand-by state of communication between master and slave. SPI changes state in the
following cases.
Received data should be read in the setup state.
Busy (BUSY)
Communicating state with SPI slave.
Writing SPI data register (SPIDR) in the setup state moves to this state; in that time,
transmission/reception of the data are performed simultaneously. When 1 bit is output
to SPI_DO pin, 1 bit is input from SPI_DI pin.
Set SIRQ at the normal termination of the communication.
Error (ERROR)
Performing prohibited register access in the busy state moves to this state. Clearing
SPE bit of SPI slave control register (SPISCR) returns to sleep (SLEEP) state.
HRESETn = 1
SPE = 1
Write data
SETUP
SENB = 1
SBSY = 0
SERR = 0
Figure 30-3 SPI state transition chart
SPE bit of SPI slave control register (SPISCR) is set to "1" in the sleep state
Communication completes properly in the busy state
RESET
Error
BUSY
SENB = 1
SBSY = 1
SERR = 0
Normal end
Description
SPE = 0
ERROR
SENB = 1
SBSY = 0
SERR = 1
30-3

Advertisement

Table of Contents
loading

Table of Contents