參數(shù)資料
型號: TUSB5052B
廠商: Texas Instruments, Inc.
英文描述: USB to 2-Serial + 1-Parallel Controller With Configurable Optional Hub
中文描述: USB轉(zhuǎn)2 -串行接口1 -可配置可選并行控制器集線器
文件頁數(shù): 65/84頁
文件大小: 276K
代理商: TUSB5052B
8–5
8.1.7
P
PDAT: P-Port Data Register
This register is used for data I/O for all modes. When in the output direction (DIR = 0), writing to this register places
the data into PD[7:0]. When in the input direction (DIR =1), this register contains the byte entered by the peripheral
(see Figure 8–1).
D7
D6
D5
D4
D3
D2
D1
D0
7
6
5
4
3
2
1
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
BIT
NAME
RESET
FUNCTION
7–0
D[7:0]
00h
P-Port data output and input
8.2
Mode-1 (SPP): Bidirectional Centronics Mode
This mode supports data transfer in the output and input directions. The PPMCR[DIR]-bit controls the transceiver
direction (when DIR = 0, the port is an output; when DIR = 1, the port is an input). In this mode, all handshake signals
are generated automatically without the need for the MCU to toggle bits. The following describes the output and input
sequences:
8.2.1
MCU Output Sequence
MCU writes M[2:0] = 001b to PPMCR to set the port to mode-1, and sets PPMCR[DIR] = 0.
MCU sets PPIMSK[ETxE] = 1. This enables the TxE interrupt.
MCU reads a byte from buffer (in SRAM)
MCU writes the byte to PPDAT register. This clears PPMCR[TxE] to 0.
Writing to PPDAT starts the transfer.
When the byte is transferred, PPMCR[TxE] is set to 1. This interrupts the MCU, indicating that the port is
ready for the next byte.
Steps 3 to 6 are repeated until the SRAM buffer is empty.
MCU sets PPIMSK[ETxE] = 0. This disables the TxE interrupt.
1.
2.
3.
4.
5.
6.
7.
8.
8.2.2
MCU Input Sequence
MCU writes M[2:0] = 001b to PPMCR to set the port to mode-1, and sets PPMCR[DIR] = 1.
MCU sets PPIMSK[ERxF] = 1. This enables the RxF interrupt.
When a byte is received, PPMCR[RxF] is set to 1. This interrupts the MCU, indicating that the port contains a
byte.
MCU reads a byte from PPDAT register. This clears PPMCR[RxF] to 0.
MCU writes the byte to buffer (in SRAM).
Steps 3 to 6 are repeated until the buffer (in SRAM) is full.
MCU sets PPIMSK[ERxF] = 0. This disables the RxF interrupt.
1.
2.
3.
4.
5.
6.
7.
8.2.3
DMA Input Sequence
MCU writes M[2:0] = 001b to PPMCR to set the port to mode-1.
MCU sets PPIMSK[ERxF] = 0. (no RxF interrupt).
MCU sets the proper DMA for input data transfer.
DMA reads a byte from the PPDAT register (RxF is used for DMA handshake).
DMA writes the byte to buffer (in SRAM).
Steps 4 and 5 are repeated without MCU involvement until the full buffer is received or until an error condition
is detected.
When the full buffer is received, the DMA switches to X/Y-buffer.
Steps 4 to 7 continue until terminated by time-out or by the MCU.
When terminated, the MCU tests the DMASTA register.
1.
2.
3.
4.
5.
6.
7.
8.
9.
相關(guān)PDF資料
PDF描述
TV15C220J SMD Transient Voltage Suppressor
TV30C101J SMD Transient Voltage Suppressor
TV30C580J SMD Transient Voltage Suppressor
TV30C8V0K-G SMD TRANSLENT VOLTAGE SUPPRESSOR
TV30C10V0J-G SMD TRANSLENT VOLTAGE SUPPRESSOR
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
TUSB5052PZ 功能描述:USB 接口集成電路 5port Hub w/Int Brdg to 2-Serial Ports RoHS:否 制造商:Cypress Semiconductor 產(chǎn)品:USB 2.0 數(shù)據(jù)速率: 接口類型:SPI 工作電源電壓:3.15 V to 3.45 V 工作電源電流: 最大工作溫度:+ 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:WLCSP-20
TUSB5052PZG4 功能描述:USB 接口集成電路 5-port Hub with Int Bridge RoHS:否 制造商:Cypress Semiconductor 產(chǎn)品:USB 2.0 數(shù)據(jù)速率: 接口類型:SPI 工作電源電壓:3.15 V to 3.45 V 工作電源電流: 最大工作溫度:+ 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:WLCSP-20
TUSB5152 制造商:TI 制造商全稱:Texas Instruments 功能描述:USB to 2-Serial 1-Parallel Controller With Configurable Optional Hub
TUSB5152PZ 制造商:Rochester Electronics LLC 功能描述:- Bulk
TUSB522PEVM 功能描述:EVAL BOARD FOR TUSB522P 制造商:texas instruments 系列:- 零件狀態(tài):在售 主要用途:接口,信號加強器 嵌入式:- 使用的 IC/零件:TUSB522P 主要屬性:2 通道(雙路) 輔助屬性:LED 狀態(tài)指示器 所含物品:板 標(biāo)準(zhǔn)包裝:1