| Electronic Components Datasheet Search |
|
TUSB5052 Datasheet(PDF) 66 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
TUSB5052 Datasheet(HTML) 66 Page - Texas Instruments |
|
66 / 84 page ![]() 8–6 8.3 Mode-2/3: EPP and ECP Modes These modes of operation support bidirectional data transfer per ECP and EPP protocols. In the output direction, data/command written to PPDAT/PPADR are placed in the PPDAT register and are transmitted automatically using ECP/EPP signaling. Typically, the MCU writes to PPADR to set the device address, and data transfer is done by the DMA to PPDAT register. In the input direction, reverse-channel addressing is not supported. Only data input is supported. Data input can be accomplished by either MCU or DMA transfer. The following describes the output and input sequence: 8.3.1 DMA Output Sequence 1. MCU writes M[2:0] = 010b to PPMCR to set the port to mode-2. 2. MCU sets PPIMSK[ETxE] = 0 (no TxE interrupt). 3. MCU writes an address value to the PPADR register. This byte is placed into PD[7:0] and tagged as a command byte. 4. MCU sets the proper DMA for output data transfer. 5. DMA reads a byte from buffer (in SRAM). 6. DMA writes the byte to the PPDAT register (TxE is used for DMA handshake). 7. Steps 5 and 6 are repeated without MCU involvement until either the full buffer has been transmitted, or an error condition has been detected. ( A buffer size of up to 64 bytes can be transferred.) 8. When the full buffer has been transmitted, the DMA interrupts the MCU. 9. MCU checks for any error condition. 8.3.2 DMA Input Sequence 1. MCU writes M[2:0] = 010b to PPMCR to set the port to mode-2. 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 either the full buffer has been transmitted, or an error condition has been detected. ( A buffer size of up to 64 bytes can be transferred) 7. When the full buffer has been received, the DMA interrupts the MCU. 8. MCU checks for any error condition. |
|
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 |