Home > Fujitsu > Controller > Fujitsu Series 3 Manual

Fujitsu Series 3 Manual

Here you can view all the pages of manual Fujitsu Series 3 Manual. The Fujitsu manuals for Controller are available online for free. You can easily download all the documents as PDF.

Page 891

 
2. CSIO (Clock Sync Serial Interface) interrupts 
 
2.  CSIO (Clock Sync Serial Interface) interrupts 
The CSIO interrupts contain the receive interrupt and the transmit interrupt. These interrupt 
requests can be generated if: 
- A receive data is set in the Receive Data Register (RDR) or a data receive error occurs. 
- A transmit data is transferred from the Transmit Data Register (TDR) to the transmit shift 
register and the data transmission is started 
- The transmit bus is idle (No data...

Page 892

 
2. CSIO (Clock Sync Serial Interface) interrupts 
 
2.1.  Receive interrupt and flag set timing 
Data reception can be interrupted by a Receive Completion (SSR:RDRF) or a Receive Error 
Occurrence (SSR:ORE). 
  Receive interrupt and flag set timing 
When the last data bit is detected, the received data is  stored in the Receive Data Register (RDR). When the 
data reception is completed (SSR:RDRF=1) or when a  data receive error occurs (SSR:ORE=1), each flag is 
set. If a receive interrupt is enabled...

Page 893

 
2. CSIO (Clock Sync Serial Interface) interrupts 
 
Figure 2-2 ORE (Overrun Error) flag set timing 
 
SCK
SIN
Receive data 
sampling D0
RDRF
An overrun error occurred.
ORE
Note:
This figure shows the signal timing under the 
following conditions.
SCR: MS=1, SPI=0
ESCR: L2 to L0=0b000
SMR:SCINV=0, BDS=0, SCKE=0, SOE=0
Precautions:
If the next data is transferred be fore the receive data is read (RDRF=1), an overrun error occurs.
D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7
  
 
 
FUJITSU SEMICONDUCTOR...

Page 894

 
2. CSIO (Clock Sync Serial Interface) interrupts 
 
2.2.  Interrupt occurrence and flag set timing when receive 
FIFO is used 
If receive FIFO is used, an interrupt occurs when the FBYTE data (preset for the FBYTE 
register (FBYTE)) is received. 
 Receive interrupt and flag set ti ming when receive FIFO is used 
If receive FIFO is used, an interrupt occurs de pending on the value set for the FBYTE register. 
   When full FBYTE data is received, the receive data full flag (SSR:RDRF) of the Serial...

Page 895

 
2. CSIO (Clock Sync Serial Interface) interrupts 
 
Figure 2-4 ORE (Overrun Error) flag bit set timing 
 
Receive data
FIFOBYTE 
(Receive)
RDRF 1st byte
60
An interrupt occurs when the FIFOBYTE 
(receive data) count +1 matches the 
receive data count.
An overrun error occurred.
SCK
Valid byte display59
ORE
Auxiliary notes:
If the FIFO buffer capacity is displayed by the FIFOBYTE and if the next data is received, an 
overrun error occurs.
This figure shows a case where a 64-byte FIFO capacity is...

Page 896

 
2. CSIO (Clock Sync Serial Interface) interrupts 
 
2.3.  Transmit interrupt occurrence and flag set timing 
A transmit interrupt occurs if data is transferred from the Transmit Data Register (TDR) to the 
transmit shift register (SSR:TDRE=1) and it is transmitted, or if no data is transmitted 
(SSR:TBI=1).  
  Transmit interrupt occurrence and flag set timing 
  Transmit data empty flag (SSR:TDRE) set timing 
After data has been transferred from the Transmit Data  Register (TDR) to the transmit...

Page 897

 
2. CSIO (Clock Sync Serial Interface) interrupts 
 
2.4.  Interrupt occurrence and flag set timing when 
transmit FIFO is used 
When transmit FIFO is used, an interrupt occurs if the buffer contains no data. 
 Transmit interrupt occurrence and flag se t timing when transmit FIFO is used 
  If transmit FIFO contains no data , the FIFO transmit data request bit (FCR1:FDRQ) is set to 1. 
If a FIFO transmit interrupt is enabled (FCR1:FTIE=1), a transmit interrupt occurs. 
   If you have written the...

Page 898

 
3. CSIO (Clock Sync Serial  Interface) operations 
 
3.  CSIO (Clock Sync Serial Interface) operations 
The clock synchronous data transmission is used. 
3.1.  Normal transfer (I) 
  Features 
 Item  Description 
1 Serial clock (SCK) signal detect level  HIGH 
2 Transmit data output timing  SCK signal falling edge 
3 Receive data sampling  SCK signal rising edge 
4 Data length  5 to 9 bits 
 Register settings 
The register values required for normal data  transfer (I) are listed on the table below....

Page 899

 
3. CSIO (Clock Sync Serial  Interface) operations 
 
  Normal transfer (I) timing chart 
 
   *
A 
D7

 Data transmission  
SCK  
SOUT  
TDR RW
TXE  D0D
7
D1 D2 D3 D4 D5 D6
 Data reception  
SIN  
RXE  
Sampling  
1st byte
RDRF 
TDRE 
D0D1 D2D3 D4 D 5   D6  
2nd byte
 
RDR RD  
D7 
D0   D7
D1  D2 D3D4D5D6 D0D1 D2D3 D
 4
D5 D6
D7 value if SCR:MS=1 HIGH if SCR:MS=0
:  
* A
 
FUJITSU SEMICONDUCT
OR LIMITED 
CHAPTER  19-3: CSIO  \050Clock  Sync Serial  Interface\051 
MN706-00002-1v0-E 
863...

Page 900

 
3. CSIO (Clock Sync Serial  Interface) operations 
 
  Master mode operation (SCR:MS=0, SMR:SCKE=1) 
  Data transmission 
1.  If serial data output is enabled (SMR:SOE=1), da ta transmission is enabled (SCR:TXE=1) and data 
reception is disabled (SCR:RXE=0),  and when the transmit data is written in the TDR, the SSR:TDRE 
bit is set to 0. This causes the transmit data to be output in synchronization with a falling edge of the 
serial clock (SCK) output. 
2.  When the transmit data of the first bit is...
Start reading Fujitsu Series 3 Manual
All Fujitsu manuals