I am using dsPIC33FJ128GP710 and dsPIC33FJ256GP710 development boards. The 128 development board CAN communication is good but the 256 development board CAN communication is problem.
while i am using same oscillator configuration, CAN configuration settings. ie., the 256 development board transmitting the CAN message with some other identifier and datas. This CAN message frame is also not matching with 128 CAN message frame.
Please help me....
Reg : dsPIC33FJ256GP710 board CAN communication problem.
- janko.kaljevic
- Posts: 3565
- Joined: 16 Jun 2011 13:48
Re: Reg : dsPIC33FJ256GP710 board CAN communication problem.
Hello,
Both controllers use the same ECAN library. So there is no reason for any difference in behavior.
Please check all of the settings and configurations.
Also you can check our CAN examples for dsPIC33FJ128GP710 and dsPIC33FJ256GP710A in examples folder in compiler.
Those are the same example and they work fine.
Best regards.
Both controllers use the same ECAN library. So there is no reason for any difference in behavior.
Please check all of the settings and configurations.
Also you can check our CAN examples for dsPIC33FJ128GP710 and dsPIC33FJ256GP710A in examples folder in compiler.
Those are the same example and they work fine.
Best regards.
Re: Reg : dsPIC33FJ256GP710 board CAN communication problem.
Hi janko,
I am using microC PRO for dsPIC compiler and same code for both dsPIC33FJ128GP710 and dsPIC33FJ256GP710 boards.
The 128 TX board send CAN message contains
ID = 0x01
DLC = 0x08
Datas = 0x01,0x02,0x40,0x80,0x10,0x20,0x40 and 0x80
These ID,DLC and datas are received in another 128 RX board. The same setup is not working with 256 board.
The 256 TX send some other ID,DLC and datas....
here i am attached my CAN TX and RX code file...
Please check it and Thanks for your replay.....
I am using microC PRO for dsPIC compiler and same code for both dsPIC33FJ128GP710 and dsPIC33FJ256GP710 boards.
The 128 TX board send CAN message contains
ID = 0x01
DLC = 0x08
Datas = 0x01,0x02,0x40,0x80,0x10,0x20,0x40 and 0x80
These ID,DLC and datas are received in another 128 RX board. The same setup is not working with 256 board.
The 256 TX send some other ID,DLC and datas....
here i am attached my CAN TX and RX code file...
Please check it and Thanks for your replay.....
- Attachments
-
- ECAN_RX.rar
- (88.74 KiB) Downloaded 323 times
-
- ECAN_TX.rar
- (85.53 KiB) Downloaded 343 times
- janko.kaljevic
- Posts: 3565
- Joined: 16 Jun 2011 13:48
Re: Reg : dsPIC33FJ256GP710 board CAN communication problem.
Hello,
I was able to make the dsPIC33FJ256GP710A work with your project without any issues.
I really do not see what cause cause the problem at your side.
Please if you can post here your project with dsPIC33FJ256 controller.
Best regards.
I was able to make the dsPIC33FJ256GP710A work with your project without any issues.
I really do not see what cause cause the problem at your side.
Please if you can post here your project with dsPIC33FJ256 controller.
Best regards.
Re: Reg : dsPIC33FJ256GP710 board CAN communication problem.
Hi Janko,
I have not included CAN communication in my project yet. Before including the CAN communication code in my project, i have just checked CAN communication. We are using dsPIC33FJ256GP710 instead of dsPIC33FJ256GP710A
Is there any difference between dsPIC33FJ256GP710 and dsPIC33FJ256GP710A Microcontroller in CAN communication...?
Thanks for your reply.
I have not included CAN communication in my project yet. Before including the CAN communication code in my project, i have just checked CAN communication. We are using dsPIC33FJ256GP710 instead of dsPIC33FJ256GP710A
Is there any difference between dsPIC33FJ256GP710 and dsPIC33FJ256GP710A Microcontroller in CAN communication...?
Thanks for your reply.
- janko.kaljevic
- Posts: 3565
- Joined: 16 Jun 2011 13:48
Re: Reg : dsPIC33FJ256GP710 board CAN communication problem.
Hello,
I have tested your code with dsPIC33FJ256GP710A controller and it works fine.
Also Microchip recommends this controller instead of dsPIC33FJ256GP710.
And you can and should check errata documents for both controllers to see differences between them.
Best regards.
I have tested your code with dsPIC33FJ256GP710A controller and it works fine.
Also Microchip recommends this controller instead of dsPIC33FJ256GP710.
And you can and should check errata documents for both controllers to see differences between them.
Best regards.
Re: Reg : dsPIC33FJ256GP710 board CAN communication problem.
Hi Janko,
I saw both dsPIC33FJ256GP710 and dsPIC33FJ256GP710A errata documents. In dsPIC33FJ256GP710 MC having this incorrect ID and data
transmission problem. But dsPIC33FJ256GP710A MC is also having some other ECAN issues...
I get one dsPIC33FJ256GP710A MC, then i will check my code on this MC for ECAN communication...
Thank you and your supporting team....
I saw both dsPIC33FJ256GP710 and dsPIC33FJ256GP710A errata documents. In dsPIC33FJ256GP710 MC having this incorrect ID and data
transmission problem. But dsPIC33FJ256GP710A MC is also having some other ECAN issues...
I get one dsPIC33FJ256GP710A MC, then i will check my code on this MC for ECAN communication...
Thank you and your supporting team....
Re: Reg : dsPIC33FJ256GP710 board CAN communication problem.
Hello... I have a code working on dspic33fj256gp710 but unable to work on dspic33fj256gp710A.... Can someone help me and tell me what is the difference please?
- nadir.celebic
- mikroElektronika team
- Posts: 465
- Joined: 15 Jun 2016 13:19
Re: Reg : dsPIC33FJ256GP710 board CAN communication problem.
Hi @Mirghani,
Please check on the link below:
http://www.microchip.com/wwwproducts/Pr ... J256GP710A
I have answered you on the ticket.
I suggest to continue our correspondence there.
Regards,
Nadir
Please check on the link below:
http://www.microchip.com/wwwproducts/Pr ... J256GP710A
I have answered you on the ticket.
I suggest to continue our correspondence there.
Regards,
Nadir