![](http://stamssolution.com/wp-content/uploads/2023/07/螢幕擷取畫面-2023-07-10-141445.png)
MCSDK Json File Description
Preface
MCSDK has added a custom graphical mode in version 6.3.0, making it relatively convenient. However, in version 6.2.X, you need to manually modify the JSON to add custom functions, which is relatively cumbersome. Additionally, you must first ensure that the MCU pins meet the functional requirements. Here, I’ll provide instructions on how to make modifications for custom development in both versions.
MCSDK6.3.0 Board Define
In the latest version 6.3.0 and above, there is a known bug where adding FreeRTOS causes UART to fail to connect properly. If you manually move and modify it, the MCU will enter a HardFault state. However, the addition of a graphical interface on custom boards makes it very convenient to modify.
![](https://stamssolution.com/wp-content/uploads/2024/06/image.png)
![](https://stamssolution.com/wp-content/uploads/2024/06/image-1.png)
The operation is relatively simple: just select the MCU, Power board, or an integrated board based on your requirements
![](https://stamssolution.com/wp-content/uploads/2024/06/image-2-1024x628.png)
![](https://stamssolution.com/wp-content/uploads/2024/06/image-3-1024x614.png)
MCSDK6.2.X Json File
In versions below 6.3.0, it is more troublesome as you need to copy files from the following directory and modify them directly as text.
![](https://stamssolution.com/wp-content/uploads/2024/06/image-4.png)
You can start by copying a development version JSON file to your desktop. After opening it, you can see the supported options for the MCU board and fill in the corresponding pins. However, a quicker method is to directly use the inverter to rewrite it, which is much faster.
![](https://stamssolution.com/wp-content/uploads/2024/06/image-5.png)
With the inverter, it’s more straightforward to adjust the corresponding parameters quickly, as described on the ST website.
![](https://stamssolution.com/wp-content/uploads/2024/06/image-6.png)
![](https://stamssolution.com/wp-content/uploads/2024/06/image-7-1024x540.png)
A small note: for the Power board, you can use the older MCSDK version 5.4.8 for descriptions related to the Shunt resistor values.
![](https://stamssolution.com/wp-content/uploads/2024/06/image-8.png)
![](https://stamssolution.com/wp-content/uploads/2024/06/image-9.png)
![](https://stamssolution.com/wp-content/uploads/2024/06/image-10.png)
To modify the Shunt resistor values, as shown in the picture, you can use a calculator to complete the values.
![](https://stamssolution.com/wp-content/uploads/2024/06/image-11.png)