2009-06-25 09:07 PM
canfestival for STM32
2011-05-17 04:14 AM
Hello all,
right now I am trying to implement the canfestival(canopen stack) for STM32. And I am having some problem in setting up the canopen stack timer. I was wondering if anybody has used canfestival for STM32. Please let me know Thanks2011-05-17 04:14 AM
I was able to fix my problem.
if anybody is using canfestival or CAN on STM32 and need any help let me know. thanks2011-05-17 04:15 AM
Hi smart.avr,
i've been using canfestival on a XC167 an AVR so far. Now I'm plannung to move to STM32 - and I would very much appreciate if you could publish you canfestival sources. It would help a lot. Any chance you'll post it somewhere or send it by mail ? Regards Frank2011-05-17 04:15 AM
Hello Frank ,
I dont have any plan to publish/mail it but i am ready to help if you get any problem on your way. you can download canfestival and start compiling it the only thing u need is to set up STM32 Can Tx/rec and one STm32 hardware timer. its not hard you can take help from STM32 FWlib. I have compiled canfestival using IAR compiler and so far its working fine.2011-05-17 04:15 AM
Hi smart.avr,
ok. I'll just start implementing the CanFestival and if I should need tips or help, i'll come back to you. Thanks for the offer to help. Regards Frank2011-05-17 04:15 AM
Hi smart.avr,
Some questions about CANfestival. Did you tried to compile it with Keil? And second one - can you post/mail the init routines, and CAN-drivers, you made for STM32 and CANfestival? Thanks.2011-05-17 04:15 AM
No I used IAR compiler. I used these two functions to initialize the CANopen stack,
setNodeId (&STM32Dict_Data,CAN_Node_Id); /* start the canopen stack, it will send the boot up message */ setState(&STM32Dict_Data, Initialisation); First you need to decide if you are a Master or slave device, based on that info you need to define your object dictionary and hook up of hardware timer for canopen stack timer.2011-05-17 04:15 AM
2011-05-17 04:15 AM
Hi dear.
I hope to be fine.
We need CANopen on STM32 under IAR workbench.
Can u release source code for us ?
Thanks.