Page 2 of 3

Re: CAN Calculator Tool Released on Libstock!

Posted: 07 Apr 2013 22:16
by atq
Hi,

can this application be changed to allow lower bus speeds? I am interested in 16.6Kbps.

Many thx.

Re: CAN Calculator Tool Released on Libstock!

Posted: 12 Apr 2013 13:40
by filip
Hi,

The CAN standard offers baud rates from 50 Kbit/s to 1 Mbit/sec, it cannot be used with 16.6Kbit/s.

Regards,
Filip.

Re: CAN Calculator Tool Released on Libstock!

Posted: 02 Jul 2013 11:26
by Scorpio
Hi,

When I use this application, I put the following parameters (please see the attached picture).

And When I use CAN init code generated into my test code, I get baudrate 250Kb/s instead of 500Kb/s :?:

Please can you explain me my mistake ?

thanks for your help.

regards,

Re: CAN Calculator Tool Released on Libstock!

Posted: 03 Jul 2013 10:27
by janko.kaljevic
Hello,

Yes this is an error when CANSPI and AVR controllers are selected.
In this case it generates double baud, as you noted.

Thanks for reporting this. It will be fixed for the next version of Canculator.

In meantime you can select other architecture (like PIC) and you will get correct calculation and generated code will compile.

Best regards.

Re: CAN Calculator Tool Released on Libstock!

Posted: 03 Jul 2013 11:02
by Scorpio
Hello,

Perfekt!
Thanks for your answer.

Regards,

Re: CAN Calculator Tool Released on Libstock!

Posted: 18 Nov 2013 10:57
by PaulC
Seems to do the same for me..
but when i fill in settings in left hand column , then press calculate does the right hand side appear..
then when you select the CAN data parameters the requested code appears in the copy box..
may be a bit confusing for some but it does work.. ( Win7 64bit )..
this way has to be done each time you open up cancalculator..
excellent tool
thank you to the designer..

Re: CAN Calculator Tool Released on Libstock!

Posted: 19 Nov 2013 11:08
by filip
Hi,

Please, can you explain what changes in the user interface would you make in order to be more easier to use ?

Regards,
Filip.

Re: CAN Calculator Tool Released on Libstock!

Posted: 19 Nov 2013 11:52
by PaulC
would be easier for newcomers to see whole interface, as it can be confusing seeing it after info has been input, as it is an excellent tool, and would be easier to learn when seeing everything at the beginning..
not really a problem thou as it is for seasoned users..

Re: CAN Calculator Tool Released on Libstock!

Posted: 20 Nov 2013 12:09
by filip
Hi,

Thank you for your proposal, I shall pass it to our developers.

Regards,
Filip.

Re: CAN Calculator Tool Released on Libstock!

Posted: 19 Mar 2014 14:26
by Ing.Giovanni.Vitale
Good evening,
mikromedia 5 for TIVA support the CAN bus?
you have to use libraries other than the default in mikroC PRO 4.2.0?
thanks for your time

Re: CAN Calculator Tool Released on Libstock!

Posted: 19 Mar 2014 16:41
by Ing.Giovanni.Vitale
I tried to run the example code, it gives me error in the initialization parameter exactly the type of module. Which command line should be inserted?

Re: CAN Calculator Tool Released on Libstock!

Posted: 26 May 2014 05:35
by jkjoy
Hello,
I am not getting proper bitrate with this application.
In the attached snapshot, I used PIC with 20MHz for 50kbps baudrate. But when I calculate with data sheet formula, I get only 45,454bps..!
I had problem communicating with another CAN controller, then only I noticed it.
CANculator.jpg
CANculator.jpg (209.07 KiB) Viewed 134028 times
Thanks

Re: CAN Calculator Tool Released on Libstock!

Posted: 26 May 2014 13:08
by filip
Hi,

Please, can you attach here the project that demonstrates this issue ?

Regards,
Filip.

Re: CAN Calculator Tool Released on Libstock!

Posted: 27 May 2014 05:16
by jkjoy
filip wrote:Hi,

Please, can you attach here the project that demonstrates this issue ?

Regards,
Filip.
I am attaching the project settings herewith.
But my question is, whether the Microchip data sheet CAN baud calculation is same with CANculator?
Please find attached the datasheet page also.


Thanks

Re: CAN Calculator Tool Released on Libstock!

Posted: 27 May 2014 15:11
by filip
Hi,

It would be best if you could send us the complete project so we can see where the error is.

Regards,
Filip.