Author |
Message |
Topic: Crystal Problems - OT |
imbue
Replies: 12
Views: 18046
|
Forum: General CCS C Discussion Posted: Sun Jan 08, 2006 3:54 pm Subject: Crystal Problems - OT |
Here is a link to where I bought these crystals. [url=https://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&storeId=10001&catalogId=10001&productId=324267]Jameco They d ... |
Topic: Crystal Problems - OT |
imbue
Replies: 12
Views: 18046
|
Forum: General CCS C Discussion Posted: Sat Jan 07, 2006 1:29 am Subject: Crystal Problems - OT |
Thanks for your reply, but I'm not sure that I understand you. You are giving the formula for capacitors in series; I don't have any in series. I am just running each leg of the crystal to ground thro ... |
Topic: Crystal Problems - OT |
imbue
Replies: 12
Views: 18046
|
Forum: General CCS C Discussion Posted: Fri Jan 06, 2006 12:01 pm Subject: Crystal Problems - OT |
I've heard similar things from other people about crystals being flaky. Still, I have trouble blaming the crystal alone. Back when I was just learing electronics, when something wouldn't work, I would ... |
Topic: Crystal Problems - OT |
imbue
Replies: 12
Views: 18046
|
Forum: General CCS C Discussion Posted: Fri Jan 06, 2006 1:00 am Subject: Crystal Problems - OT |
This is slightly off topic, being mostly about crystals, but I know that a lot of you guys have extensive experience and I'm hoping you can help me.
I am running an 18F2455 using a 20MHZ crystal wi ... |
Topic: Capacitive sensor |
imbue
Replies: 6
Views: 10128
|
Forum: General CCS C Discussion Posted: Tue Nov 15, 2005 11:57 am Subject: Capacitive sensor |
Just playing around, I have had good luck with nothing more than a single pull-up resistor. First, tie the pin to power though a high value resistor (around 1M). Then just drive then pin low and time ... |
Topic: USB and RS232 PC Emulation |
imbue
Replies: 7
Views: 9966
|
Forum: General CCS C Discussion Posted: Mon Aug 29, 2005 2:32 am Subject: USB and RS232 PC Emulation |
I am also missing the file. To get the examples working, I modified the inf file provided by microchip with their CDC code. All that needs to be changed is the PID & VID so it matches what is comp ... |
Topic: USB and RS232 PC Emulation |
imbue
Replies: 7
Views: 9966
|
Forum: General CCS C Discussion Posted: Thu Aug 25, 2005 12:07 pm Subject: USB and RS232 PC Emulation |
CCS just recently added the CDC examples and drivers, maybe a month or so ago. Update to the latest version and it'll be in the same place you found ex_usb_hid. |
Topic: USB and RS232 PC Emulation |
imbue
Replies: 7
Views: 9966
|
Forum: General CCS C Discussion Posted: Mon Aug 22, 2005 12:33 pm Subject: USB and RS232 PC Emulation |
For a virtual com port you want a Communication Device Class (CDC). CCS has a driver, usb_cdc.h, and a couple examples, ex_usb_serial.c and ex_usb_serial2.c. |
Topic: #fuses options |
imbue
Replies: 1
Views: 3641
|
Forum: General CCS C Discussion Posted: Sat Aug 20, 2005 1:50 am Subject: #fuses options |
This is different for each device.
From the help file:
A list of all valid options has been put at the top of each devices .h file in a comment for reference. The PCW device edit utility can modi ... |
Topic: 18F2455 Problems |
imbue
Replies: 9
Views: 12230
|
Forum: General CCS C Discussion Posted: Sun May 29, 2005 8:20 pm Subject: 18F2455 Problems |
Alright, I emailed them. |
Topic: 18F2455 Problems |
imbue
Replies: 9
Views: 12230
|
Forum: General CCS C Discussion Posted: Sun May 29, 2005 5:28 pm Subject: 18F2455 Problems |
I changed the XINST fuse to NOXINST and now everything works perfectly. I would still be interested in why this is though, and why CCS makes XINST the default for a new project if it breaks eveything. ... |
Topic: 18F2455 Problems |
imbue
Replies: 9
Views: 12230
|
Forum: General CCS C Discussion Posted: Sun May 29, 2005 5:05 pm Subject: 18F2455 Problems |
Can someone please explain this error message to me?
The Extended CPU Mode configuration bit is enabled, but the program that was loaded was not built using extended CPU instructions.
Whenever I ... |
Topic: 18F2455 Problems |
imbue
Replies: 9
Views: 12230
|
Forum: General CCS C Discussion Posted: Sun May 29, 2005 4:39 pm Subject: 18F2455 Problems |
When I move #use delay before the #fuses then the RS-232 only receives garbage (a mix of 0x00 and 0x80). When I then add setup_oscillator things return to working just like before I made any changes.
... |
Topic: 18F2455 Problems |
imbue
Replies: 9
Views: 12230
|
Forum: General CCS C Discussion Posted: Sat May 28, 2005 12:50 pm Subject: 18F2455 Problems |
Thanks for your input. I've read before not to waste time in interrupts, but this program was just a quick hack to try and demonstrate my problem with. It also seems that the interrupt never gets call ... |
Topic: 18F2455 Problems |
imbue
Replies: 9
Views: 12230
|
Forum: General CCS C Discussion Posted: Sat May 28, 2005 2:21 am Subject: 18F2455 Problems |
I am working on my first 18F project, and it's giving me a lot of trouble. I am running into several problems, and I'm not sure if they are related or not. When I program the PIC, delay_ms() doesn't s ... |
|