CAN Calculator Tool Released on Libstock!
Re: CAN Calculator Tool Released on Libstock!
Hi,
can this application be changed to allow lower bus speeds? I am interested in 16.6Kbps.
Many thx.
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!
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.
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!
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,
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,
- Attachments
-
- canculator.png (52.18 KiB) Viewed 167652 times
- janko.kaljevic
- Posts: 3565
- Joined: 16 Jun 2011 13:48
Re: CAN Calculator Tool Released on Libstock!
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.
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!
Hello,
Perfekt!
Thanks for your answer.
Regards,
Perfekt!
Thanks for your answer.
Regards,
Re: CAN Calculator Tool Released on Libstock!
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..
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..
Read it - Figure it - Share it
Re: CAN Calculator Tool Released on Libstock!
Hi,
Please, can you explain what changes in the user interface would you make in order to be more easier to use ?
Regards,
Filip.
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!
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..
not really a problem thou as it is for seasoned users..
Read it - Figure it - Share it
Re: CAN Calculator Tool Released on Libstock!
Hi,
Thank you for your proposal, I shall pass it to our developers.
Regards,
Filip.
Thank you for your proposal, I shall pass it to our developers.
Regards,
Filip.
-
- Posts: 5
- Joined: 12 Mar 2014 13:02
Re: CAN Calculator Tool Released on Libstock!
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
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
-
- Posts: 5
- Joined: 12 Mar 2014 13:02
Re: CAN Calculator Tool Released on Libstock!
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!
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.
Thanks
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.
Thanks
Re: CAN Calculator Tool Released on Libstock!
Hi,
Please, can you attach here the project that demonstrates this issue ?
Regards,
Filip.
Please, can you attach here the project that demonstrates this issue ?
Regards,
Filip.
Re: CAN Calculator Tool Released on Libstock!
I am attaching the project settings herewith.filip wrote:Hi,
Please, can you attach here the project that demonstrates this issue ?
Regards,
Filip.
But my question is, whether the Microchip data sheet CAN baud calculation is same with CANculator?
Please find attached the datasheet page also.
Thanks
- Attachments
-
- CAN_Baud_PIC.jpg (404.31 KiB) Viewed 134038 times
-
- Project_settings.jpg (221.02 KiB) Viewed 134038 times
Re: CAN Calculator Tool Released on Libstock!
Hi,
It would be best if you could send us the complete project so we can see where the error is.
Regards,
Filip.
It would be best if you could send us the complete project so we can see where the error is.
Regards,
Filip.