Author |
Message |
Topic: Problem with A/D - code included - please help |
PeterDove
Replies: 8
Views: 10413
|
Forum: General CCS C Discussion Posted: Tue Jan 23, 2007 5:51 pm Subject: Problem with A/D - code included - please help |
Yes, you need a common ground connection between the two devices.
Thanks a lot for your help - I was just hoping I could mash the circuits together but looks like I will need to build a whole new c ... |
Topic: Problem with A/D - code included - please help |
PeterDove
Replies: 8
Views: 10413
|
Forum: General CCS C Discussion Posted: Tue Jan 23, 2007 5:38 pm Subject: Problem with A/D - code included - please help |
Do you have a ground connection between the Gnd pin on the Memec
and the Vss pin (i.e., ground) on the PIC ?
No, do I need this, do I need to put a line between the ground of the PIC and the groun ... |
Topic: Problem with A/D - code included - please help |
PeterDove
Replies: 8
Views: 10413
|
Forum: General CCS C Discussion Posted: Tue Jan 23, 2007 5:22 pm Subject: Problem with A/D - code included - please help |
Post your compiler version. It's a number such as 3.191, 3.249, 4.020,
etc. You can find it at the top of the .LST file, which is in your project
directory. Don't post any numbers that come a ... |
Topic: Problem with A/D - code included - please help |
PeterDove
Replies: 8
Views: 10413
|
Forum: General CCS C Discussion Posted: Tue Jan 23, 2007 4:12 pm Subject: Problem with A/D - code included - please help |
#use delay(clock=48000000)
void main() {
long temp;
usb_init();
while(!usb_cdc_connected()) {}
setup_adc_ports( AN0_TO_AN1 | VSS_VDD );
setup_adc(ADC_CLOCK_DIV_8 );
set_adc_channel( ... |
Topic: Problem with A/D - code included - please help |
PeterDove
Replies: 8
Views: 10413
|
Forum: General CCS C Discussion Posted: Tue Jan 23, 2007 8:49 am Subject: Problem with A/D - code included - please help |
Hi All,
I have some problem with some A/D code I have written. I have 1.2ish Volts applied to AN1/RA1 on my PIC18F2550. I did not use AN0/RA0 ( is this a problem )
Now all I get is various rando ... |
Topic: Device could not be started - Serial/USB example |
PeterDove
Replies: 0
Views: 2825
|
Forum: General CCS C Discussion Posted: Fri Jan 19, 2007 9:58 am Subject: Device could not be started - Serial/USB example |
Hi All,
I am compiling the serial/USB example and I have now managed to get it uploaded to the PIC and also my USB circuit is working as when I plug it into the USB port of my PC the PC installs a ... |
Topic: USB Circuit example - help needed |
PeterDove
Replies: 6
Views: 6788
|
Forum: General CCS C Discussion Posted: Wed Jan 17, 2007 4:20 pm Subject: USB Circuit example - help needed |
Start with needing some decoupling on the Vdd-Vss connection close to the PIC. Something like 100uF, paralleled with 0.1uF.
The, you will need to comment out the lines in the source, dealing with US ... |
Topic: USB Circuit example - help needed |
PeterDove
Replies: 6
Views: 6788
|
Forum: General CCS C Discussion Posted: Wed Jan 17, 2007 4:18 pm Subject: USB Circuit example - help needed |
Hi, the first thing i would do is change C3 to somthing more like a 470uf cap, see how you go then.
Have fun , Mark
470uF ? not 470nF ? Just a non-polarised capacitor?
Thanks
Peter |
Topic: USB Circuit example - help needed |
PeterDove
Replies: 6
Views: 6788
|
Forum: General CCS C Discussion Posted: Wed Jan 17, 2007 3:03 pm Subject: USB Circuit example - help needed |
Hi All,
I built this small USB circuit for my PIC18F2455 - I have now been able to compile and upload the examples to the PIC. However nothing happens at all in windows, no drivers get installed, n ... |
Topic: PIC18F2455 USB Problem / problem with programmer too |
PeterDove
Replies: 1
Views: 3390
|
Forum: General CCS C Discussion Posted: Wed Jan 17, 2007 12:28 pm Subject: Re: PIC18F2455 USB Problem / problem with programmer too |
Hi All,
I am using a ART2003 programmer which is specifically targeted to the PIC18F2455 chips. If I use a simple C program then WINPIC800 will load up the program to the PIC fine, but as soon as I ... |
Topic: PIC18F2455 USB Problem / problem with programmer too |
PeterDove
Replies: 1
Views: 3390
|
Forum: General CCS C Discussion Posted: Wed Jan 17, 2007 10:55 am Subject: PIC18F2455 USB Problem / problem with programmer too |
Hi All,
I am using a ART2003 programmer which is specifically targeted to the PIC18F2455 chips. If I use a simple C program then WINPIC800 will load up the program to the PIC fine, but as soon as I ... |
Topic: USB, PIC18F2550, 12Mhz Crystal |
PeterDove
Replies: 1
Views: 4304
|
Forum: General CCS C Discussion Posted: Sat Jan 06, 2007 11:30 am Subject: USB, PIC18F2550, 12Mhz Crystal |
Hi,
I am attempting to run the USB example, adjusting it for the PIC18F2550 and I would like to know if someone could tell me the setup ( or if it is possible ) to get the chip to run at 48Mhz from ... |
|