> >What I want to do is to send and recive data between the PICs. > >One PIC will act as a 'master' and transmit/recive data to/from the others. > >Hardware-wise I will copy the schematic from MCHIP appnote AN247 > Sounds good so far! My raw input voltage from the tramsformer and bridge is 24-30vDC. That should be used directly for the CAN-bus, or would it be better to regulate it to 24vDC with a 7824 first? (AN247 doesnt seems to have it regulated) Maybe less interferance? > >Where do I start software-wise? I really could use some simple code > >if you can share? (Preferably in MPLAB C18 since I will DL the demo > >and try to learn C) > There are a few places at MChip for help with this. A full suite of > CAN routines in PIC18C can be found in AN738. I only play in MPASM so > I cannot tell you how well they work. > >Does this mean that the CAN-bus stuff in the PIC is basically > >useless unless u write a protocol for it? > Not really. An HLP becomes more important as your system gets more > complex. What you describe here shouldn't have any worries. > CAN messages have an 11 or 29 bit identifier. How you use those bits > to get organized and initiate exchanges are the very basics of what > a Higher Level Protocol does. I'd suggest setting all nodes to receive all > messages, then work your way up from there. > > Have Fun, > Lyle Ok AN738 is a good place to start chewing away it seems. Thanxs (i have a feeling ill be back (w more questions) as Arnold says ;) -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics