• AVR Freaks

Hot!Experimenting with PIC32MX CAN Protocol :

Author
TS9
Super Member
  • Total Posts : 801
  • Reward points : 0
  • Joined: 2010/05/07 10:52:22
  • Status: offline
2019/07/19 07:01:22 (permalink)
0

Experimenting with PIC32MX CAN Protocol :

Hi,
 
I am working on below development setup:
1 ) PIC32MX795F512L CAN - USB PIM 
[Jumper Setting: J10 Short , J1  2-3 Short and J2 2-3 Short )
2) Explore 16 Development Board (Old) 
3) AC164130-2 CAN/LIN PICtail Daughter Board
[Jumper Setting: J14 Short RD6 Side ,  J15  Short RC6 Side , J16 Short RC7 Side , JP5  and JP4 Short )
P1 and P2 connected with DB9 connector so that CAN1L to CAN2L and CAN1H to CAN2 is short together.
 
I am trying to run demo  PIC32 CAN TX RX Code Example as attachment.
But couldn't succeed yet..
 
Am I doing any mistake .. Please Check attachment.. 
--
TS9
 
 
#1

3 Replies Related Threads

    TS9
    Super Member
    • Total Posts : 801
    • Reward points : 0
    • Joined: 2010/05/07 10:52:22
    • Status: offline
    Re: Experimenting with PIC32MX CAN Protocol : 2019/07/19 09:13:01 (permalink)
    0
    Here is my setup images .
     
     

    Attached Image(s)

    #2
    NKurzman
    A Guy on the Net
    • Total Posts : 18034
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: offline
    Re: Experimenting with PIC32MX CAN Protocol : 2019/07/19 09:32:39 (permalink)
    0
    Do you have two Nodes?  It will not work with only one.
    #3
    TS9
    Super Member
    • Total Posts : 801
    • Reward points : 0
    • Joined: 2010/05/07 10:52:22
    • Status: offline
    Re: Experimenting with PIC32MX CAN Protocol : 2019/07/19 09:50:55 (permalink)
    0
    Hi,
     
    Thanks for update ..
    Yes.. CAN1 and CAN2 are two nodes on  AC164130-2 CAN/LIN PICtail Daughter Board .
     
    Is it ? you are asking ..
     
     
    >> I am following read me .txt in the same demo folder .  
    1. Open MPLAB IDE and select File->Import
    2. Select CAN TX RX Code Example.hex file contained in the obj
    directory.
    3. Mount the PIC32 PIM on the Explorer 16 board and insert the
    ECAN PICtail Plus board in the PICtail slot.
    4. Connect CAN node connection cable between CAN2 and CAN1 sockets
    on the ECAN Pictail Plus Board.
    5. Power on the board. Connect the programmer to the board. Choose
    this programmer in MPLAB IDE and then select Programmer->Program.
    6. When the code is running, LED5 and LED6 on the explorer 16 board
    will toggle together
     
     
    --
    TS9
     
     
     
    #4
    Jump to:
    © 2019 APG vNext Commercial Version 4.5