欢迎访问ic37.com |
会员登录 免费注册
发布采购

ADuC7020BCPZ62I-RL 参数 Datasheet PDF下载

ADuC7020BCPZ62I-RL图片预览
型号: ADuC7020BCPZ62I-RL
PDF下载: 下载PDF文件 查看货源
内容描述: 精密模拟微控制器, 12位模拟I / O , ARM7TDMI MCU [Precision Analog Microcontroller, 12-Bit Analog I/O, ARM7TDMI MCU]
分类和应用: 微控制器和处理器外围集成电路时钟
文件页数/大小: 104 页 / 1747 K
品牌: ADI [ ADI ]
 浏览型号ADuC7020BCPZ62I-RL的Datasheet PDF文件第71页浏览型号ADuC7020BCPZ62I-RL的Datasheet PDF文件第72页浏览型号ADuC7020BCPZ62I-RL的Datasheet PDF文件第73页浏览型号ADuC7020BCPZ62I-RL的Datasheet PDF文件第74页浏览型号ADuC7020BCPZ62I-RL的Datasheet PDF文件第76页浏览型号ADuC7020BCPZ62I-RL的Datasheet PDF文件第77页浏览型号ADuC7020BCPZ62I-RL的Datasheet PDF文件第78页浏览型号ADuC7020BCPZ62I-RL的Datasheet PDF文件第79页  
Data Sheet  
ADuC7019/20/21/22/24/25/26/27/28/29  
SPI Registers  
Table 121. SPIRX Register  
Name  
Address  
Default Value  
Access  
The following MMR registers are used to control the SPI  
interface: SPISTA, SPIRX, SPITX, SPIDIV, and SPICON.  
SPIRX  
0xFFFF0A04  
0x00  
R
SPIRX is an 8-bit, read-only receive register.  
Table 119. SPISTA Register  
Name  
Address  
Default Value  
Access  
Table 122. SPITX Register  
SPISTA  
0xFFFF0A00  
0x00  
R
Name  
Address  
Default Value  
Access  
SPITX  
0xFFFF0A08  
0x00  
W
SPISTA is an 8-bit read-only status register. Only Bit 1 or Bit 4  
of this register generates an interrupt. Bit 6 of the SPICON  
register determines which bit generates the interrupt.  
SPITX is an 8-bit, write-only transmit register.  
Table 123. SPIDIV Register  
Name  
Table 120. SPISTA MMR Bit Descriptions  
Address  
Default Value  
Access  
Bit  
7:6  
5
Description  
SPIDIV  
0xFFFF0A0C  
0x1B  
R/W  
Reserved.  
SPIDIV is an 8-bit, serial clock divider register.  
SPIRX data register overflow status bit. Set if SPIRX is  
overflowing. Cleared by reading the SPIRX register.  
Table 124. SPICON Register  
Name  
4
3
SPIRX data register IRQ. Set automatically if Bit 3 or Bit 5  
is set. Cleared by reading the SPIRX register.  
SPIRX data register full status bit. Set automatically if a  
valid data is present in the SPIRX register. Cleared by  
reading the SPIRX register.  
Address  
Default Value  
Access  
SPICON  
0xFFFF0A10  
0x0000  
R/W  
SPICON is a 16-bit control register.  
2
1
0
SPITX data register underflow status bit. Set auto-  
matically if SPITX is underflowing. Cleared by writing in  
the SPITX register.  
SPITX data register IRQ. Set automatically if Bit 0 is clear  
or Bit 2 is set. Cleared by writing in the SPITX register or if  
finished transmission disabling the SPI.  
SPITX data register empty status bit. Set by writing to  
SPITX to send data. This bit is set during transmission of  
data. Cleared when SPITX is empty.  
Table 125. SPICON MMR Bit Descriptions  
Bit  
Description  
Function  
15:13  
12  
Reserved  
Continuous transfer enable  
N/A  
Set by user to enable continuous transfer. In master mode, the transfer continues until no valid data is  
CS  
available in the TX register. is asserted and remains asserted for the duration of each 8-bit serial transfer  
until TX is empty. Cleared by user to disable continuous transfer. Each transfer consists of a single 8-bit  
serial transfer. If valid data exists in the SPITX register, then a new transfer is initiated after a stall period.  
11  
10  
Loop back enable  
Slave MISO output enable  
Set by user to connect MISO to MOSI and test software. Cleared by user to be in normal mode.  
Set this bit to disable the output driver on the MISO pin. The MISO pin becomes open drain when this bit is  
set. Clear this bit for MISO to operate as normal.  
9
Clip select output enable  
Set by user in master mode to disable the chip select output. cleared by user to enable the chip select  
output.  
CS  
P1.7 should be configured as before SPICON is configured as a master when the chip select output  
enabled is also selected.  
8
SPIRX overflow overwrite enable  
Set by user, the valid data in the RX register is overwritten by the new serial byte received. Cleared by user,  
the new serial byte received is discarded.  
7
6
SPITX underflow mode  
Transfer and interrupt mode  
Set by user to transmit 0. Cleared by user to transmit the previous data.  
Set by user to initiate transfer with a write to the SPITX register. Interrupt occurs only when TX is empty.  
Cleared by user to initiate transfer with a read of the SPIRX register. Interrupt occurs only when RX is full.  
5
4
3
2
LSB first transfer enable bit  
Reserved  
Serial clock polarity mode bit  
Serial clock phase mode bit  
Set by user, the LSB is transmitted first. Cleared by user, the MSB is transmitted first.  
Set by user, the serial clock idles high. Cleared by user, the serial clock idles low.  
Set by user, the serial clock pulses at the beginning of each serial bit transfer. Cleared by user, the serial  
clock pulses at the end of each serial bit transfer.  
1
0
Master mode enable bit  
SPI enable bit  
Set by user to enable master mode. Cleared by user to enable slave mode.  
Set by user to enable the SPI. Cleared by user to disable the SPI.  
Rev. F | Page 75 of 104  
 
 
 
 
 
 复制成功!