
4/29/2020
Loongson 3A3000 / 3B3000 Processor User Manual
95
113
Register bit width: [7: 0]
Offset:
0x00
Reset value:
0x00
Bit field
Bit field name
Bit width
access
description
7: 0
LSB
8
RW
Store the lower 8 bits of the divider latch
Chinese name:
Divider 2
Register bit width: [7: 0]
Offset:
0x01
Reset value:
0x00
Bit field
Bit field name
Bit width
access
description
Page 118
Godson 3A3000 / 3B3000 Processor User Manual • Volume 1
114
7: 0
MSB
8
RW
Stores the upper 8 bits of the divider latch
11.4 SPI controller
The SPI controller has the following features:
●
Full duplex synchronous serial data transmission
●
Supports up to 4 variable-length byte transfers
●
Main mode support
●
Mode failure generates an error flag and issues an interrupt request
●
Double buffer receiver
●
Serial clock with programmable polarity and phase
●
SPI can be controlled in wait mode
●
Support boot from SPI
The physical address of the SPI controller register is 0x1FE00220.
Table 11- 6 SPI controller address space distribution
Address name
Address range
size
SPI B Yaoyao
0X1FC0_0000-0X1FD0_0000
1MByte
SPI Mem Yao Yi
0X1D00_0000-0X1E00_0000
16MByte
SPI Reg ste
0X1FE0_0220-0X1FE0_0230
16Byte
The SPI Boot address space is the address space that the processor first accesses when the system starts. When the PCI_CONFIG [0] pin is
When pulling up, the address of 0xBFC00000 is automatically routed to the SPI.
The SPI Mem Yao space can also be directly accessed through the CPU's read request, its minimum 1M bytes and SPI BOOT space
overlapping.
11.4.1
Control Register ( SPCR )
Chinese name:
Control register
Register bit width: [7: 0]
Offset:
0x00
Reset value:
0x10
Bit field
Bit field name
Bit width access
description
7
Sp e
1
RW
Interrupt output enable signal is high and effective
6
spe
1
RW
System work enable signal is highly effective