Author |
Message |
Topic: Please, help me run pic16f1827 at 32 MHz |
KT315
Replies: 3
Views: 6397
|
Forum: General CCS C Discussion Posted: Wed Oct 31, 2012 12:12 am Subject: Please, help me run pic16f1827 at 32 MHz |
Ttelmah, thank you very much!
There's a strange behavior, 32 MHz reach only when OSC_16MHZ set in oscillator setup. Datasheet says 8 should be. Not a matter.
Once more, thanks! |
Topic: 18F2550 usb connection to PC |
KT315
Replies: 3
Views: 6482
|
Forum: General CCS C Discussion Posted: Tue Oct 30, 2012 8:23 am Subject: 18F2550 usb connection to PC |
If you need only data, the better variant is ex_usb_hid.
Your device wold be defined as standard and no drivers needed. But you'll need a bit more special software for your PC.
With ex_usb_serial yo ... |
Topic: Please, help me run pic16f1827 at 32 MHz |
KT315
Replies: 3
Views: 6397
|
Forum: General CCS C Discussion Posted: Tue Oct 30, 2012 12:28 am Subject: Please, help me run pic16f1827 at 32 MHz |
Hello!
I Have a pic16f1827(
#include <16F1827.h>
#device adc=8
#FUSES NOWDT, INTRC_IO, PUT, NOPROTECT, MCLR, NOCPD, BROWNOUT, IESO, FCMEN,
#FUSES NOCLKOUT, NOWRT, STVREN, BORV25, NODEBU ... |
Topic: USB HID library error? |
KT315
Replies: 21
Views: 21637
|
Forum: General CCS C Discussion Posted: Wed Nov 25, 2009 2:43 pm Subject: USB HID library error? |
The device doesn't work with ZOTAC ION ITX A Series (E) motherboard under Win7 at all. Not recognized by OS.
But works succesfully works with most computers. |
Topic: USB HID library error? |
KT315
Replies: 21
Views: 21637
|
Forum: General CCS C Discussion Posted: Tue Nov 24, 2009 8:51 am Subject: USB HID library error? |
I'm using 4.093 and not able to compile with 4.099.
What if I ask you to compile my project?
just to try |
Topic: USB HID library error? |
KT315
Replies: 21
Views: 21637
|
Forum: General CCS C Discussion Posted: Mon Nov 23, 2009 7:26 pm Subject: USB HID library error? |
Oh, that's so logic that CPUDIV2 means that cpu frequency'll be divided by 3.
Now I know why I should use such clock parameter.
But the problem of bad recognition still exists. |
Topic: USB HID library error? |
KT315
Replies: 21
Views: 21637
|
Forum: General CCS C Discussion Posted: Mon Nov 23, 2009 4:19 pm Subject: USB HID library error? |
Hi!
I had a pause in creating the device, and now I continue... I still have problems with usb recognition on some computers.
That was surprise for me with the clock I need to write:
20 MHz - HSP ... |
Topic: USB HID library error? |
KT315
Replies: 21
Views: 21637
|
Forum: General CCS C Discussion Posted: Tue Nov 03, 2009 8:39 am Subject: USB HID library error? |
compiler 4.093
18f2550, Three computers with OS: win7, xp, xp
('bad' means there are more than 1 error device recognition per 5 connections)
20 MHz - HSPLL, USBDIV, PLL5, CPUDIV4 - win7 - good/ x ... |
Topic: USB HID library error? |
KT315
Replies: 21
Views: 21637
|
Forum: General CCS C Discussion Posted: Tue Nov 03, 2009 1:31 am Subject: USB HID library error? |
... for 18f2550 |
Topic: USB HID library error? |
KT315
Replies: 21
Views: 21637
|
Forum: General CCS C Discussion Posted: Tue Nov 03, 2009 1:30 am Subject: USB HID library error? |
There can be only one point where I can interfere with usb - I've added timer0 interrupt.
I toggles led on and off.
By the way, don't tell me that there can be no errors in ccs! Timer0 DIV_128 and ... |
Topic: USB HID library error? |
KT315
Replies: 21
Views: 21637
|
Forum: General CCS C Discussion Posted: Tue Nov 03, 2009 12:48 am Subject: USB HID library error? |
Thanks, but I have already read about this in datasheet. I always read it before I want to create something.
Datasheet says that my device can be low-speed and a speed. As I don't need hi-speed tra ... |
Topic: USB HID library error? |
KT315
Replies: 21
Views: 21637
|
Forum: General CCS C Discussion Posted: Mon Nov 02, 2009 5:56 pm Subject: USB HID library error? |
Error code 10
It seems that the device is not recognised when microcontroller clock frequency is other than 48 MHz
I use 20 MHz crystal -> HSPLL -> PLLDIV5 -> CPUDIV# |
Topic: USB HID library error? |
KT315
Replies: 21
Views: 21637
|
Forum: General CCS C Discussion Posted: Mon Nov 02, 2009 5:31 pm Subject: USB HID library error? |
Sorry for poor english
In XP:
"USB device was not recognized"... An yellow ballon near to tray.
In device manager I see exclamation sign near hid device icon. |
Topic: USB HID library error? |
KT315
Replies: 21
Views: 21637
|
Forum: General CCS C Discussion Posted: Mon Nov 02, 2009 2:15 pm Subject: USB HID library error? |
Hi! I've found a strange feature of your usb library:
When I connect my device to computer with Win7 it's always defined by OS.
When I connect it to computer with winXP, it can be defined, and can b ... |
Topic: Different hid descriptors in one device |
KT315
Replies: 3
Views: 4137
|
Forum: General CCS C Discussion Posted: Thu Oct 29, 2009 2:59 am Subject: Different hid descriptors in one device |
Emm.. Thanks!
And will there be any effect if i just change
const char USB_CLASS_SPECIFIC_DESC[] ...
const int16 USB_CLASS_SPECIFIC_DESC_LOOKUP[USB_NUM_CONFIGURATIONS][1 ... |
|