STM32WLE5 doesn't work SubGhz module on custom board
Hello,
I create a custom board from the reference MB1791.
But when I try to run an example for the Lora SubGhz module - it doesn't work, no interrupt, no transmit to the antenna (watch in SDR).
I ran this example code with RAK3172 (also a custom board) and this code works.
Voltage V 1.5 = 1.5V on the board
I try to run without TXCO, but RAK3172 also doesn't have TXCO
..\Core\lib\BSP\stm32wlxx_nucleo_radio.h
..\Core\lib\BSP\stm32wlxx_nucleo_radio.c
#define RF_SW_CTRL2_PIN GPIO_PIN_13
#define RF_SW_CTRL2_GPIO_PORT GPIOC
#define RF_SW_CTRL2_GPIO_CLK_ENABLE() __HAL_RCC_GPIOC_CLK_ENABLE()
#define RF_SW_CTRL2_GPIO_CLK_DISABLE() __HAL_RCC_GPIOC_CLK_DISABLE()int32_t BSP_RADIO_IsTCXO(void)
{
return RADIO_CONF_TCXO_NOT_SUPPORTED;
}
int32_t BSP_RADIO_ConfigRFSwitch(BSP_RADIO_Switch_TypeDef Config)
{
switch (Config)
{
case RADIO_SWITCH_OFF:
{
/* Turn off switch */
HAL_GPIO_WritePin(RF_SW_CTRL2_GPIO_PORT, RF_SW_CTRL2_PIN, GPIO_PIN_RESET);
break;
}
case RADIO_SWITCH_RX:
{
/*Turns On in Rx Mode the RF Switch */
HAL_GPIO_WritePin(RF_SW_CTRL2_GPIO_PORT, RF_SW_CTRL2_PIN, GPIO_PIN_RESET);
break;
}
case RADIO_SWITCH_RFO_HP:
{
/*Turns On in Tx High Power the RF Switch */
HAL_GPIO_WritePin(RF_SW_CTRL2_GPIO_PORT, RF_SW_CTRL2_PIN, GPIO_PIN_SET);
break;
}
default:
break;
}
return BSP_ERROR_NONE;
}I have checked the pin for the RF multiplexor, and it works
Please help me, what can I check on my board and in code?
