CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

USBN9603 USB Node & PIC

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
SBK
Guest







USBN9603 USB Node & PIC
PostPosted: Mon Mar 24, 2003 1:26 am     Reply with quote

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
PostPosted: Tue Mar 25, 2003 8:39 am     Reply with quote

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
PostPosted: Tue Apr 08, 2003 9:08 am     Reply with quote

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
PostPosted: Wed Mar 17, 2004 8:58 am     Reply with quote

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







PostPosted: Tue Apr 20, 2004 7:58 pm     Reply with quote

I've found probably the one he mentioned.
http://www.picfun.com/equipj54.html
be careful, it's a Japanese webpage.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group