English
Language : 

SH7727 Datasheet, PDF (726/1109 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family/SH7700 Series
Section 20 Serial IO (SIOF)
(b) Transmit two 8-bit units of data at once. Then, after the 16-bit data is received by the
SH7727, separate the upper and lower 8-bit portions and treat them as two 8-bit units of
data. They can then be used as 8-bit slot length LSB-first data.
20.4.1 Notes on Using the SIOF with Versions Previous to the SH7727B
Notes
When using SIOF, the following phenomenon may occur.
(1) During SIOF transmit with DMA transferring, SIOF may suddenly stop internal DMA transfer
request, then underflow error ocurs and transmit operation stops.
(2) During SIOF transmit and transmit FIFO empty, underflow or overflow, some data transmit
may fail, depending on the timing relationship between transmit FIFO write in and read out.
(3) During SIOF receive operation with DMA internal peripheral module request mode, some data
receive may fail, due to unexpected overflow errors caused on the manner that only one data
transfer request exceeding watermark of receive FIFO.
(4) During receive operation, some receive data may fail when a write occurs at reading from
receive FIFO.
(5) During SIOF receive operation and receive FIFO empty, underflow or overflow, some data
receive may fail, depending on the timing relationship between receive FIFO write in and read
out. In this case, the statuses of full, underflow, and overflow may not be reflected to flags.
Countermeasures
Countermeasures to deal with software using SIOF.
(1) Notes (1) and (2)
With referring to transmit FIFO transfer request interrupt (SIFTXI) caused by under watermark
of transmit FIFO, write the exactly same number of data with that of transmit FIFO empty
slots with DMA auto request.
At that time, make sure to set the watermark value so as not to occur transmit FIFO empty nor
underflow when transmit operation.
Example: When 12 empty slots are set to transmit FIFO, write 12 data to transmit FIFO with
DMA auto request by transmit FIFO transfer interrupt (SIFTXI).
(2) Notes (3), (4), and (5)
With referring to receive FIFO transfer request interrupt (SIFRXI) caused by over watermark
of receive FIFO, read the (valid number – 2) of data from receive FIFO with DMA auto
request.
Read operation shall be done before next receive data write.
Rev. 5.00 Dec 12, 2005 page 654 of 1034
REJ09B0254-0500