cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F1 with EasyCAT

ANHTUAN
Associate

Hello~

I am testing my stm32f103rb board with ethercat board(as shown). The trouble i am having is that there is no easycat library to use. I did some research and only found the .cpp easycat library. I'm using stm32ide and written in C language. This is causing me problems. Is there a header .h and source .c library file for easycat? Please help me.

Thank you so much!arduino-uno-rev-3-easycat.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
Andrew Neil
Super User

This: https://www.bausano.net/shop/en/home/1-arduino-ethercat.html ?

 


@ANHTUAN wrote:

only found the .cpp easycat library. I'm using stm32ide and written in C language.

STM32CubeIDE supports C++, and it's possible to have mixed C and C++ projects ...

As @mƎALLEm said, have you contacted the supplier for help with this?

 

They seem targetted at Arduino - there are Arduino cores for STM32:

https://community.st.com/t5/stm32cubeide-mcus/library-and-example-experience-comparible-to-the-arduino-ide/m-p/658827/highlight/true#M26010

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

View solution in original post

2 REPLIES 2
mƎALLEm
ST Employee

Hello,

You may contact the shield manufacturer as he may provide libraries/demos:

https://www.bausano.net/en/hardware/easycat.html

Libraries for Arduino are available at the same page:

SofLit_0-1724144283226.png

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Andrew Neil
Super User

This: https://www.bausano.net/shop/en/home/1-arduino-ethercat.html ?

 


@ANHTUAN wrote:

only found the .cpp easycat library. I'm using stm32ide and written in C language.

STM32CubeIDE supports C++, and it's possible to have mixed C and C++ projects ...

As @mƎALLEm said, have you contacted the supplier for help with this?

 

They seem targetted at Arduino - there are Arduino cores for STM32:

https://community.st.com/t5/stm32cubeide-mcus/library-and-example-experience-comparible-to-the-arduino-ide/m-p/658827/highlight/true#M26010

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.