Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

Porting a ModusToolbox™ PSoC™ 62 family device project to PSoC™ 61 – KBA238399

Porting a ModusToolbox™ PSoC™ 62 family device project to PSoC™ 61 – KBA238399

RodolfoGL
Employee
Employee
250 solutions authored 250 sign-ins 5 comments on KBA

Currently, Infineon does not provide any PSoC™ 61 evaluation boards. Therefore, use a PSoC™ 62 evaluation board, such as the CY8CKIT-062S2-43012, for development purposes, and then port it to use a PSoC™ 61 device.

However, during the development phase it is important to note the following differences between PSoC™ 61 and PSoC™ 62 , so that the porting to PSoC™ 61 is straightforward.

1. Use single core (CM4 only): PSoC™ 61 is a single-core device, while PSoC™ 62 is a dual-core device. When creating a project for PSoC™ 62, ensure writing code only for the CM4 core.

2. Use the SLEEP pre-built CM0+ image:  Even if you don’t write any code to the PSoC™ 62 CM0+ project, there are still a few options of pre-built CM0+ images to choose from in ModusToolbox™, such as the CM0P_CRYPTO, CM0P_SECURE and CM0P_SLEEP. Ensure you select CM0P_SLEEP, which is the default option that comes with the BSP. For more information, see this page.

3. Select a compatible package/part: Most of the PSoC™ 62 devices have a similar PSoC™ 61 device in terms of package (number of pins and footprint compatible) and functionality (equivalent peripherals). Ensure you know the specific PSoC™ 61 device to be ported, so you can select only the peripherals available on the new device. The following table lists the PSoC™ 6 evaluation boards, their PSoC™ 62 part number, and an equivalent PSoC™ 61 part number.

PSoC™ 6 evaluation board

PSoC™ 62 in use

PSoC™ 61 equivalent

CY8CPROTO-062-4343W

CY8C624ABZI-S2D44

CY8C614ABZI-S2F44

CY8CKIT-062-WIFI-BT

CY8C6247BZI-D54

CY8C6137BZI-F54

CY8CKIT-062S2-43012

CY8C624ABZI-S2D44

CY8C614ABZI-S2F44

CY8CPROTO-062S3-4343W

CY8C6245LQI-S3D72

CY8C6145LQI-S3F72

CY8CPROTO-062S2-43439

CY8C624ABZI-S2D44

CY8C614ABZI-S2F44

CY8CKIT-062S4

CY8C6244LQI-S4D92

CY8C6144LQI-S4F92

CY8CEVAL-062S2

CY8C624ABZI-S2D44

CY8C614ABZI-S2F44

Note that you can use a different part number if not all the features/pins are used on these devices.

Once you have a functional ModusToolbox™ project working with the guidelines above, you can switch the project to use a PSoC™ 61 BSP by using the BSP Assistance tool. Follow these steps:

1. Open the BSP assistance tool. This tool is located at <install_dir>ModusToolbox/tools_<version>/bsp-assistant/.

2. Click on “Open a BSP” and select the PSoC™ 62 BSP folder you used for development.

3. On the left side, click on Name > Devices. On the right side, you can choose the new MCU/SOC/SIP. Pick the PSoC™ 61 device you would like to use.

4. Press the “Save” button.

5. You might need to fix some Device-Configurator-related issues. To do so, open the Device Configurator tool for the modified BSP and fix any discrepancies between the old and new MCUs.

6. Build the project and test with your hardware that uses the PSoC™ 61 device.

For more information about the BSP Assistant, read the BSP Assistant user guide (Help > View Help).

211 Views