数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

TUSB5052 数据表(PDF) 65 Page - Texas Instruments

部件名 TUSB5052
功能描述  USB to 2-Serial 1-Parallel Controller With Configurable Optional Hub
PDF  84 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  TI [Texas Instruments]
网页  http://www.ti.com
标志 TI - Texas Instruments

TUSB5052 数据表(HTML) 65 Page - Texas Instruments

Back Button TUSB5052 Datasheet HTML 61Page - Texas Instruments TUSB5052 Datasheet HTML 62Page - Texas Instruments TUSB5052 Datasheet HTML 63Page - Texas Instruments TUSB5052 Datasheet HTML 64Page - Texas Instruments TUSB5052 Datasheet HTML 65Page - Texas Instruments TUSB5052 Datasheet HTML 66Page - Texas Instruments TUSB5052 Datasheet HTML 67Page - Texas Instruments TUSB5052 Datasheet HTML 68Page - Texas Instruments TUSB5052 Datasheet HTML 69Page - Texas Instruments Next Button
Zoom Inzoom in Zoom Outzoom out
 65 / 84 page
background image
8–5
8.1.7
PPDAT: 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
32
10
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
1.
MCU writes M[2:0] = 001b to PPMCR to set the port to mode-1, and sets PPMCR[DIR] = 0.
2.
MCU sets PPIMSK[ETxE] = 1. This enables the TxE interrupt.
3.
MCU reads a byte from buffer (in SRAM)
4.
MCU writes the byte to PPDAT register. This clears PPMCR[TxE] to 0.
5.
Writing to PPDAT starts the transfer.
6.
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.
7.
Steps 3 to 6 are repeated until the SRAM buffer is empty.
8.
MCU sets PPIMSK[ETxE] = 0. This disables the TxE interrupt.
8.2.2
MCU Input Sequence
1.
MCU writes M[2:0] = 001b to PPMCR to set the port to mode-1, and sets PPMCR[DIR] = 1.
2.
MCU sets PPIMSK[ERxF] = 1. This enables the RxF interrupt.
3.
When a byte is received, PPMCR[RxF] is set to 1. This interrupts the MCU, indicating that the port contains a
byte.
4.
MCU reads a byte from PPDAT register. This clears PPMCR[RxF] to 0.
5.
MCU writes the byte to buffer (in SRAM).
6.
Steps 3 to 6 are repeated until the buffer (in SRAM) is full.
7.
MCU sets PPIMSK[ERxF] = 0. This disables the RxF interrupt.
8.2.3
DMA Input Sequence
1.
MCU writes M[2:0] = 001b to PPMCR to set the port to mode-1.
2.
MCU sets PPIMSK[ERxF] = 0. (no RxF interrupt).
3.
MCU sets the proper DMA for input data transfer.
4.
DMA reads a byte from the PPDAT register (RxF is used for DMA handshake).
5.
DMA writes the byte to buffer (in SRAM).
6.
Steps 4 and 5 are repeated without MCU involvement until the full buffer is received or until an error condition
is detected.
7.
When the full buffer is received, the DMA switches to X/Y-buffer.
8.
Steps 4 to 7 continue until terminated by time-out or by the MCU.
9.
When terminated, the MCU tests the DMASTA register.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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