2025-04-10 4:40 AM
I used a custom development board, chip model STM32G474 to develop functions related to dual motor control, but when producing the cubemx project, the tip: Unable to generate ioc file due to: Negative index not allowed: -1...
Version info:
MC Workbench: 6.3.0
WB_to_Mx: 6.2.3.template-24-04-17
STM32CubeMX: 6.10.0
MC Firmware Library: 6.3.0-Full
Project attachment (.stwb6) and control board configuration file (.json) in attachment, suffix changed to TXT due to upload restrictions
2025-04-11 4:53 AM
Hello @daniaoday,
Thank you for your problem report. Issue will be corrected for next delivery.
In the meantime, you can work around this problem by using a current sensing configuration with 1 ADC for motor 2.