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

ISP1362BD 参数 Datasheet PDF下载

ISP1362BD图片预览
型号: ISP1362BD
PDF下载: 下载PDF文件 查看货源
内容描述: 单芯片通用串行总线- The-Go的控制器 [Single-chip Universal Serial Bus On-The-Go controller]
分类和应用: 控制器
文件页数/大小: 150 页 / 621 K
品牌: NXP [ NXP ]
 浏览型号ISP1362BD的Datasheet PDF文件第22页浏览型号ISP1362BD的Datasheet PDF文件第23页浏览型号ISP1362BD的Datasheet PDF文件第24页浏览型号ISP1362BD的Datasheet PDF文件第25页浏览型号ISP1362BD的Datasheet PDF文件第27页浏览型号ISP1362BD的Datasheet PDF文件第28页浏览型号ISP1362BD的Datasheet PDF文件第29页浏览型号ISP1362BD的Datasheet PDF文件第30页  
ISP1362  
Single-chip USB OTG controller  
Philips Semiconductors  
write_reg16(HcTransferCnt,word_size*2);  
outport(hc_com,HcATL_Port|0x80); // hc_com is system address of HC  
// command port  
cnt=0;  
do  
{
outport(hc_data,*(a_ptr+cnt)); // hc_data is system address of HC  
// data port  
cnt++;  
}
while(cnt<(word_size));  
Remark: The HcTransferCounter register counts the number of bytes even though  
the transfer is in number of words. Therefore, the transfer counter should be set to  
word_size × 2. Incorrect setting of the HcTransferCounter register may cause the  
ISP1362 to go into an indeterminate state.  
The buffer memory access using indirect addressing always starts from the location 0  
of each buffer area. Only the front portion of the memory (example: rst 64 bytes of a  
1024 bytes buffer) can be accessed. Therefore, to access a portion of the memory  
that does not start from memory location 0, all memory locations before that location  
must be accessed in a sequential order. The method is similar to the sequential le  
access method.  
9.6 Setting up a DMA transfer  
The ISP1362 uses two DMA channels to individually serve the HC and the DC. The  
DMA transfer allows the system CPU to work on other tasks while the DMA controller  
transfers data to or from the ISP1362. The DMA slave controller, in the ISP1362, is  
compatible with the 8327 type DMA controller.  
The DMA transfer can be used with the direct addressing mode or the indirect  
addressing mode. The registers used in these two modes are shown in Table 6.  
Table 6:  
Registers used in addressing modes  
Addressing mode[1] HcDMAConguration bit[3:1]  
Total bytes to transfer  
HcDirectAddressLength  
HcTransferCounter  
Direct addressing  
Indirect addressing  
1XXB  
0XXB  
[1] In the direct addressing mode, HcTransferCounter must be set to 0001H.  
9.6.1 Conguring registers for a DMA transfer  
To set up a DMA transfer, the following HC registers must be congured depending  
on the type of transfer required:  
HcHardwareConguration  
DREQ1 output polarity (bit 5)  
DACK1 input polarity (bit 6)  
DACK mode (bit 8).  
HcµPInterruptEnable  
If you want an interrupt to be generated after the DMA transfer is complete, set  
EOTInterruptEnable (bit 3).  
9397 750 12337  
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.  
Product data  
Rev. 03 06 January 2004  
26 of 150  
 复制成功!