Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

trouble in sending and recieving message using pic18f

hi ....

im trying to connect between two PIC 18f4580 using CAN protocol ...

im trying to send message and receive it in the second chip .... i have problem using "can_getd" function ...

im using PIC C compiler . 

thank you

0 Kudos
Message 1 of 2
(5,076 Views)

Hi moha_affa,

To be polite, this isn't a great place for your question. If you're using PC side control, or some other way that NI products are involved in your project, you'd have a better chance at success here. The NI forums likely have a few members with uC experience, but it's far from the focus.

 

I'd suggest going to the Microchip forums, they have support forums organized by chip family and also by functional area, such as CAN.

 

http://www.microchip.com/forums/f103.aspx

 

You'll find lots of information, and very knowledgeable experts there.

 

For starters, some more info on your problem will be desired.

-Better description of your problem, at compiling, execution, etc.

-Can you program chip to succesfully run a test program?

-Are you using capacitors across pairs of Vss and Vdd pins?

-Breadboards are generally discouraged for CAN bus connections, so might consider a soldered prototyping board if possible.

 

Those are a couple quick ideas. Try over there though, much better support for PICs.

Good luck,

Mark

 

0 Kudos
Message 2 of 2
(5,067 Views)