正在加载图片...
Philips Semiconductors ation USB interface device with parallel bus PDIUSBD12 COMMAND DESCRIPTION Configuration Byte Command Procedure There are three basic types of commands: Initialization, Data and General commands. Respectively, these are used to initia the function for data flow between the function and the host: o。 POWER ON VALUE RESERVED Initialization Commands NO LAZYCLOCK endpoints. They are also used to set the USB assigned address o Initialization commands are used during the enumeration process of CLOCK RUNNING the usB network. These commands are used to enable the function RESERVED: WRITE O Set Address/ Enable ENDPOINT CONFIGURATION Write 1 byte his command is used to set the USB assigned address and enable A'1' indicates that CLKoUT will not the function switch to Lazy clock A0 indicates that he CLKOUT switches to Lazy Clock 1ms pend pin goes high. The programmed value will not be 0000000 POWER ON VALUE hanged by a bus reset. Clock Running A1 indicates that the internal clocks and ENABLE PLL are always running even during te. A 0 indicates that the ternal clock, crystal oscillator and PLL are stopped whenever not needed To Address he value written becomes the address meet the strict Suspend curren requirement, this bit needs to be set to Enable A 1 enables this function 0. The programmed value will not be changed by a bus reset. Set Endpoint Enable nterrupt mode A1 indicates that all errors and Command D8h NAKing are reported and will generate Write 1 byte an interrupt AO indicates that only OK is reported. The programmed value will he generic/isochronous endpoints can only be enabled when the not be changed by a bus reset. function is enabled via the set Address/Enable command SoftConnectTM A1 indicates that the upstream pull-up sistor will be connected if ybus is available. A '0 means that the upstream 國如 POWER ON VALUE resistor will not be connected. the programmed value will not be changed ENERIC/ISOCHRONOUS ENDPOINTS These two bits set th igurations as follows Mode 0(Non-ISO Mode) Mode 1(ISO-OUT Mode) Generic/isochronous Endpoint A value of 1 indicates the Mode 3 (ISo-I0 Mode) See Endpoint Description for Set Mode F3h The Set Mode command is followed by two data writes The first byte contains the configuration byte values. The second byte is the clock division factor bytePhilips Semiconductors Product specification USB interface device with parallel bus PDIUSBD12 1999 Jan 08 9 COMMAND DESCRIPTION Command Procedure There are three basic types of commands: Initialization, Data Flow and General commands. Respectively, these are used to initialize the function; for data flow between the function and the host; and some general commands. Initialization Commands Initialization commands are used during the enumeration process of the USB network. These commands are used to enable the function endpoints. They are also used to set the USB assigned address. Set Address / Enable Command : D0h Data : Write 1 byte This command is used to set the USB assigned address and enable the function. 76 54 32 0 1 0 0 POWER ON VALUE ADDRESS ENABLE SV00825 0 0 0 0 0 0 Address The value written becomes the address. Enable A ‘1’ enables this function. Set Endpoint Enable Command : D8h Data : Write 1 byte The generic/Isochronous endpoints can only be enabled when the function is enabled via the Set Address/Enable command. 76 54 32 X 1 0 0 POWER ON VALUE GENERIC/ISOCHRONOUS ENDPOINTS RESERVED; WRITE 0 X X X X X X SV00860 Generic/Isochronous Endpoint A value of ‘1’ indicates the generic/isochronous endpoints are enabled. Set Mode Command : F3h Data : Write 2 bytes The Set Mode command is followed by two data writes. The first byte contains the configuration byte values. The second byte is the clock division factor byte. Configuration Byte POWER ON VALUE RESERVED NO LAZYCLOCK CLOCK RUNNING INTERRUPT MODE SoftConnect RESERVED; WRITE 0 ENDPOINT CONFIGURATION 76 54 32 1 1 1 0 0 1 0 0 0 SV00861 0 No LazyClock A ‘1’ indicates that CLKOUT will not switch to LazyClock. A ‘0’ indicates that the CLKOUT switches to LazyClock 1ms after the Suspend pin goes high. LazyClock frequency is 30 kHz ± 40%. The programmed value will not be changed by a bus reset. Clock Running A ‘1’ indicates that the internal clocks and PLL are always running even during Suspend state. A ‘0’ indicates that the internal clock, crystal oscillator and PLL are stopped whenever not needed. To meet the strict Suspend current requirement, this bit needs to be set to ‘0’. The programmed value will not be changed by a bus reset. Interrupt Mode A ‘1’ indicates that all errors and “NAKing” are reported and will generate an interrupt. A ‘0’ indicates that only OK is reported. The programmed value will not be changed by a bus reset. SoftConnect A ‘1’ indicates that the upstream pull-up resistor will be connected if VBUS is available. A ‘0’ means that the upstream resistor will not be connected. The programmed value will not be changed by a bus reset. Endpoint configuration These two bits set the endpoint configurations as follows: Mode 0 (Non-ISO Mode) Mode 1 (ISO-OUT Mode) Mode 2 (ISO-IN Mode) Mode 3 (ISO-IO Mode) See Endpoint Description for more details
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有