View previous topic :: View next topic |
Author |
Message |
SBK Guest
|
USBN9603 USB Node & PIC |
Posted: Mon Mar 24, 2003 1:26 am |
|
|
I am trying to communicate PIC with PC over USB. I found
a good code for CCS-C & PIC16F876. It makes the connection
between USBN9603 and PIC over SPI. It is working. I can
see this, PIC configures USBN's default 4MHz clock out to
9.6MHz and activates internal 3.3voltage regulator which
is disabled on power-up. I can also read the internal registers
of USBN and send to PC to probe them.
But I can not make the connection yet.
I can not see anything in D- pin even the usb cable plugged
between PC and board. But there are some slow pulses in D+ pin.
I checked, D- is not shortcutted to anywhere. I added 100nF capacitor
between GND and VCC3.3 pin of USBN. Probably my USBN9603's transceiver
is damaged? But PC found as unknown hardware previous week.
What do you think?
Regards.
___________________________
This message was ported from CCS's old forum
Original Post ID: 12992 |
|
|
hillcraft Guest
|
Re: USBN9603 USB Node & PIC |
Posted: Tue Mar 25, 2003 8:39 am |
|
|
Why don't you rather use a 16C745 or 16C765. Both devices have USB onboard, and the code required to set them up is available from CCS in a demo.
I have used the 16C745 with great success.
I found that, if anything ges wrong with the USB port i.e. a short, or horribly corrupted data, that the PC shuts the entire USB port down. The only way to get the port to restart is to reboot the PC. The PC seems to protect itself from the USB port extremely well.
:=I am trying to communicate PIC with PC over USB. I found
:=a good code for CCS-C & PIC16F876. It makes the connection
:=between USBN9603 and PIC over SPI. It is working. I can
:=see this, PIC configures USBN's default 4MHz clock out to
:=9.6MHz and activates internal 3.3voltage regulator which
:=is disabled on power-up. I can also read the internal registers
:=of USBN and send to PC to probe them.
:=
:=But I can not make the connection yet.
:=
:=I can not see anything in D- pin even the usb cable plugged
:=between PC and board. But there are some slow pulses in D+ pin.
:=I checked, D- is not shortcutted to anywhere. I added 100nF capacitor
:=between GND and VCC3.3 pin of USBN. Probably my USBN9603's transceiver
:=is damaged? But PC found as unknown hardware previous week.
:=
:=What do you think?
:=
:=Regards.
___________________________
This message was ported from CCS's old forum
Original Post ID: 13045 |
|
|
merijn Guest
|
Re: USBN9603 USB Node & PIC |
Posted: Tue Apr 08, 2003 9:08 am |
|
|
Strange ... I found that when you're doing something wrong with USB, it just blows my USB away! Rebooting doesn't help. The USB power supply seems damaged.
Merijn
___________________________
This message was ported from CCS's old forum
Original Post ID: 13498 |
|
|
sly Guest
|
Re: USBN9603 USB Node & PIC |
Posted: Wed Mar 17, 2004 8:58 am |
|
|
Where do you find code for CCS-C who makes the connection
between USBN9603 and PIC over SPI ??
SBK wrote: | I am trying to communicate PIC with PC over USB. I found
a good code for CCS-C & PIC16F876. It makes the connection
between USBN9603 and PIC over SPI. It is working. I can
see this, PIC configures USBN's default 4MHz clock out to
9.6MHz and activates internal 3.3voltage regulator which
is disabled on power-up. I can also read the internal registers
of USBN and send to PC to probe them.
But I can not make the connection yet.
I can not see anything in D- pin even the usb cable plugged
between PC and board. But there are some slow pulses in D+ pin.
I checked, D- is not shortcutted to anywhere. I added 100nF capacitor
between GND and VCC3.3 pin of USBN. Probably my USBN9603's transceiver
is damaged? But PC found as unknown hardware previous week.
What do you think?
Regards.
___________________________
This message was ported from CCS's old forum
Original Post ID: 12992 |
|
|
|
polytch Guest
|
|
|
|