Skip to main content
Sleep
Associate II
February 24, 2023
Question

Compile error of position control with Z phase setting in x-cube-mcsdk ver.6.1.0

  • February 24, 2023
  • 3 replies
  • 1150 views

0693W00000aHcAlQAK.jpgIn order to control the position of the motor with x-cube-mcsdk, I set the Z phase (absolute) of the encoder.

However, I got a compilation error as shown in the attached image.

Please teach me how to fix the F/W.

The version of each tool is as follows.

x-cube-mcsdk ver.6.1.0

stm32cubemx ver.6.7.0

stm32cube_fw_f3 ver.1.11.3

IAR ewarm ver.9.30.1

Thank you.

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
February 24, 2023

So likely a missing include file for the low-level functions you're using.

Check stm32f3xx_hal_conf.h or other places files are selected for inclusion.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Sleep
SleepAuthor
Associate II
March 5, 2023

Thank you.

>Check stm32f3xx_hal_conf.h

-->I checked as shown below.

I have EXTI enabled, so I'm assuming this file is fine. is there a problem?

0693W00000aICCkQAO.jpg 

> or other places files are selected for inclusion.

-->Could you tell me which file is suspect?

Thank you.

RIG
Associate III
March 6, 2023

Someone help me!