ISP1362BDFA ST-Ericsson Inc, ISP1362BDFA Datasheet - Page 25

IC USB OTG CONTROLLER 64-LQFP

ISP1362BDFA

Manufacturer Part Number
ISP1362BDFA
Description
IC USB OTG CONTROLLER 64-LQFP
Manufacturer
ST-Ericsson Inc
Datasheet

Specifications of ISP1362BDFA

Controller Type
USB 2.0 Controller
Interface
Parallel/Serial
Voltage - Supply
3 V ~ 3.6 V
Operating Temperature
-40°C ~ 85°C
Mounting Type
Surface Mount
Package / Case
64-LQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Current - Supply
-
Other names
568-1219
ISP1362BD,151
ISP1362BD-S

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ISP1362BDFA
Manufacturer:
STE
Quantity:
5
Part Number:
ISP1362BDFA
Manufacturer:
ST-Ericsson Inc
Quantity:
10 000
NXP Semiconductors
ISP1362_5
Product data sheet
8.5.2 PIO access to the buffer memory by using indirect addressing
void Set_DirAddrLen(unsigned int data_length,unsigned int addr)
{
}
After the proper value is written to the HcDirectAddressLength register, data is accessible
from the HcDirectAddressData register (called as HcDirAddr_Port in the following sample
code). A sample code to write word_size bytes of data from *w_ptr to the memory
locations of the ISP1362 buffer starting from the address start_addr is as follows:
void direct_write(unsigned int *w_ptr,unsigned int start_addr,unsigned int word_size)
{
}
Direct addressing allows fast and random access to any location within the ISP1362
memory. Your program, however, needs the address location of each buffer area to
access them.
Indirect addressing is the addressing method that is compatible with NXP ISP1161
addressing mode. This method uses a unique data port for each buffer memory area
(ATL, INTL, ISTL0 and ISTL1). These four data areas share the HcTransferCounter
register that is used to indicate the number of bytes to be transferred.
A sample code to write an array at *a_ptr into the ATL memory area with word_size as the
word size is given as follows:
void write_atl(unsigned int *a_ptr, unsigned int word_size)
{
unsigned long RegData = 0;
RegData =(long)(addr&0x7FFF);
RegData|=(((long)data_length)<<16);
write_reg32(HcDirAddrLen,RegData);
unsigned int cnt = 0;
Set_DirAddrLen(word_size*2,start_addr);
outport(hc_com,HcDirAddr_Port|0x80); // hc_com is system address of
do
{
}
while(cnt<word_size);
int cnt;
write_reg16(HcTransferCnt,word_size*2);
outport(hc_com,HcATL_Port|0x80); // hc_com is system address of HC
cnt++;
outport(hc_data,*(w_ptr+cnt)); // hc_data is system address of
Rev. 05 — 8 May 2007
// HC data port
// HC command port
// command port
Single-chip USB OTG Controller
© NXP B.V. 2007. All rights reserved.
ISP1362
24 of 152

Related parts for ISP1362BDFA