Closed wangpengli closed 3 years ago
I check the busy switching time in the RM0453 document, and checked it from SX126X DS , found like blow:
the switching time should more less than the 1ms.
Pls check it , thank you.
I use the pingpong demo app and the JC1 devkit board for test. and if I add set-standby use the STDBY_XOSC instead of the default STDBY_RC, the issue is same.
I also try use the SetRxTxFallbakMode set to XOSC , the issue is same too.
I made the same test case use STM32MCU + SX1268, no problem ,all of the switching time less than 1ms.
Hi,
on the nucleo, there is a TCXO. The TCXO requires a wake up time. in the cubeWL_1.0.0, the TCXO_WAKE_UP_TIME was set at 10ms, Probably this is what you see.
To change this, you can go in SubGHz_Phy/target/radio_board_if.h / Radio maximum wakeup time (in ms) /
This 10 can be lowered to 1ms without impacting the RF performances.
OK, Got it , thank you , I changed it and seems the issue is resolved .
Hi @wangpengli,
Regarding the point for which you opened the issue, as it is resolved, please allow me to close the issue.
With regards,
After radio.init called, we called the radio.rx(0xffffff) for into the rx mode , but when I test it ,I found the switching time is 10ms.
the code like this:
tick1 = HAL_Gettick(); Radio.Rx(0xFFFFFF); tick2 - HAL_Gettick(); printf(“switch time = %d\n”,tick2-tick1);