Skip to main content
FZhen.3
Associate II
January 25, 2024
Question

how to control EVSPIN32G4 through usart port

  • January 25, 2024
  • 1 reply
  • 1316 views

Hi there,

I want to use a usart port to control EVSPIN32G4 board,

start,stop,set motor speed,etc, 

where can i find those protocol or code,

X-CUBE-MCSDK_5.Y.4 version.

Thanks。 

    This topic has been closed for replies.

    1 reply

    Andrew Neil
    Super User
    January 25, 2024

    @FZhen.3 wrote:

    where can i find those protocol or code,


    Did you try looking on the Product Page?

    https://www.st.com/en/evaluation-tools/evspin32g4.html#documentation

    https://www.st.com/en/evaluation-tools/evspin32g4.html#tools-software

     

    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.
    cedric H
    Technical Moderator
    January 25, 2024

    Dear @FZhen.3 ,

    Please note that X-CUBE-MCSDK_5.Y.4 version is not supported anymore. the EVSPIN32G4 board is fully supported by the MCSDK 6.2.1.

    The protocol UART protocol used by the version 5.Y and version 6 is the same and fully documented in the documentation provided in the MCSDK 6.2.1 package.

    Regards

    Cedric

    FZhen.3
    FZhen.3Author
    Associate II
    January 26, 2024

    Dear @cedric H

    I have tried MCSDK 6.2.1 many times, the project generated by MCSDK 6.2.1 and cubemx6.5 have a problem when I built the project that I can't solve.

    So I use an older version of MCSDK and cubemx, when generating codes ,still have a problem.

    But MDK5 can built the project without error, and the code can run a motor properly.