cancel
Showing results for 
Search instead for 
Did you mean: 

How to connect 3-4SEL to SPI2_CLK on STWINKT1B Eval Board?

DLim.16
Associate II

Hi,

I would like to have SPI2_CLK signal available on the CN2 connector (STMod+ interface) on the STWINKT1B eval board. Based on the schematic, looks like one can activate SPI2_CLK signal on STMOD4 via the 3-4SEL pin on the STG3692 digital switch. But I don't know how to do that and what to set up on the STM32CubeIDE side, can someone please help?

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Peter BENSCH
ST Employee

All you need to do is to set 3-4SEL of the STG3692 to 1 (high) to close the switch 3S1 to STMOD4.

3-4SEL is connected to pin B8 (PD1) of the STM32L4R9ZIJ6.

Just insert into your program something like

HAL_GPIO_WritePin(GPIOD, GPIO_PIN_1, GPIO_PIN_SET);

or similar, e.g. using your predefined pin name, to set the pin PD1 to 1.

Good luck!

Regards

/Peter

In order 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.

View solution in original post

2 REPLIES 2
Peter BENSCH
ST Employee

All you need to do is to set 3-4SEL of the STG3692 to 1 (high) to close the switch 3S1 to STMOD4.

3-4SEL is connected to pin B8 (PD1) of the STM32L4R9ZIJ6.

Just insert into your program something like

HAL_GPIO_WritePin(GPIOD, GPIO_PIN_1, GPIO_PIN_SET);

or similar, e.g. using your predefined pin name, to set the pin PD1 to 1.

Good luck!

Regards

/Peter

In order 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.
DLim.16
Associate II

It turns out I have to set pin PF14 instead of PD1 because that's what 3-4SEL is actually connected to. It works now, thanks Peter!

0693W00000HqoG1QAJ.png