Skip to main content
ICMosquera
Associate III
January 23, 2023
Question

How to port STM32WB55RG's cable replacement sample firmware to STM32WB55CC MCU.

  • January 23, 2023
  • 3 replies
  • 1604 views

HI Madam Sir,

Had anyone tried to port the cable replacement sample included in the Firmware package to STM32WB55CC? This MCU has different pins and FLASH sizes.

Thank you.

Ian C Mosquera

This topic has been closed for replies.

3 replies

ST Technical Moderator
January 25, 2023

Hello @ICMosquera​ ,

The application runs on STM32WB55xx devices:

STM32CubeWB/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_CableReplacement at master · STMicroelectronics/STM32CubeWB · GitHub

You should follow the pins assignment in the STM32WB55xx datasheet.

I suggest you have a look to this presentation which contains a Hands-On Cable Replacement example.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
ICMosquera
Associate III
July 20, 2023

Hi Maam/Sir,

UPDATE!

I bought the nucleo-WB55 version and managed to test out cable replacement, being the nucleo as the GATT Server and my phone as a peripheral. I even managed to tweak/add some code to send a string of characters to my phone upon pushing SW1, calling UTIL_SEQ_SetTask,(..,MY_TASK,...,MyFunction).

However, I tried this code on my new STM32 Project, the one with .IOC file, copied the code and and tried to mimic all the functions on, app_ble, crs_app, and crs_stm to my own app_ble, custom_app, and custom_stm.

I was able to connect using Serial Bluetooth terminal But when I press down the SW1, it didn't send the string of chars, this works on the cable replacement code though.

Have I forgotten some initialization or GATT declaration regarding this? Its hard for me to trace the cable replacement since this has no project file. 

 

Any help would be appreciated very much.

Thanks,

Ian

 

PS I created a similar thread to this too, hope that will be answered too.

 

STTwo-32
ST Technical Moderator
February 9, 2024

Hello @ICMosquera 

For the migration of your code, I suggest you take a look at this migration guide: AN5805

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.