Search found 19 matches

by Chip7882
Mon Apr 06, 2020 10:23 am
Forum: Flowcode V8
Topic: Compile Linker Error with 2 internal CANs (dspic33ep128gm604)
Replies: 2
Views: 1461

Re: Compile Linker Error with 2 internal CANs (dspic33ep128gm604)

Hello Ben,

Thank you very much for your help, the compile problem is solved with your new file. :D

Best regards
Daniel
by Chip7882
Fri Apr 03, 2020 10:37 am
Forum: Flowcode V8
Topic: Compile Linker Error with 2 internal CANs (dspic33ep128gm604)
Replies: 2
Views: 1461

Compile Linker Error with 2 internal CANs (dspic33ep128gm604)

Hello,
if i use both internal CANs, i get this Error Code..
by Chip7882
Fri Jul 12, 2019 10:37 am
Forum: 16-Bit PIC
Topic: dspic33ep128gm604 CAN BUS Problems
Replies: 24
Views: 18956

Re: dspic33ep128gm604 CAN BUS Problems

Hello Leigh and Ben, i have another Problem with the CAN BUS. In my project i have a CAN to CAN gateway. so i have to send on CAN 2 all messages which i recieved on CAN 1, and the same from CAN 2 to CAN 1. If there are many messages on the BUS sometimes messages get lost. I use "RX Buffer 1". Do you...
by Chip7882
Mon Feb 11, 2019 12:11 pm
Forum: Flowcode V8
Topic: Device support for dspic33CHxxx
Replies: 4
Views: 3781

Re: Device support for dspic33CHxxx

Hello Ben,

do you have any news about this?

Best regards
Daniel
by Chip7882
Wed Jan 09, 2019 9:04 am
Forum: Flowcode V8
Topic: Device support for dspic33CHxxx
Replies: 4
Views: 3781

Re: Device support for dspic33CHxxx

Hi Ben,

that would be awesome :) especially CAN FD looks very interesting for me.

best regards
Daniel
by Chip7882
Tue Jan 01, 2019 10:37 pm
Forum: Flowcode V8
Topic: Device support for dspic33CHxxx
Replies: 4
Views: 3781

Device support for dspic33CHxxx

Hi Flowcode team,

do you plan to support the new dsPIC33CH devices with internal CAN FD controler?

regards
Daniel
by Chip7882
Wed Oct 10, 2018 6:20 pm
Forum: 16-Bit PIC
Topic: dspic33ep128gm604 CAN BUS Problems
Replies: 24
Views: 18956

Re: dspic33ep128gm604 CAN BUS Problems

Hi Leigh,

everything works perfectly now! :D :D

i did the same with "MX_MEMBUF_1[0][0]" for sending on CAN 1.
And when ID > 0x7FF => i use the component "SetTxIdent"

Thank you very much for the your great support 8)

regards
Daniel
by Chip7882
Tue Oct 09, 2018 7:11 pm
Forum: 16-Bit PIC
Topic: dspic33ep128gm604 CAN BUS Problems
Replies: 24
Views: 18956

Re: dspic33ep128gm604 CAN BUS Problems

Hi Leigh, many thanks for your help. :D i have tested it, it works the way you say. "The only thing we cannot do at present is dynamically change the transmit ID mode of a channel, that's something I could have a look into, depending upon if you need it?" => That would be awesome :D I`ve many projec...
by Chip7882
Tue Oct 09, 2018 9:56 am
Forum: 16-Bit PIC
Topic: dspic33ep128gm604 CAN BUS Problems
Replies: 24
Views: 18956

Re: dspic33ep128gm604 CAN BUS Problems

Hello Leigh,

yes i´m expecting both ID types on the same bus and have to send both types on CAN2.

That means I can´t do this with the current component?
Do you plan to change this?

regards
Daniel
by Chip7882
Mon Oct 08, 2018 5:42 pm
Forum: 16-Bit PIC
Topic: dspic33ep128gm604 CAN BUS Problems
Replies: 24
Views: 18956

Re: dspic33ep128gm604 CAN BUS Problems

Hello Leigh, with your CAL_CAN file, i can´t send any message with CAN2. Benj has already fixed this Problem and has sent me a new Version (in his post in this chat). In this file i added the missing ")". => see the atachement Here is receiving and sending with both CAN ok, but only for standard ID`...
by Chip7882
Mon Oct 08, 2018 12:10 pm
Forum: 16-Bit PIC
Topic: dspic33ep128gm604 CAN BUS Problems
Replies: 24
Views: 18956

