Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

dsPIC30F4012 CAN interfacing

Status
Not open for further replies.

yvp

Newbie level 4
Joined
Jun 14, 2009
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
kanpur
Activity points
1,419
dspic30f4012

does dspic30f4012 have an inbuilt CAN controller ? what all peripherals do i need to add to get the CAN working? will just adding MCP2551 suffice?
kindly help :(
m stuck!
 

mcp2551 schematic

The 4012 does have a can module and you need a CAN transceiver to interface to the CAN bus which is two wire differential signalling.
The MCP2551 will do the job nicely.
To use can you need at least two nodes to talk to each other.
 

    yvp

    Points: 2
    Helpful Answer Positive Rating
dspic c30 can bus

thanks a lot :) this should do it i guess...
 

can interfacing

If you are using the Microchip MPLAB C30 compiler, attached is a small library of can routines you can use.
 

    yvp

    Points: 2
    Helpful Answer Positive Rating
c30 can bus example

Hardware:
1. pic/dspic(support CAN) + MCP2551
2. pic (un support CAN) + MCP2515 (SPI - CAN) + MCP2551
3. Schematic --> microchip.com (example)
Program:
1. MPLab
2. C30
The lib u can find in folder of C30 (peripheral folder).
 

can bus dspic example

thanks again people :)
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top