Skip to main content
karlchansen
Associate
February 26, 2020
Question

Port SPN3 motor-control examples to DK2?

  • February 26, 2020
  • 12 replies
  • 3882 views

We are considering using a combination of the stm32mp157 and several powerSTEP01 devices in a system with multiple stepper-motors.

The X-NUCLEO-IHM03A1 plugs into the -DK2 just fine, but the SPN3 examples only work on the F0xx, F3xx, F4xx, and L0xx series.

Attempts to port one of the examples to the stm32mp157C-DK2 have not worked.

  1. Where can we get information on porting one platform's (e.g. F4xx) "arduino-style" connector to the stm32mp157C-DK2 "arduino-style" connector?
  2. Has anyone ported other code from the F0/F3/F4/L0 that uses the "arduino-style" connector onto the connector on the stm32mp157C-DK2?
    1. If so, can the code be shared, or the process documented?

We are approaching the GO/NOGO point of using the stm32mp1 and the powerSTEP01. Time is critical on this.

This topic has been closed for replies.

12 replies

Olivier GALLIEN
ST Technical Moderator
March 3, 2020

Hi @karlchansen​ 

Please pay attention that using MP1 in Production mode the resource management is perform on Linux side.

Refer to :

https://wiki.st.com/stm32mpu/wiki/Resource_manager_for_coprocessing

In order to put this aside for a first step and ease the debug, I recommend you to mature the coproc firmware using the engineering boot mode.

Please refer to :

https://wiki.st.com/stm32mpu/wiki/STM32CubeMP1_development_guidelines

Hope it help,

Olivier

In order 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.
karlchansen
Associate
March 14, 2020

Thanks for the file. I have been firefighting another project and am just now getting back to this one. I'll be taking a look at it this weekend.

I have also been dabbling in arduino on the M4-side of the stm32mp1. It looks like @Bumsik Kim​ has put a lot of work into getting the arduino core working on the stm32mp1, and the company megunolink (https://github.com/Megunolink) has created an arduino library for the powerSTEP01. I am hoping the combination works and will make my tests much simpler.