
TC32306FTG
2015-10-01
36
6.7.5 SPI Burst Read/Write
(1)
Write
This function continuously writes data to the order from the specified address. Set the burst
Read/Write (Write) data pattern to the instruction area. Set to start register address to the next 8 bit,
then register data to after next 8 bit. After that, repeat sequentially to set only 8 bit register data to
the order. After every input of 8 bit data, the register value is updated. The register data from MOSI
pin is written when CS pin is “L” and CLK signal is at the rising edge. Not to write unnecessary data
to the following address, set CS pin to be “H” as soon as possible after writing all of the data.
Fig 6-17 Write Format (SPI Burst Read/Write)
Notice: To change the instruction or start register address, once set CS pin to be “H” in the burst
Read/Write.
(2)
Read
This function continuously reads data to the order from the specified address. Set the burst Read/Write
(Read) data pattern to the instruction area. Set to start register address to the next 8 bit to read that
data. After input the address, MISO pin outputs 8 bit data from the specified register. To stop or finish
reading data, set CS pin to be “H”.
Fig 6-18 Read Format (SPI Burst Read/Write)
- - -
CLK
CS
- - -
Instruction Address
AD0
AD1
AD2
AD3
AD4
AD5
AD6
AD7
Instruction
Address
0 0 0 0
0
X
1
MOSI
N
N+1
N+2
N+3
- - -
Data
Data
Data
Data
Data
Data
- - -
D0
D1
D2
D3
D4
D5
D6
D7
D0
D1
D2
D3
D4
D5
D6
D7
D7
D6
D1
D0
X: 0 or 1 (Don
’
t care)
0
Data
Data
- - -
- - -
CLK
CS
MISO
MOSI
- - -
- - -
Instruction Address
Read
Data
Read
Data
Read
Data
Read
Data
AD0
AD1
AD2
AD3
AD4
AD5
AD6
AD7
Instruction
Address
0 0 0 0
0
X
1 1
D0
D1
D2
D3
D4
D5
D6
D7
D7
D6
D1
D0
MOSI
MISO
High-Impedance
N
N+1
N+2
N+3
- - -
D0
D1
D2
D3
D4
D5
D6
D7
X: 0 or 1 (Don
’
t care)
- - -
Read
Data
Read
Data
Read
Data
Read
Data
Don
’
t care