SPI
SC32442B RISC MICROPROCESSOR
22-6
SPI SPECIAL REGISTERS
SPI CONTROL REGISTER
Register Address R/W
Description
Reset
Value
SPCON0
0x59000000
R/W
SPI channel 0 control register
0x00
SPCON1
0x59000020
R/W
SPI channel 1 control register
0x00
SPCONn Bit
Description
Initial
State
SPI Mode Select
(SMOD)
[6:5]
Determine how SPTDAT is read/written
00 = polling mode
01 = interrupt mode
10 = DMA mode
11 = reserved
00
SCK Enable
(ENSCK)
[4]
Determine whether you want SCK enabled or not (master only).
0 = disable
1 = enable
0
Master/Slave
Select (MSTR)
[3]
Determine the desired mode (master or slave).
0 = slave
1 = master
Note:
In slave mode, there should be set up time for master to
initiate Tx/Rx.
0
Clock Polarity
Select (CPOL)
[2]
Determine an active high or active low clock.
0 = active high
1 = active low
0
Clock Phase
Select (CPHA)
[1]
Select one of the two fundamentally different transfer format
0 = format A
1 = format B
0
Tx Auto Garbage
Data mode enable
(TAGD)
[0]
Decide whether the receiving data is required or not.
0 = normal mode
1 = Tx auto garbage data mode
Note:
If you want to receive data, you should this bit to 1.
0
Содержание SC32442B54
Страница 1: ...SC32442B54 USER S MANUAL Revision 1 0 ...
Страница 43: ...PRODUCT OVERVIEW SC32442B RISC MICROPROCESSOR 1 42 NOTES ...
Страница 59: ...PROGRAMMER S MODEL SC32442B RISC MICROPROCESSOR 2 16 NOTES ...
Страница 123: ...ARM INSTRUCTION SET SC32442B RISC MICROPROCESSOR 3 64 NOTES ...
Страница 167: ...THUMB INSTRUCTION SET SC32442B RISC MICROPROCESSOR 4 44 NOTES ...
Страница 187: ...MEMORY CONTROLLER SC32442B RISC MICROPROCESSOR 5 20 NOTES ...
Страница 250: ...DMA SC32442B RISC MICROPROCESSOR 8 14 NOTES ...
Страница 308: ...PWM TIMER SC32442B RISC MICROPROCESSOR 10 20 NOTES ...
Страница 330: ...UART SC32442B RISC MICROPROCESSOR 11 22 NOTES ...
Страница 417: ...SC32442B RISC MICROPROCESSOR LCD CONTROLLER 15 45 NOTES ...
Страница 427: ...ADC AND TOUCH SCREEN INTERFACE SC32442B RISC MICROPROCESSOR 16 10 NOTES ...
Страница 511: ...BUS PRIORITIES SC32442B RISC MICROPROCESSOR 24 2 NOTES ...
Страница 562: ...K5D2G13ACM D075 Revision 1 0 December 2006 7 MCP MEMORY 2Gb 256Mb x8 NAND Flash Memory A Die ...
Страница 599: ...K5D2G13ACM D075 Revision 1 0 December 2006 44 MCP MEMORY 512Mb 16Mb x32 Mobile SDRAM C Die ...