Page 1 of 1
CANopen for STM32F072
Posted: Wed Dec 02, 2015 2:25 am
by DeusExMachina
Hi all,
Since the announcement of stm32f072 with the CAN module, it seems that CANopen community must grab this MCU for all possible projects. But, alas, I can't find any example both for CANopennode or CANfestival open source stacks. Can anybody share some example with CANopen stack + Chibios? Or just point some example...
Thanks!
Re: CANopen for STM32F072
Posted: Thu Dec 03, 2015 12:16 am
by DeusExMachina
Well, eventually it works with CANopennode. It was not easy, because the stack was written for PIC MCUs.
Re: CANopen for STM32F072
Posted: Thu Dec 03, 2015 9:11 am
by Giovanni
Sorry I could not help, I have no direct experience with that.
Giovanni
Re: CANopen for STM32F072
Posted: Thu Dec 03, 2015 8:42 pm
by E-B Felix
DeusExMachina wrote:eventually it works with CANopennode
It should work easy becasue there is already a port for the STM32F1xx controllers.
The CANopennode stack is written in C. There are only two hw-specific files (CO_driver.h and CO_driver.c)
I sougest to run the CANopennode in a task
Cheers
Felix
Re: CANopen for STM32F072
Posted: Thu Nov 10, 2016 4:58 pm
by Predator72
Giovanni... Do you have an example using STM32F3DISCOVERY board? What application can I have to use to create my own Object Dictionary in the microcontroller? Thanks a lot. Ciao.
Re: CANopen for STM32F072
Posted: Thu Nov 10, 2016 5:09 pm
by Giovanni
Hi,
All examples are included in the ChibiOS distribution under /testhal/STM32/STM32F3xx. The examples are also included in ChibiStudio.
Giovanni
Re: CANopen for STM32F072
Posted: Tue Nov 15, 2016 8:50 am
by Predator72
Hello Giovanni. I've installed ChibiStudio but I don't know how to insert the Projects related to HAL libraries you've indicated... Can you specify a link to download them (for STM32F3 possibile)? Thank you very much.
Re: CANopen for STM32F072
Posted: Tue Nov 15, 2016 9:14 am
by Giovanni
All examples are already included in ChibiStudio and you can see them all in the project explorer.
Giovanni