Created Sun, 22 Sep 2013 21:04:59 +0000 by AJoao
Sun, 22 Sep 2013 21:04:59 +0000
Hi, I dont know how to compile the "RTCC_Demo.pde" on examples folder of RTCC library. I was instaled the RTCC library of "Majenko Technologies" on my computer: "C:\mpide-0023-windows-20130715.\hardware\pic32\libraries". When I compile this example, the mpide give me the following errors: "C:\mpide-0023-windows-20130715.\hardware\pic32\libraries\RTCC\RTCC.cpp:19:15: error: variable or field '__ISR' declared void C:\mpide-0023-windows-20130715.\hardware\pic32\libraries\RTCC\RTCC.cpp:19:30: error: 'ipl3' was not declared in this scope C:\mpide-0023-windows-20130715.\hardware\pic32\libraries\RTCC\RTCC.cpp:271:1: error: expected '}' at end of input" If I put "#include <plib.h>" in RTCC.cpp dont appears any errors but the RTCC dont work!!!! Any body can help me? Thank you in advance. Best regards, AJoao
Mon, 23 Sep 2013 09:08:32 +0000
The RTCC.cpp file shoule have
#include <sys/attribs.h>
at the top of it.
There is a newer version in my Embedded Libs collection here: [url]https://github.com/majenkotech/embeddedlibs/tree/master/chipKIT/RTCC[/url]
Fri, 10 Jan 2014 04:02:57 +0000
I too had the same issue, now it compiles, but still no interrupts on the Fubarino SD v1.5.
I was told to add a crystal, which i got from sparkfun. Am I missing anything?
Fri, 10 Jan 2014 04:10:00 +0000
I too had the same issue, now it compiles fime on the Fubarino SD V1.5.
I was told to add a crystal, which I got from SparkFun and soldered in.
No interrupts, Am I missing something?
Fri, 10 Jan 2014 05:46:25 +0000
Unlike the Uno32 the FubarinoSD does NOT have the capacitors installed, You will need to install the two (trim?) capacitors to allow the crystal to resonate. The value is determined by the crystal. The physical size is 0603. I found them very hard to install,but I'm not very talented. Haven't had time to sort out enabling registers.
Fri, 10 Jan 2014 10:46:09 +0000
Also, the capacitors need to match the crystal. The crystal's documentation will have a "load" capacitance. You need to ensure your capacitors are as close to that value as possible. It'll be in the region of around 10pF to 50pF, and is crystal dependant.
Fri, 10 Jan 2014 16:21:51 +0000
Close. The correct value for the load capacitors is determined by a formula that includes the crystal's capacitance and several other factors. See for example [url]http://forum.allaboutcircuits.com/showthread.php?t=9215[/url]
Having said that, I've not had much luck just going with the 'computed' value. Instead, I keep a range of caps on hand, and start with the computed value and change them out with different values until it works right.
*Brian