Author |
Message |
Topic: Using a RealTek Ethernet Switch (RTL8305SC) with a PIC |
seidleroni
Replies: 0
Views: 3288
|
Forum: General CCS C Discussion Posted: Fri Nov 06, 2009 8:15 pm Subject: Using a RealTek Ethernet Switch (RTL8305SC) with a PIC |
I'm starting a project using the Realtek RTL8305SC ethernet switch. Does anybody have a good idea of how to use it, some code for it, or even a flow diagram of how it should be used in conjunction wi ... |
Topic: Have used CCS for years, need to use C18 for one project... |
seidleroni
Replies: 8
Views: 8581
|
Forum: General CCS C Discussion Posted: Fri Oct 02, 2009 12:09 pm Subject: Have used CCS for years, need to use C18 for one project... |
What "basic stuff" are you referring to would you have to write yourself? |
Topic: Have used CCS for years, need to use C18 for one project... |
seidleroni
Replies: 8
Views: 8581
|
Forum: General CCS C Discussion Posted: Fri Oct 02, 2009 11:54 am Subject: Have used CCS for years, need to use C18 for one project... |
Yes, but what else did you like (other than #USE RS232) that C18 did NOT have that CCS did have (or vice versa?) |
Topic: Have used CCS for years, need to use C18 for one project... |
seidleroni
Replies: 8
Views: 8581
|
Forum: General CCS C Discussion Posted: Fri Oct 02, 2009 6:13 am Subject: Have used CCS for years, need to use C18 for one project... |
I will be using the "full" version, not the student edition.
What kind of macro's does CCS provide that C18 does not? Would it be terribly difficult to do them myself? Also, I don't bel ... |
Topic: Have used CCS for years, need to use C18 for one project... |
seidleroni
Replies: 8
Views: 8581
|
Forum: General CCS C Discussion Posted: Thu Oct 01, 2009 6:19 pm Subject: Have used CCS for years, need to use C18 for one project... |
I have used CCS's compiler for years (5 years to be exact) and have been very happy with it. However, for a "side job" I am required to use C18. What are some of the things I should know, ... |
Topic: Interrupt Accuracy Question |
seidleroni
Replies: 5
Views: 4463
|
Forum: General CCS C Discussion Posted: Mon May 11, 2009 11:20 am Subject: Interrupt Accuracy Question |
Does that mean that the CCS compiler automatically disables interrupts during those functions, or do I need to do that separately?
Also, I'm not doing any 'move' operations, I don't think. |
Topic: Interrupt Accuracy Question |
seidleroni
Replies: 5
Views: 4463
|
Forum: General CCS C Discussion Posted: Mon May 11, 2009 9:19 am Subject: Interrupt Accuracy Question |
Ttelmah, I'm not sure I understand your first sentence. Do you mean that if I am calling a function in my ISR (let's say function MovePiston() ), then each time my code OUTSIDE of the ISR calls MoveP ... |
Topic: Interrupt Accuracy Question |
seidleroni
Replies: 5
Views: 4463
|
Forum: General CCS C Discussion Posted: Mon May 11, 2009 7:55 am Subject: Interrupt Accuracy Question |
I'm currently working with the PIC18F4685, and I have an interrupt that executes every 0.5 milliseconds (i.e. 2000 times per second). What I'm finding in my code is that sometimes instead of happenin ... |
Topic: A/D (ADC) Question... |
seidleroni
Replies: 4
Views: 4095
|
Forum: General CCS C Discussion Posted: Mon May 04, 2009 12:47 pm Subject: A/D (ADC) Question... |
Yes, but do I have to do that delay manually? I would have thought thats done automatically in the read_adc() function (as long as its returning a paremeter).
Also, what should the TAD value be set ... |
Topic: A/D (ADC) Question... |
seidleroni
Replies: 4
Views: 4095
|
Forum: General CCS C Discussion Posted: Mon May 04, 2009 12:09 pm Subject: A/D (ADC) Question... |
When I set up my ADC, I just do this:
setup_adc_ports( AN0_TO_AN4 | VSS_VREF );
setup_adc(ADC_CLOCK_DIV_32);
set_adc_channel(0);
My first question is: For the " ... |
Topic: CAN Receive interrupt problem - needs RXB0CON.rxful = FALSE |
seidleroni
Replies: 0
Views: 3372
|
Forum: General CCS C Discussion Posted: Mon Feb 23, 2009 4:26 pm Subject: CAN Receive interrupt problem - needs RXB0CON.rxful = FALSE |
Hi everyone,
I am having an odd issue with CAN. The CAN interrupts work and my code works much of the time. However, when I send a lot of messages to CAN, occasionally I find that the CAN receive ... |
Topic: Fixed Point Decimal - How to use ? (_fixed(n)) |
seidleroni
Replies: 2
Views: 5713
|
Forum: General CCS C Discussion Posted: Wed Jan 14, 2009 11:05 am Subject: Fixed Point Decimal - How to use ? (_fixed(n)) |
I see in the manual it lists the _fixed(n) type qualifier. I'm not really sure how to use it. Do I do something like
int_fixed(2) nTest;
for a 2 place decimal value? Then when I use ... |
Topic: CAN Filters - what am I missing? |
seidleroni
Replies: 3
Views: 5047
|
Forum: General CCS C Discussion Posted: Wed Nov 26, 2008 11:54 am Subject: CAN Filters - what am I missing? |
In my code, the filter is letting everything through, regardless of the ID that it is getting. My mask is 0x100FF000 and my filter is 0x10011000. If my ID is 0x10044000, the message is getting throu ... |
Topic: CAN Filters - what am I missing? |
seidleroni
Replies: 3
Views: 5047
|
Forum: General CCS C Discussion Posted: Wed Nov 26, 2008 10:48 am Subject: CAN Filters - what am I missing? |
I am trying to enable CAN filters in my code, but using the "can_enable_filter()" function gives me a "Undefined identifier" error in my compiler. What gives?
Also, I tried wit ... |
Topic: CAN RX isn't working...short code example posted |
seidleroni
Replies: 2
Views: 4727
|
Forum: General CCS C Discussion Posted: Mon Nov 24, 2008 8:14 am Subject: CAN RX isn't working...short code example posted |
I found the problem. my canSetBaud function needs to have one more line in, and then the final function will look like this:
void canSetBaud(void)
{
can_set_mode(CAN_OP_CONFIG& ... |
|