Author |
Message |
Topic: GPS reading: lat & lon points inside a predefined circle |
Birdasaur
Replies: 7
Views: 12330
|
Forum: General CCS C Discussion Posted: Wed Sep 15, 2004 11:41 am Subject: Square is easier than a circle |
I've done bounding box checks using a similar GPS module and a 16f877. Not that this answers your original question but if you could, I would use a square that tightly fits your circle area. Bound ... |
Topic: What's a good software to design a circuit board? |
Birdasaur
Replies: 35
Views: 42754
|
Forum: General CCS C Discussion Posted: Tue Aug 17, 2004 6:56 am Subject: Protel's Libraries are key |
The board layout guy on my team uses Protel DXP. He says having moved to that from Orcad has saved him a TON of time. All the points that were mentioned above are quite valid, but he says its the li ... |
Topic: Reading from PCI Configuration registers |
Birdasaur
Replies: 3
Views: 9582
|
Forum: General CCS C Discussion Posted: Mon Aug 16, 2004 10:52 am Subject: update |
I have figured out from reading the data sheet of the PCI device that in order to perform a Configuration read, AD[0:1] must be 00 and the address you read from should be in AD[2:7]. Doing so certai ... |
Topic: Reading from PCI Configuration registers |
Birdasaur
Replies: 3
Views: 9582
|
Forum: General CCS C Discussion Posted: Fri Aug 13, 2004 2:40 pm Subject: BTW |
Sorry, I forgot to mention that I'm using a PIC18 series on a custom board with connections to match the PCI Interface spec. |
Topic: Reading from PCI Configuration registers |
Birdasaur
Replies: 3
Views: 9582
|
Forum: General CCS C Discussion Posted: Fri Aug 13, 2004 2:13 pm Subject: Reading from PCI Configuration registers |
Hey everyone, I snooped around on here for some clues but didn't see anything...
I'm trying to read the Configuration space on a PCI device. I've written a function which selects the PCI device vi ... |
Topic: PIC 18F452 problem |
Birdasaur
Replies: 6
Views: 14060
|
Forum: General CCS C Discussion Posted: Fri Aug 06, 2004 9:24 am Subject: PIC 18F452 problem |
After changing the Fuse statement appropriately, how would we access PIN_A6?
add a manual define to your file like
#define PIN_A6 31750
??
I ask because it isn't really available anywhere ... |
Topic: Question about SPI Write |
Birdasaur
Replies: 5
Views: 17081
|
Forum: General CCS C Discussion Posted: Thu May 06, 2004 1:17 pm Subject: Use the SPI interrupt |
You gotta be careful when you enable any interrupts, but if you take the slave code and drop it in an SPI interrupt handler, your slave can go about its business.
Be careful with interrupts as th ... |
Topic: spi_read() |
Birdasaur
Replies: 5
Views: 15360
|
Forum: General CCS C Discussion Posted: Wed Apr 21, 2004 6:57 am Subject: spi_read() |
Well... technically we're talking about PIC to PIC SPI communication, not I2C, and I have personally done a lot of searching and code posting myself for PIC to PIC SPI communication. (Check Birdasaur ... |
Topic: Having trouble using an AD7829 with a PIC 18f8620 |
Birdasaur
Replies: 3
Views: 12233
|
Forum: General CCS C Discussion Posted: Thu Jan 22, 2004 11:26 am Subject: Good points that raise a few questions |
I'm assuming you are trying to run in "mode 1" where the CONVST- is not being used to both convert and power down. That is correct.
1) Select your input first. I made this change.
2) Pulse ... |
Topic: Having trouble using an AD7829 with a PIC 18f8620 |
Birdasaur
Replies: 3
Views: 12233
|
Forum: General CCS C Discussion Posted: Thu Jan 22, 2004 7:46 am Subject: Having trouble using an AD7829 with a PIC 18f8620 |
Hey hey everybody!
Does anyone out there have any experience using the A/D device AD7829 with a PIC. This is my first time using an External A/D with a PIC, so go easy on me. I think I'm followin ... |
Topic: Porting Timer0 code from 16f877 to 18f8620 |
Birdasaur
Replies: 10
Views: 9640
|
Forum: General CCS C Discussion Posted: Tue Jan 20, 2004 7:25 am Subject: Full example that works |
Ok so I went and tried it and this works, thanks to Mark for pointing out the way.
#define INTS_PER_SECOND 76 //Processor and clock specific
#define LED0 PIN_J0
int8 int_count=0;
int8 da ... |
Topic: Porting Timer0 code from 16f877 to 18f8620 |
Birdasaur
Replies: 10
Views: 9640
|
Forum: General CCS C Discussion Posted: Mon Jan 19, 2004 8:45 am Subject: Code example... |
Could you or anyone else out there lay down a quick code example for us on forcing timer0 into 8bit mode? |
Topic: I regret my comments. |
Birdasaur
Replies: 14
Views: 29908
|
Forum: General CCS C Discussion Posted: Mon Jan 19, 2004 7:45 am Subject: pashaw... |
This forum would have never made it without PCM Programmer. It seems like every post in here is touched by this person.
PCM Programmer... you are a reallllllll americannnn heeerrrooooo!!! |
Topic: Porting Timer0 code from 16f877 to 18f8620 |
Birdasaur
Replies: 10
Views: 9640
|
Forum: General CCS C Discussion Posted: Mon Jan 19, 2004 7:38 am Subject: Anyone have an example... |
I see that mentioned in the help files but I don't quite get it. (The 8bit options for timer0 on the 18xxxx series...)
Does anyone out there happen to use the timer0 in this manner? (setting it ... |
Topic: Porting Timer0 code from 16f877 to 18f8620 |
Birdasaur
Replies: 10
Views: 9640
|
Forum: General CCS C Discussion Posted: Sat Jan 17, 2004 9:48 am Subject: Use Timer2 instead of Timer0 |
I suppose you could use Timer2 instead of Timer0, then the code would work fine.
Timer0 became a 16bit counter on the 18xxxx series, which screws up the math, although I don't know how act ... |
|