Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

MPC8280 Datasheet(PDF) 850 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) 850 Page - Freescale Semiconductor, Inc

Back Button MPC8280 Datasheet HTML 846Page - Freescale Semiconductor, Inc 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 850 / 1386 page
background image
Universal Serial Bus Controller
MPC8280 PowerQUICC II Family Reference Manual, Rev. 1
27-34
Freescale Semiconductor
27.9 USB Function Controller Initialization Example
The following is an example initialization sequence for the USB controller operating in function mode. It
can be used to set up two function endpoints to fill transmit FIFOs so that data is ready for transmission
when an IN token is received from the USB. The tokens can be generated using a USB traffic generator.
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. Clear FRAME_N.
4. Write (DPRAM+0x500) to EP1PTR, and (DPRAM+0x520) to EP2PTR to set up the endpoint
pointers.
5. Write 0xBC80_0004 to DPRAM+0x20 to set up the TxBD[Status and Control, Data Length] fields
of endpoint 1.
6. Write DPRAM+0x200 to DPRAM+0x24 to set up the TxBD[Buffer Pointer] field of endpoint 1.
7. Write 0xBCC0_0004 to DPRAM+0x28 to set up the TxBD[Status and Control, Data Length] fields
of endpoint 2.
8. Write DPRAM+0x210 to DPRAM+0x2C to set up the TxBD[Buffer Pointer] field of endpoint 2.
9. Write 0xCAFE_CAFE to DPRAM+0x200 to set up the endpoint 1 Tx data pattern.
10. Write 0xFACE_FACE to DPRAM+0x210 to set up the endpoint 2 Tx data pattern.
11. Write 0x0000_0020 to DPRAM+0x500 to set up the RBASE and TBASE fields of the endpoint 1
parameter RAM.
12. Write 0x1818_0100 to DPRAM+0x504 to set up the RFCR, TFCR, and MRBLR fields of the
endpoint 1 parameter RAM.
13. Write 0x0000_0020 to DPRAM+0x508 to set up the RBPTR and TBPTR fields of the endpoint 1
parameter RAM.
14. Clear the TSTATE field of the endpoint 1 parameter RAM.
15. Write 0x0008_0028 to DPRAM+0x520 to set up the RBASE and TBASE fields of the endpoint 2
parameter RAM.
16. Write 0x1818_0100 to DPRAM+0x524 to set up the RFCR, TFCR, and MRBLR fields of the
endpoint 2 parameter RAM.
17. Write 0x0008_0028 to DPRAM+0x528 to set up the RBPTR and TBPTR fields of the endpoint 2
parameter RAM.
18. Clear the TSTATE field of the endpoint 2 parameter RAM.
19. Write 0x0000 to USEP1: Endpoint Number 0, control transfer, one packet only, and normal
handshake.
20. Write 0x7200 to USEP2: Endpoint Number 7, bulk transfer, one packet only, and normal
handshake.
21. Write 0x00 to the USMOD for full-speed 12 Mbps function endpoint mode and disable the USB.
22. Write 0x05 to the USAD for slave address 5.
23. Set USMOD[EN] to enable the USB controller.



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