Skip to main content
Explorer
August 20, 2024
Solved

STM32F1 with EasyCAT

  • August 20, 2024
  • 2 replies
  • 1377 views

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

    Best answer by Andrew Neil

    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

     

    2 replies

    mƎALLEm
    Technical Moderator
    August 20, 2024

    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
    Andrew NeilBest answer
    Super User
    August 20, 2024

    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.