steval-esc001v1 with sdk 5.1.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-07-10 06:36 AM
I find it a bit disappointing that there is no addon to sdk 5.1.1 for STEVAL-ESC001V1 and yet the board are still being sold. They are also being sold as RS485/UART/I2C/PWM platforms but the firmware does not handle I2C.
Modifying JSON databases in the new 5.1.1 install I was easily able to get the board listed in the motor profiler.
Copying the rest of the resources I was also able to get the profiler to program the firmware and connect to the board.
Profiling motors and saving these also work.
Importing the old STMCWB project asked to convert it to new format and I let it do so.
Exporting for IAR EWARM format also worked after installing Java and the latest CubeMX.
Building the new software worked and debugging it I find that somehow USART configuration is basing of wrong clock or somehow configuring wrong. Actual baud on tx from card shows it runs at 230400 baud when code sais 115200.
Motor profiler expects 115200 so modifying software to set 115200/2 worked and Profiler was able to interrogate card.
It still fails.
Debugging interrogation finds the MC_PROTOCOL_CODE_GET_REG of register MC_PROTOCOL_REG_SC_CHECK fails. Code appears to not have this part at all.
Searching through original code I find the entire section for motor profiling to have been removed by the import and regeneration of project via Motor Control Workbench.
Using the Monitor functionality instead I can see that the comms work and card is now running firmware revision 'ST MC SDK Ver. 5.1.1'. Further more I find the bus voltage to be 'over voltage' and listed as 22.
It appears that gains or somehting for adc is now also mismatched.
It appears that building is now done for wrong mcu (ST STM32F302R8) while the chip on the STEVAL-ESC001V1 is STM32F303CBT7. I suspect there is multiple differences causing configuration errors.
This is as far as I have gotten so far, any insight would be of great value...
Solved! Go to Solution.
- Labels:
-
STM32 Motor Control
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-07-11 02:31 AM
Downloaded Motor Control Workbench 5.1.3 now which DOES support STEVAL-ESC001V1 and created blank new project. Exported project to IAR EWARM and buildt! It worked immediately!
Good work guys (and gals?)!
Still only USART support but at least now it can be modified!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-07-11 02:31 AM
Downloaded Motor Control Workbench 5.1.3 now which DOES support STEVAL-ESC001V1 and created blank new project. Exported project to IAR EWARM and buildt! It worked immediately!
Good work guys (and gals?)!
Still only USART support but at least now it can be modified!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-07-11 12:15 PM
You should note that bus voltage sensing with the STEVAL-ESC001V1 is NOT supported in v5.1.3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-15 01:20 AM
The question has been moved from the "Motor Control Hardware" section to the "STM32 Motor Control" section (the question is about the STM32 MC SDK).
Best regards