03-06-2015 08:44 AM
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
03-06-2015 04:25 PM
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