Re: dspic33ep128gm604 CAN BUS Problems

Hi LeighM,

thanks, compile is ok now.

In the atachement is a simple the program to demonstrate. CAN 1 should receive some messages (extended and also standard IDs) and send this on CAN 2.



regards
Daniel
by Chip7882
Sat Oct 06, 2018 10:09 am
Forum: 16-Bit PIC
Topic: dspic33ep128gm604 CAN BUS Problems
Replies: 24
Views: 18956

Re: dspic33ep128gm604 CAN BUS Problems

Hi LeighM, you`re right, it works when i set the mask and filter values manually. :) The next problem is the ID type setting in CAN 2. When "standard & extended ID" is set, i can not compile (see attachment). => Some ")" were missing in the CAL_CAN file. I fixed this, but the funktion is still not w...
by Chip7882
Fri Oct 05, 2018 2:43 pm
Forum: 16-Bit PIC
Topic: dspic33ep128gm604 CAN BUS Problems
Replies: 24
Views: 18956

Re: dspic33ep128gm604 CAN BUS Problems

Hi LeighM,

thanks for your answer. Ok i will test it and give feedback.

Best regards
Daniel
by Chip7882
Fri Oct 05, 2018 1:02 pm
Forum: 16-Bit PIC
Topic: dspic33ep128gm604 CAN BUS Problems
Replies: 24
Views: 18956

Re: dspic33ep128gm604 CAN BUS Problems

Hello Benj,

when do you think you will have a solution for this issue?


Best regards
Daniel
by Chip7882
Thu Oct 04, 2018 12:38 pm
Forum: 16-Bit PIC
Topic: dspic33ep128gm604 CAN BUS Problems
Replies: 24
Views: 18956

Re: dspic33ep128gm604 CAN BUS Problems

Hello Benj,

do you have any news about the receiving?

regards
Daniel
by Chip7882
Wed Oct 03, 2018 5:55 pm
Forum: 16-Bit PIC
Topic: dspic33ep128gm604 CAN BUS Problems
Replies: 24
Views: 18956

Re: dspic33ep128gm604 CAN BUS Problems

Hi QMESAR, thanks for your help. You`re right, dlc 15 can not be, but i think the CANalyzer shows this because the data from the pic are not plausible. (i`m using Vector CANalyzer) With the last CAL_CAN file from benj is transmitting ok now. The Problem now is the receive part... Best regards Daniel
by Chip7882
Wed Oct 03, 2018 4:09 pm
Forum: 16-Bit PIC
Topic: dspic33ep128gm604 CAN BUS Problems
Replies: 24
Views: 18956

Re: dspic33ep128gm604 CAN BUS Problems

Hello Benj,

ok, can you send me your current CAL_CAN file?

With the CAL_CAN file from your post in the other chat is transmitting with Ch1 ok, Ch2 sends wrong data and 2 different ID`s and I send only one ID.

The ID I want to send is 0xa7...but with the CANalyzer I see ID 0x280 and 0xFC3FC0x...
by Chip7882
Wed Oct 03, 2018 1:11 pm
Forum: 16-Bit PIC
Topic: dspic33ep128gm604 CAN BUS Problems
Replies: 24
Views: 18956

Re: dspic33ep128gm604 CAN BUS Problems

Hello Benj, thanks for your answer. It would be great if there was a solution to this problem soon, as I am under some time pressure and have not progressed for a few days. :| In my project, i have to manipulate data in a CAN network, so the 2nd CAN channel is necessary for me. Thanks for your help ...
by Chip7882
Wed Oct 03, 2018 11:14 am
Forum: 16-Bit PIC
Topic: dspic33ep128gm604 CAN BUS Problems
Replies: 24
Views: 18956

dspic33ep128gm604 CAN BUS Problems

Hello, I´m working with a dsPIC33EP128GM604 and I have Problems with the CAN BUS component (CAN Internal 1 and CAN INternal 2). Internal CAN 1 sends correct Data and correct ID when the Data and the ID in the Component "set tx data" are fix. But when i use variables for the data and the ID, then the...