Skip to main content
TWood.4
Associate II
June 4, 2024
Solved

Changing UARTs in MXCUBE Transparent Mode Project

  • June 4, 2024
  • 1 reply
  • 1677 views

I'm working with the WB55 Nucleo Transparent Mode project

Is there a simple way of changing the interface in an MXCUBE project from USART1 to LPUART1?

Best answer by STTwo-32

Hello @TWood.4 

On the .ioc file, You have to:

  • Go to STM32_WPAN.
  • GO to the Configuration tab.
  • Under "HW UART", enable both CFG_HW_LPUART1_ENABLED and CFG_HW_LPUART1_DMA_TX_SUPPORTED.
  • Under "Application parameters", select the hw_lpuart1 for the CFG_UART_GUI.

Best Regards.

STTwo-32 

1 reply

STTwo-32
STTwo-32Best answer
Technical Moderator
June 4, 2024

Hello @TWood.4 

On the .ioc file, You have to:

  • Go to STM32_WPAN.
  • GO to the Configuration tab.
  • Under "HW UART", enable both CFG_HW_LPUART1_ENABLED and CFG_HW_LPUART1_DMA_TX_SUPPORTED.
  • Under "Application parameters", select the hw_lpuart1 for the CFG_UART_GUI.

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.
TWood.4
TWood.4Author
Associate II
June 5, 2024

This is great. Is there any way to retarget the project to STM32WB5MMGH6 in MX Cube?

STTwo-32
Technical Moderator
June 5, 2024

Hello @TWood.4 

For such a purpose you have to create a new project. On this new one, migrate the project to this MCU considering his specifications.

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.