Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

MPC8280 Datasheet(PDF) 851 Page - Freescale Semiconductor, Inc

Part # MPC8280
Description  PowerQUICC??II Family Reference Manual
PDF  1386 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

MPC8280 Datasheet(HTML) 851 Page - Freescale Semiconductor, Inc

Back Button MPC8280 Datasheet HTML 847Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 848Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 849Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 850Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 851Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 852Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 853Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 854Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 855Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 851 / 1386 page
background image
Universal Serial Bus Controller
MPC8280 PowerQUICC II Family Reference Manual, Rev. 1
Freescale Semiconductor
27-35
24. Write 0x80 to USCOM to start filling the Tx FIFO with endpoint 1 data ready for transmission
when an IN token is received.
25. Write 0x81 to USCOM to start filling the Tx FIFO with endpoint 2 data ready for transmission
when an IN token is received.
26. Generate an IN token to address 5, endpoint number 0, control.
27. Generate an IN token to address 5, endpoint number 7, bulk.
27.10 Programming the USB Host Controller (Packet-Level)
The MPC8280 implementation of a USB host uses the endpoint represented by USEP1 to control the host
transmission and reception. The other endpoints are typically not used, except for testing purposes
(loop-back).
Programming the USB controller to act as host is similar to configuring an endpoint for function operation.
A general outline of how to program the host controller follows. (A more detailed example can be found
in Section 27.10.1, “USB Host Controller Initialization Example.”)
•
Set the host bit in the mode register (USBMOD[HOST] = 1) to configure the controller as a host.
•
Set the multi-frame bit in the endpoint configuration register (USEP1[MF] = 1) to allow
SETUP/OUT tokens and DATA0/DATA1 packets to be sent back-to-back.
•
Prepare tokens in separate BDs.
•
Using software, append the CRC5 as part of the transmitted data because the CPM does not support
automatic CRC5 generation.
•
Clock the USB host controller as a high speed function (48-MHz reference clock).
•
For low-speed transactions with an external hub, set TxBD[LSP] in the token’s BD. This causes
the USB host controller to generate a preamble (PRE token) at full speed before changing the
transmit rate to low speed and sending the data packet. After completion of the transaction, the host
returns to full-speed operation. Note that LSP should be set only for token BDs.
27.10.1 USB Host Controller Initialization Example
The following is a local loopback example initialization sequence for the USB controller operating as a
host. It can be used to set up the host endpoint and one function endpoint to demonstrate an IN token
transaction.
1. Program CMXSCR to provide a 48 MHz clock to the USB controller.
2. Program the Port Registers to select USBRXD, USBRXP, USBRXN, USBTXP, USBTXN, and
USBOE.
3. Write (DPRAM+0x500) to EP1PTR, (DPRAM+0x520) to EP2PTR to set up the endpoint pointers.
4. Write 0x0000_0020 to DPRAM+0x500 to set up the RBASE and TBASE fields of the host
endpoint parameter RAM.
5. Write 0x1818_0100 to DPRAM+0x504 to set up the RFCR, TFCR, and MRBLR fields of the host
endpoint parameter RAM.



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 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


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