upd70f3402 Renesas Electronics Corporation., upd70f3402 Datasheet - Page 499

no-image

upd70f3402

Manufacturer Part Number
upd70f3402
Description
32-/16-bit Single-chip Microcontroller With Can Interface
Manufacturer
Renesas Electronics Corporation.
Datasheet
(9)
1.
2.
3.
4.
5.
6.
7.
8.
9.
10. Set the CSIM register's CTXE and CRXE bits to 0 to disable the transmit/receive operation (end of
CSIBUF-empty
CTXE, CRXE
SFDB write
CSIBUF_1
CSIBUF_2
CSIBUF_0
FIFO Buffer Transfer Mode (Master Mode, Transmit/Receive Mode)
MSB first (DIR = 0), no INTC3nI delay (CSIT = 0), transmission wait disabled (CSWE = 0), CS
inactive disabled (CSMD = 0), CKP = 1, DAP = 0, transmission data length of 8 bits
(CCL[3:0] = [1,0,0,0]), active levels of all chip selects set to “active low”:
Set the CSIM register's POWER bit to 1 to enable the supply of the Queued CSI operation clock.
Set the CSIC and CSIL registers to specify the transfer mode.
Write “1” in the SFA register's FPCLR bit to clear all FIFO pointers.
Specify the transfer mode using the CSIM register's TRMD, DIR, and CSIT bits; at the same time,
set the CTXE and CRXE bits to 1 to enable the transmit/receive operation.
Set the number of transmit/receive data items in the SFN register's SFN[3:0] bits.
Make sure that the SFA register's SFFUL bit is set to 0, then write chip-select data and
transmission data in the SFCS and SFDB registers in this order.
Wait for the transmissions/receptions to be completed (e.g. by monitoring the INT3C3nI interrupt).
Read the received data by multiple read of the SIRB register (= sequential read from the FIFO).
Write “1” in the SFA register's FPCLR bit and clear all FIFO pointers for the next transmission.
To continue transmission/reception, repeat steps (5) - (9).
transmit/receive operation).
SIRB read
CS3n[3:0]
INTC3nI
SFN3-0
SFP3-0
CSOT
SCK3
SO3
(1)
Figure 14-33: FIFO Buffer Transfer Mode (Master, Transmit/Receive) Timing
SI3
(2)(3)
"active-L"
(4)
(5)
0H
(6)
3H
0
1
55H
1
1
0
0
(6)
Chapter 14 Queued CSI (CSI30, CSI31)
User’s Manual U16702EE3V2UD00
1
0
CS 0
0
1 1
1
AAH
0
0 0
1
1H
1
1
CCH
0
0 0
1
CS 1
0
1
Wait insertion
by CSIBUF-empty
1
0
1 1
0
1
0
0
2H
96H
(6)
33H
1
0 0
0 0
CS 2
1
1
1 1
0
0
0 0
1 1
1
(7)
(8)
3H
99H
(8)
(8)
(9)
(10)
0H
499

Related parts for upd70f3402