2021-11-29 02:50 PM
Dear ST MCSDK team,
We are using MC SDK 5.Y.2 and have a conflict between our custom ADCs drivers and ASPEP protocol. Aspep init the UART that use DMA and conflict with our DMA usage with ADC.
We can't find anywhere to disable ASPEP / MCP Protocol in the Motor Control Workbench ?
We can't either find a place to change it's configuration (using MCP over STLNK).
Are we missing something ?
Best Regards,
Antoine
2021-11-30 05:18 AM
Hello @ANICO.1 ,
For the time being, the easiest way to disable the MCPV2 is to load the IOC generated file with MX, and uncheck all boxes related to MCP and ASPEP like in the attached screenshot.
the usage of MCP over STLNK is not ready yet for production and not currently supported by the motorPilot. So you will not have the possibility to connect your board through the UART.
For the WB 6, we plan to complete the support of the MCP V2 over STLNK, this will offer a fall back solution for all cases where DMA allocations are in conflict.
Regards
Cedric
2021-12-01 05:31 AM
Hello @cedric H, thank you for your quick reply. Following your procedure, we succeeded to disable MCP. There are still a few traces of MCP in the generated code. We had to remove mcp_config.c from our build as it was using a macro from aspep.h file that isn't generated anymore. The files mcp.c, mcpa.c and mcptl.c were also still generated in the "Lib" parts but were not causing any errors.
Regards,
Antoine
2021-12-01 05:35 AM
Hello @ANICO.1 ,
Thanks for the notification, we will do our best to be able to remove it completely with the Workbench 6.
Regards
Cedric