Author |
Message |
Topic: [CANbus] communication between two nodes with PIC18F2580 |
ambrojohn
Replies: 33
Views: 46389
|
Forum: General CCS C Discussion Posted: Wed Oct 29, 2008 3:06 am Subject: [CANbus] communication between two nodes with PIC18F2580 |
Ok, it works perfectly!!!
Yes, that is what I meant.
One thing, i saw you had changed the pin's of RS232 RX and TX conection,
Do you mean in my example code on the first page? ... |
Topic: [CANbus] communication between two nodes with PIC18F2580 |
ambrojohn
Replies: 33
Views: 46389
|
Forum: General CCS C Discussion Posted: Tue Oct 28, 2008 7:33 am Subject: [CANbus] communication between two nodes with PIC18F2580 |
Do you think I could use the same 20 MHz oscillator for both PICs?
A |
Topic: [CANbus] communication between two nodes with PIC18F2580 |
ambrojohn
Replies: 33
Views: 46389
|
Forum: General CCS C Discussion Posted: Mon Oct 27, 2008 6:04 pm Subject: [CANbus] communication between two nodes with PIC18F2580 |
Have you tried to make it work with the PICs internal oscillator? |
Topic: [CANbus] communication between two nodes with PIC18F2580 |
ambrojohn
Replies: 33
Views: 46389
|
Forum: General CCS C Discussion Posted: Mon Oct 27, 2008 5:56 pm Subject: [CANbus] communication between two nodes with PIC18F2580 |
Many thanks for those informations!
I will try them during next weekend (unfortunately, I have not the board with me).
Now you can transmit via CAN. You could try to send a message from node A ... |
Topic: [CANbus] communication between two nodes with PIC18F2580 |
ambrojohn
Replies: 33
Views: 46389
|
Forum: General CCS C Discussion Posted: Mon Oct 27, 2008 2:43 am Subject: [CANbus] communication between two nodes with PIC18F2580 |
Hello Martinez_pt. I'm happy to listen to you again.
Ok, I got it work.
I used the CCS EX_CAN.C example.
Me too.
I think your problem is on Bit rate, but I can not say any thing for no ... |
Topic: [CANbus] communication between two nodes with PIC18F2580 |
ambrojohn
Replies: 33
Views: 46389
|
Forum: General CCS C Discussion Posted: Fri Oct 03, 2008 1:55 am Subject: [CANbus] communication between two nodes with PIC18F2580 |
I'm waiting for the transceiver's from Microchip to test the bus.
Ok, I'm waiting for your results.
Bye |
Topic: [CANbus] communication between two nodes with PIC18F2580 |
ambrojohn
Replies: 33
Views: 46389
|
Forum: General CCS C Discussion Posted: Thu Oct 02, 2008 1:27 am Subject: [CANbus] communication between two nodes with PIC18F2580 |
Are you talking about AN247?
They have disabled the link....
What the bootloader was used for? Can you explain it to me? |
Topic: [CANbus] communication between two nodes with PIC18F2580 |
ambrojohn
Replies: 33
Views: 46389
|
Forum: General CCS C Discussion Posted: Wed Oct 01, 2008 2:07 am Subject: [CANbus] communication between two nodes with PIC18F2580 |
Hi Martinez_pt
Yes, I know about the correspondence about the chars of the word "hello" and their corresponding ASCI codes in hexadecimal value ;-)
My problem is that, although the sof ... |
Topic: [CANbus] communication between two nodes with PIC18F2580 |
ambrojohn
Replies: 33
Views: 46389
|
Forum: General CCS C Discussion Posted: Mon Sep 29, 2008 7:17 am Subject: [CANbus] communication between two nodes with PIC18F2580 |
Hey ambrojohn, why do you have renamed the file can-18F4580.c to an-18F4580_mod.c ? what modifications have you done ?
Just few modifications during my first trials. Now, can-18F4580.c and can- ... |
Topic: [CANbus] communication between two nodes with PIC18F2580 |
ambrojohn
Replies: 33
Views: 46389
|
Forum: General CCS C Discussion Posted: Sun Sep 28, 2008 9:05 am Subject: [CANbus] communication between two nodes with PIC18F2580 |
Here is the hardware setup I'm using to make this transmitting node to work.
Copy the subsequent link on your browser address tab:
http://ambrojohn.altervista.org/CAN_node_TX.PNG
The code with wh ... |
Topic: [CANbus] communication between two nodes with PIC18F2580 |
ambrojohn
Replies: 33
Views: 46389
|
Forum: General CCS C Discussion Posted: Wed Sep 10, 2008 12:19 pm Subject: [CANbus] communication between two nodes with PIC18F2580 |
Exams finished (for now).
Ok, I will try with crystal oscillator and a lower bitrate.
I have tried to use crystal yet, but I continue to have both CANH and CANL high at the oscilloscope.
To see ... |
Topic: [CANbus] communication between two nodes with PIC18F2580 |
ambrojohn
Replies: 33
Views: 46389
|
Forum: General CCS C Discussion Posted: Mon Sep 01, 2008 4:51 pm Subject: [CANbus] communication between two nodes with PIC18F2580 |
Can't you see the image I link with the schemtic of my hw setup?
I can visualize it from my browser...
I will post the BRGCON register value soon |
Topic: [CANbus] communication between two nodes with PIC18F2580 |
ambrojohn
Replies: 33
Views: 46389
|
Forum: General CCS C Discussion Posted: Sun Aug 31, 2008 3:34 pm Subject: [CANbus] communication between two nodes with PIC18F2580 |
You're perfectly right about the length of my code :-P.
Anyway, it is mostly due to print debug lines on the screen and it isn't actually so complex.
Anyway, even with your code, I can't have a ca ... |
Topic: [CANbus] communication between two nodes with PIC18F2580 |
ambrojohn
Replies: 33
Views: 46389
|
Forum: General CCS C Discussion Posted: Sun Aug 31, 2008 7:40 am Subject: [CANbus] communication between two nodes with PIC18F2580 |
x PCM programmer: I will try the example code you link, thanks.
-------------------------------------------------------
In the meanwhile, I will post my hw and sw setup.
This is my hardware s ... |
Topic: [CANbus] communication between two nodes with PIC18F2580 |
ambrojohn
Replies: 33
Views: 46389
|
Forum: General CCS C Discussion Posted: Fri Aug 29, 2008 2:04 am Subject: [CANbus] communication between two nodes with PIC18F2580 |
I need some hardware and software tips on making two nodes (pic18f2580 + mcp2551) communicate via canbus at 500 kbaud.
Is there anyone who tried to do this?
I will post my HW and SW setup soon.. ... |
|