Motherboard Forums


Reply
Thread Tools Display Modes

Philips PDIUSBD12 Cannot Poll the interrupt Register

 
 





















MartinGreen
Guest
Posts: n/a

 
      03-09-2005, 10:02 PM


Hi,
I am using the Philips PDIUSBD12.
I am polling the device since I cannot use the interrupt pin.
The part seems to work most of the time though it occassionally gives
bad IN packets during enumeration.
I also can only poll the interrupt register once after enumeration to
see if I am getting an OUT packet. If I poll the interrupt register
after enumeration then I start sending bad or invalid IN packets, does
anyone have any idea what might cause the bad packets after
enumeration?

Thanks,
Martin Green

 
Reply With Quote
 
Leo Havmøller
Guest
Posts: n/a

 
      03-10-2005, 05:43 AM
"MartinGreen" <> wrote in message
news: oups.com...
> Hi,
> I am using the Philips PDIUSBD12.
> I am polling the device since I cannot use the interrupt pin.
> The part seems to work most of the time though it occassionally gives
> bad IN packets during enumeration.
> I also can only poll the interrupt register once after enumeration to
> see if I am getting an OUT packet. If I poll the interrupt register
> after enumeration then I start sending bad or invalid IN packets, does
> anyone have any idea what might cause the bad packets after
> enumeration?


This chip is very buggy and a royal PITA to work with. I have written
drivers for 4 different USB slave chips and this one is just horrible.
But first and formost: Do you have the address/data bus timing right? It
needs some very long delays (500-600 ns). See table 17 and figure 18 in the
datasheet.

Leo Havmøller.


 
Reply With Quote
 
MartinGreen
Guest
Posts: n/a

 
      03-11-2005, 03:33 PM
Hi,
Thanks for writing back.
I did as you asked and checked the timing, I am using an embedded 8051,
the fastest I can do anything is ~500uS and I looked at the long
delays, I am well within spec.
The wierd thing is that I can do all the enumeration (although I get
bad packets), but if I poll the interrupt register it gets messed up.

I appreciate your response, maybe you can shed some more light on this
problem.

Thanks,
Martin

 
Reply With Quote
 
Wim Lewis
Guest
Posts: n/a

 
      03-12-2005, 11:00 PM
In article <422fde9b$0$21754$> ,
Leo Havmøller <leh@-nospam-rtx.dk> wrote:
>This chip is very buggy and a royal PITA to work with. I have written
>drivers for 4 different USB slave chips and this one is just horrible.
>But first and formost: Do you have the address/data bus timing right? It
>needs some very long delays (500-600 ns). See table 17 and figure 18 in the
>datasheet.


Interesting to hear. I was just looking at the PDIUSBD11 or -12 for
something. Maybe I'd better look at some more alternatives. Do you
have better experiences with some other USB slave chips of this
sort?

--
Wim Lewis <>, Seattle, WA, USA. PGP keyID 27F772C1
 
Reply With Quote
 
MartinGreen
Guest
Posts: n/a

 
      03-16-2005, 10:03 PM
Hi,
unfortuneatley this is the only chip I have tried to act as an external
usb device.
Martin

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT. The time now is 08:05 AM.

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