Hi Lubin,
I want to use CAN communication between to dsPICs.
They are 30f4011 and 30f 4013. My aim is to send joystick signals from 4011 to 4013 using CAN. and receive them at PC using UART from 4013. Can u please suggest me how to configure CAN blocks??
CAN Communication Between two PIC microcontrollers
-
- Posts: 1
- Joined: Fri Nov 26, 2010 9:23 pm
-
- Site Admin - Expert
- Posts: 616
- Joined: Wed Mar 07, 2007 11:23 pm
- Location: Bayonne- France
- Contact:
Re: CAN Communication Between two PIC microcontrollers
Hello,
I did not build an example with CAN communication yet as I was waiting to suport ECAN to build a demo of CAN peripheral communicating with ECAN. Anyway, I attach the two messy model used at testing time.
I used two 30f4012 dsPIC that communicate throught CAN. I am not sure the two models are in a good shape. The last test I made was I guess to check that one dsPIC could receive the message that it sent. However, modifying just a bit the identifiers reception or emission filters will make you able to make two dsPIC communicating.
Make sure you place the CAN driver chips with the correct pull-up resistor that make the CAN bus workable ! It might be usefull to use a scope for debugging !
Please keep let me know what's happening !
I did not build an example with CAN communication yet as I was waiting to suport ECAN to build a demo of CAN peripheral communicating with ECAN. Anyway, I attach the two messy model used at testing time.
I used two 30f4012 dsPIC that communicate throught CAN. I am not sure the two models are in a good shape. The last test I made was I guess to check that one dsPIC could receive the message that it sent. However, modifying just a bit the identifiers reception or emission filters will make you able to make two dsPIC communicating.
Make sure you place the CAN driver chips with the correct pull-up resistor that make the CAN bus workable ! It might be usefull to use a scope for debugging !
Please keep let me know what's happening !
- Attachments
-
- CAN231.mdl
- (45.45 KiB) Downloaded 742 times
-
- CAN.mdl
- (41.19 KiB) Downloaded 707 times
Who is online
Users browsing this forum: No registered users and 17 guests