Author |
Message |
Topic: PIC18F24J50 and internal RTC |
a21
Replies: 5
Views: 13076
|
Forum: General CCS C Discussion Posted: Tue Jan 18, 2011 12:07 pm Subject: PIC18F24J50 and internal RTC |
Solved |
Topic: PIC18F24J50 and internal RTC |
a21
Replies: 5
Views: 13076
|
Forum: General CCS C Discussion Posted: Tue Jan 18, 2011 9:49 am Subject: PIC18F24J50 and internal RTC |
I made some changes:
main.h:
#include <18F24J50.h>
#FUSES NOWDT //No Watch Dog Timer
#FUSES WDT128 //Watch Dog Timer uses 1:128 Postscale
#FUS ... |
Topic: PIC18F24J50 and internal RTC |
a21
Replies: 5
Views: 13076
|
Forum: General CCS C Discussion Posted: Tue Jan 18, 2011 8:55 am Subject: PIC18F24J50 and internal RTC |
Here is the thing. I am using 4MHZ with PLL primary oscillator because of the USB (and it is working). I have another crystal on T1OSI/T1OSO which is 32.768KHz. I want to use the RTCC with this crysta ... |
Topic: PIC18F24J50 and internal RTC |
a21
Replies: 5
Views: 13076
|
Forum: General CCS C Discussion Posted: Tue Jan 18, 2011 5:21 am Subject: PIC18F24J50 and internal RTC |
Hi,
I have problem with the internal RTC. Here are part of my code:
main.h
#include <18F24J50.h>
#FUSES NOWDT //No Watch Dog Timer
#FUSES WDT128 //W ... |
Topic: PIC18F24J50 and USB |
a21
Replies: 6
Views: 13491
|
Forum: General CCS C Discussion Posted: Mon Jan 17, 2011 3:06 pm Subject: PIC18F24J50 and USB |
There is no 'simple' interrupt from USB. There are dozens of transactions going on all the time, which have to be handled or the interface doesn't work. This is what the USB code does. If you wanted t ... |
Topic: PIC18F24J50 and USB |
a21
Replies: 6
Views: 13491
|
Forum: General CCS C Discussion Posted: Mon Jan 17, 2011 2:11 pm Subject: PIC18F24J50 and USB |
Ok, I did it. But I have another question (... again). How can I use the interrupt from usb? I don't want to have something like:
while(1)
{
if (usb_kbhit(1))
... |
Topic: PIC18F24J50 and USB |
a21
Replies: 6
Views: 13491
|
Forum: General CCS C Discussion Posted: Sun Jan 16, 2011 11:47 am Subject: PIC18F24J50 and USB |
It is ok now and Windows enumerates it. But have another problem. I get the HID code for C# from Microchip. It detects when the device is plug/unplug by its VID&PID, but when I try to write to the ... |
Topic: PIC18F24J50 and USB |
a21
Replies: 6
Views: 13491
|
Forum: General CCS C Discussion Posted: Fri Jan 14, 2011 1:13 pm Subject: PIC18F24J50 and USB |
Thanks. I will try it with 4MHz clock. |
Topic: PIC18F24J50 and USB |
a21
Replies: 6
Views: 13491
|
Forum: General CCS C Discussion Posted: Fri Jan 14, 2011 11:33 am Subject: PIC18F24J50 and USB |
Hi,
I want to connect PIC18F24J50 to the pc by USB. The datasheet says that it must be a capacitor on Vusb pin (ex. 0.1uF). I put 1uF SMD. When I plug it in the USB the Windows says that it can not r ... |
Topic: PIC18F2580 and USB |
a21
Replies: 1
Views: 4145
|
Forum: General CCS C Discussion Posted: Sat May 01, 2010 9:44 am Subject: PIC18F2580 and USB |
Hi,
Could anybody post some library or example code for usb communication with PIC18F2580? I can't find anywhere such code. |
|