15 Tutorial 5: Exporting current project configuration to a compatible MCU

Figure 675. Setting Tera Term port parameters

image704

Tutorial 5: Exporting current project configuration to a compatible MCU

15 Tutorial 5: Exporting current project configuration to

a compatible MCU

When List pinout compatible MCUs is selected from the Pinout menu, STM32CubeMX retrieves the list of the MCUs which are compatible with the current project configuration, and offers to export the current configuration to the newly selected compatible MCU.

This tutorial shows how to display the list of compatible MCUs and export your current project configuration to a compatible MCU:

  1. Load an existing project, or create and save a new project:

Figure 676. Existing or new project pinout

image705

  1. Go to the Pinout menu and select List Pinout Compatible MCUs. The Pinout compatible window pops up (see Figure 677 and Figure 678).

If needed, modify the search criteria and the filter options and restart the search process by clicking the Search button.

The color shading and the Comments column indicate the level of matching:

  • Exact match: the MCU is fully compatible with the current project (see Figure 678 for an example).

  • Partial match with hardware compatibility: the hardware compatibility can be ensured but some pin names could not be preserved. Hover the mouse over the desired MCU to display an explanatory tooltip (see Figure 677 for an example).

Tutorial 5: Exporting current project configuration to a compatible MCU

  • Partial match without hardware compatibility: not all signals can be assigned to the exact same pin location and a remapping will be required. Hover the mouse over the desired MCU to display an explanatory tooltip (see Figure 678 for an example).

Figure 677. List of pinout compatible MCUs - Partial match with hardware compatibility

image706

Tutorial 5: Exporting current project configuration to a compatible MCU

  1. Select an MCU to import the current configuration to, and click OK, Import:

Figure 679. Selecting a compatible MCU and importing the configuration

image707

The configuration is now available for the selected MCU:

Figure 680. Configuration imported to the selected compatible MCU

image708

Tutorial 5: Exporting current project configuration to a compatible MCU

  1. To see the list of compatible MCUs, select Outputs under the Window menu.

To load the current configuration to another compatible MCU, double-click the list of compatible MCUs.

  1. To remove some constraints on the search criteria, several solutions are possible:

    • Select the Ignore Pinning Status checkbox to ignore pin status (locked pins).

    • Select the Ignore Power Pins checkbox to not take into account the power pins.

    • Select the Ignore System Pins to not take into account the system pins. Hover the mouse over the checkbox to display a tooltip that lists the system pins available on the current MCU.