English
Language : 

ZAMC4100 Datasheet, PDF (131/155 Pages) Integrated Device Technology – Actuator and Motor Controller
ZAMC4100 Datasheet
Table 4.23 Register [0x4000_1828] Z1_SPICLKCFG
Z1_ SPICLKCFG
ADD:0x4000_1828
Bit
Name
Ext.
Int. Reset
Access Access Value
Description
0
CPOL
R/W
R
1
Clock polarity; the content of this bit directly affects the idle
state of the clock.
Note: Change this bit only when the module is disabled
(SPIEN=0 in register Z1_SPICFG; see Table 4.21).
1
CPHA
R/W
R
1
Clock phase; data is centered on the first (set to 0) or to the
second (set to 1) clock edge.
Note: Change this bit only when the module is disabled
(SPIEN=0).
7:2
CDIV
R/W
R
1
Clock divider value; SPI clock period is 2∗(CDIV+1) times the
system clock.
Note: Change this bit only when the module is disabled
(SPIEN=0) or when no transfer is in progress.
31 : 8
---
R
---
0
Unused; always read as 0.
Table 4.24 Register [0x4000_182C] Z1_SPISTAT
Z1_ SPISTAT
ADD:0x4000_182C
Bit
Name
Ext.
Int. Reset
Access Access Value
0
RXOF
RC
W
0
1
RXFULL
R
R/W
0
2
TXEMPTY
R
R/W
1
3
WRCOLL
RC
W
0
4
BUSY
R
R/W
0
6:5
---
R
---
0
7
CLRTXBUF W1C
R
0
31 : 8
---
R
---
0
Description
This bit signals that an RX overflow has occurred.
Note: This bit is cleared when the status is read.
Note: The received byte causing the overflow is rejected; the
previous received byte is kept in the RX buffer.
This bit reflects the status of the RX buffer. It is set when a
new byte is transferred into the RX buffer.
Note: This bit is cleared when SPIDATA is read (Table 4.22).
This bit reflects the status of the TX buffer. It is set when a
byte is transferred from the TX buffer into the shift register.
Note: This bit is cleared when SPIDATA is written.
This bit is set when SPIDATA is written while TX buffer is
already full.
Note: This bit is cleared when the status is read.
This bit reflects the status of the SPI module.
Unused; always read as 0.
Writing a 1 to this bit clears the TX buffer.
Note: Write only when SPI is disabled; always read as 0.
Unused; always read as 0.
© 2016 Integrated Device Technology, Inc.
131
January 26, 2016