Skip to main content
SidPrice
Associate III
June 17, 2025
Solved

Starting with X-Nucleo-67W61M1 in CubeMX

  • June 17, 2025
  • 2 replies
  • 369 views

I am setting up a project using CubeMX to evaluate the 67W61M1 device, using a Nucleo-F411RE. As far as I can tell the X-NUCLEO-67W61M1 needs SPI1 of the Nucleo for communication. Unfortunately, the Nucleo has SWO (PB3) where SPI1_SCK and while I see a solder bridge that can remove SWO from the STLink-OB, I do not see a way of disabling the SWO connection to PB3.

I tried resetting the state of PB3 in Cube MX and then I can enable SPI, however the "SYS" module then issues a warning about a conflict with SPI1 full duplex master.

Is this the correct way to configure SPI1 and Serial Debug?

Sid

Best answer by STTwo-32

Hello @SidPrice 

The PB3 can be set as SPI1_SCK or SWO. I think the warning that you are seeing means that you can configure the SWO but you still can configure the Debug feature without SWO (that is expected since the pin is set for the SPI interface). 
Best Regards.

STTwo-32

2 replies

STTwo-32
STTwo-32Best answer
Technical Moderator
June 17, 2025

Hello @SidPrice 

The PB3 can be set as SPI1_SCK or SWO. I think the warning that you are seeing means that you can configure the SWO but you still can configure the Debug feature without SWO (that is expected since the pin is set for the SPI interface). 
Best Regards.

STTwo-32

SidPrice
SidPriceAuthor
Associate III
June 17, 2025

@STTwo-32 Thank you, I will ignore the warning.

Sid