| Electronic Components Datasheet Search |
|
ML60841 Datasheet(PDF) 55 Page - OKI electronic componets |
|
|
|||||||||||||||||||||||||||||
ML60841 Datasheet(HTML) 55 Page - OKI electronic componets |
|
55 / 74 page ![]() PEDL60841-01 OKI Semiconductor ML60841 55/74 Notes on the Host Control As to its host function, the ML60841 complies with OHCI, but possesses special settings and functions apart from OHCI. The special part is described below. (1) DMA mode 0 register, DMA mode 1 register These are the setting registers to cope with DMA transfer of microcontroller. They must be set as described below. As host, only the channel 0 of DMA can be used. Therefore, set the following contents in the DMA mode 0 register. Operation is not guaranteed if DMA channel 1 is used. • Bits 03, 02 Specifies data bit length for one time of data transfer (DREQ). Since in this LSI the length is fixed at 32 bits, always set “10”. Operation is not guaranteed if a value other than “10” is set. These bits correspond to bits TS1 and TS0 of the DMA channel control register of the microcontroller and it is necessary to set the same bit length as the microcontroller. (2) Host control register Set DMA/PIO transfer (bit 03) and interrupt factor mask (bits 02, 01) from the host section. By setting DMA/PIO transfer (bit 03) = 1 (PIO transfer), interrupt is generated if the transfer request address from host core is outside the range of internal RAM address. At this time it is necessary to process the data of double word count indicated in bits 18:16 (write) or bits 26:24 (read) of the STT/TRANS CNT register. (3) Locations of Descriptor, Data Buffer, etc. It is necessary to place the end point descriptor (ED), transfer descriptor (TD) and interrupt table (HCCA) required for transfer by OHCI in the internal RAM (4 KB) of the ML60841. Moreover it is also necessary to locate ED and TD at 16-byte boundary (at 32-byte boundary for TD of isochronous transfer) and HCCA at 256-byte boundary. The buffer for data to be transferred can be located either in the internal RAM of the ML60841 or in external memory area, but the top address should be set on 4-byte boundary. The ML60841 always compares the address set in the RAM ADR register and transfer request address. If they are the same, they are treated as transfer to the internal RAM of the ML60841; therefore, interrupt for host data transfer is not requested to microcontroller. Therefore by locating the data buffer in the internal RAM of the ML60841, interrupt requests etc. to microcontroller are minimized and thus burden on the CPU can be considerably reduced. However, it does not limit the use of the ML60841. It is necessary to suitably locate considering system configuration restraints and burden of microcontroller, etc. (4) Interrupt Processing Two types of interrupts, namely interrupt relating to host data transfer and interrupt from host core exist in the host section of the ML60841. As regards the interrupt relating to host data transfer, the generation conditions are as follows according to the value (DMA/PIO) of bit 03 of the HOST CTL register. (a) In the case of bit 03 of the HOST CTL register = “0” (DMA) • When the transfer address is outside the internal RAM address range of the ML60841. • When either of the following conditions occurs within the internal RAM address range of the ML60841: - When continuity (*) of transfer addresses is lost. The ML60841 monitors continuity of addresses and generates interrupt when continuity is lost. Therefore, interrupt is always generated at the time of first transfer. - When direction of transfer has changed. When direction of transfer has changed with regard to the transfer executed just before, that is, when the value of bit 00 of the host data transfer request register has changed. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |