MPC5200B USB controller

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5200B USB controller

1,412 Views
sid_karnik
Contributor I
Hi,
 
I am working with MPC 5200B on USB stack developemnt
 
I am trying to queue control transfer at endpoint 0. But the transfer does not happen . Following is the sequence of operations I am  doing
 
  1. Seting the clock rate
  2. Configuring primary USB port
  3. giving software rest for OHCI
  4. waiting till OHCI signals reset conplete
  5. Put OHCI in USB_RESET
  6. Write the head endpoint descriptor for control transfer at control head endpont offset register
  7. Write the HCCA location in HCCA register
  8. Put the controller in USB_OPERATIONAL state

On device connect

  1. Reset port
  2. Enable port
  3. Enable control list processing
  4. Enable control list filled

The controller does following things

  1. Transfer the contents from Head poiinnter to current control pointer
  2. Updates frame number(s) in HCCA area.

Problem

  1. The Done queue register contains no transfer descriptor
  2. The HCCA done queue has no update
  3. There is no update on error code in transferr descriptor error queue.

I am attaching the values of all the registers when my code executes.

Please let me know if I am doing any thing wrong. Waiting for response.

 

 

Regards

Siddharth

Labels (1)
0 Kudos
1 Reply

271 Views
PJD
Contributor I
Hi

I'm having the same problem as you. Could you find a solution? Did you finally completed the USB driver?

Thanks in advance.

Regards.
0 Kudos