EasyManua.ls Logo

STC micro STC8A8K64D4 Series - Dma; Registers Related to DMA

Default Icon
901 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
STC8A8K64D4 Series Manual
- 635 -
23 DMA
STC8A8K64D4 series of microcomputers support the function of batch data storage, that is, traditional DMA.
The following DMA operations are supported:
M2M_DMA: read and write data from XRAM memory to XRAM memory
ADC_DMA: automatically scan the enabled ADC channels and automatically store the converted ADC
data into XRAM
SPI_DMA: automatically exchange data between XRAM data and SPI peripherals
UR1T_DMA: automatically send the data in XRAM through UART1
UR1R_DMA: automatically store the data received from UART1 into XRAM
UR2T_DMA: automatically send the data in XRAM through UART2
UR2R_DMA: automatically store the data received from UART2 into XRAM
UR3T_DMA: automatically send the data in XRAM through UART3
UR3R_DMA: automatically store the data received from UART3 into XRAM
UR4T_DMA: automatically send the data in XRAM through UART 4
UR4R_DMA: automatically store the data received from UART4 into XRAM
LCM_DMA: automatically exchange data between the data in XRAM and the LCM device
The maximum size of each DMA data transfer is 256 bytes.
Each DMA read and write operation to XRAM can be set to 4-level access priority, and the hardware will automatically
perform the access arbitration of the XRAM bus, which will not affect CPU access to XRAM. Under the same priority,
the access order of different DMAs to XRAM is as follows: SPI_DMA, UR1R_DMA, UR1T_DMA, UR2R_DMA,
UR2T_DMA, UR3R_DMA, UR3T_DMA, UR4R_DMA, UR4T_DMA, LCM_DMA, M2M_DMA, ADC_DMA
23.1 Registers Related to DMA
Symbol
Description
Address
Bit Address and Symbol
Reset
value
B7
B6
B5
B4
B3
B2
B1
B0
DMA_M2M_CFG
M2M_DMA Configuration Register
FA00H
M2MIE
-
TXACO
RXACO
M2MIP[1:0]
M2MPTY[1:0]
0x00,0000
DMA_M2M_CR
M2M_DMA Control Register
FA01H
ENM2M
TRIG
-
-
-
-
-
-
00xx,xxxx
DMA_M2M_STA
M2M_DMA Status Register
FA02H
-
-
-
-
-
-
-
M2MIF
xxxx,xxx0
DMA_M2M_AMT
M2M_DMA Total Bytes Need to be
Transferred
FA03H
0000,0000
DMA_M2M_DONE
M2M_DMA Transfer Completed
Bytes
FA04H
0000,0000
DMA_M2M_TXAH
M2M_DMA Send High Address
FA05H
0000,0000
DMA_M2M_TXAL
M2M_DMA Send Low Address
FA06H
0000,0000
DMA_M2M_RXAH
M2M_DMA Receive High Address
FA07H
0000,0000
DMA_M2M_RXAL
M2M_DMA Receive Low Address
FA08H
0000,0000
DMA_ADC_CFG
ADC_DMA Configuration Register
FA10H
ADCIE
-
-
-
ADCMIP[1:0]
ADCPTY[1:0]
0xxx,0000
DMA_ADC_CR
ADC_DMA Control Register
FA11H
ENADC
TRIG
-
-
-
-
-
-
00xx,xxxx
DMA_ADC_STA
ADC_DMA Status Register
FA12H
-
-
-
-
-
-
-
ADCIF
xxxx,xxx0
DMA_ADC_RXAH
ADC_DMA Receive High Address
FA17H
0000,0000
DMA_ADC_RXAL
ADC_DMA Receive Low Address
FA18H
0000,0000
DMA_ADC_CFG2
ADC_DMA Configuration
Register2
FA19H
-
-
-
-
CVTIMESEL[3:0]
xxxx,0000
DMA_ADC_CHSW0
ADC_DMA Channel Enable
FA1AH
CH15
CH14
CH13
CH12
CH11
CH10
CH9
CH8
1000,0000
DMA_ADC_CHSW1
ADC_DMA Channel Enable
FA1BH
CH7
CH6
CH5
CH4
CH3
CH2
CH1
CH0
0000,0001
DMA_SPI_CFG
SPI_DMA Configuration Register
FA20H
SPIIE
ACT_TX
ACT_RX
-
SPIIP[1:0]
SPIPTY[1:0]
000x,0000
DMA_SPI_CR
SPI_DMA Control Register
FA21H
ENSPI
TRIG_M
TRIG_S
-
-
-
-
CLRFIFO
000x,xxx0
DMA_SPI_STA
SPI_DMA Status Register
FA22H
-
-
-
-
-
TXOVW
RXLOSS
SPIIF
xxxx,x000
DMA_SPI_AMT
SPI_DMA Total Bytes Need to be
Transferred
FA23H
0000,0000
DMA_SPI_DONE
SPI_DMA Transfer Completed
Bytes
FA24H
0000,0000
DMA_SPI_TXAH
SPI_DMA Send High Address
FA25H
0000,0000
DMA_SPI_TXAL
SPI_DMA Send Low Address
FA26H
0000,0000
DMA_SPI_RXAH
SPI_DMA Receive High Address
FA27H
0000,0000
DMA_SPI_RXAL
SPI_DMA Receive Low Address
FA28H
0000,0000
DMA_SPI_CFG2
SPI_DMA Configuration Register2
FA29H
-
-
-
-
-
WRPSS
SSS[1:0]
xxxx,x000
DMA_UR1T_CFG
UR1T_DMA Configuration
Register
FA30H
UR1TIE
-
-
-
UR1TIP[1:0]
UR1TPTY[1:0]
0xxx,0000
DMA_UR1T_CR
UR1T_DMA Control Register
FA31H
ENUR1T
TRIG
-
-
-
-
-
-
00xx,xxxx
DMA_UR1T_STA
UR1T_DMA Status Register
FA32H
-
-
-
-
-
TXOVW
-
UR1TIF
xxxx,x0x0

Table of Contents

Related product manuals