Hi @gtop.1 ,
As stated by @unknown , please read the doc :grinning_face:.
STSPIN32F0 threshold is configured with 2 GPIOs pins. OCTH_STBY1 and OCTH_STBY2, if you open your IOC you will see them:

The configuration of those pins is done in the main.c
static void MX_GPIO_Init(void)
...
/**/
GPIO_InitStruct.Pin = OCTH_STBY2_Pin;
GPIO_InitStruct.Mode = LL_GPIO_MODE_OUTPUT;
GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_LOW;
GPIO_InitStruct.OutputType = LL_GPIO_OUTPUT_PUSHPULL;
GPIO_InitStruct.Pull = LL_GPIO_PULL_DOWN;
LL_GPIO_Init(OCTH_STBY2_GPIO_Port, &GPIO_InitStruct);
/**/
GPIO_InitStruct.Pin = OCTH_STBY1_Pin;
GPIO_InitStruct.Mode = LL_GPIO_MODE_OUTPUT;
GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_LOW;
GPIO_InitStruct.OutputType = LL_GPIO_OUTPUT_PUSHPULL;
GPIO_InitStruct.Pull = LL_GPIO_PULL_DOWN;
LL_GPIO_Init(OCTH_STBY1_GPIO_Port, &GPIO_InitStruct);
Regards
Cedric