Skip to main content
Associate II
June 26, 2024
Question

LOW POWER MODE AND SEQUENCER

I AM TRYING TO GET UART DATA FROM A RS485 SENSOR , I AM DOING THIS INSIDE A SEQUENCER , WHERE I HAVE CREATED A SPECIFIC TASK IN WHICH I AM SENDING THE TX DATA FOR GETTING THE SENSOR VALUES , BUT IN SEQUENCER MY CONTROLLER IS RUNNING IN STOP2 MODE , WHERE MY CONTROLLER NOT DETECTING THE UART RX MESSAGES PROPERLY IN INTERRUPT , I NEED SOLUTION FOR THIS ONE , PLEASE DO CONTACT ME IN MAIL FOR  SOLVING THIS PROBLEM.

WE ARE DEVELOPING A BIG LORA PROJECT ,YOUR SUPPORT COULD HELP US TO DEVELOP A PRODUCT EFFICIENTLY ... 
THANK YOU

    This topic has been closed for replies.

    4 replies

    Danish1
    Lead III
    June 26, 2024

    There might be people who are willing to go "off-forum" to help you (without payment). I am not one of them. Any solution I volunteer that helps you might also help other people; I want to help as many people as possible.

    The best approach is for you to increase your understanding of what's going on, and the decisions the microcontroller made that led it to entering STOP2 mode. So you'll need to look through and understand the source code.

    When I faced a similar problem, also relating to LORA, I found a useful #define in SubGHz_Phy_PingPong/Core/Inc/sys_conf.h; here's the change that fixed it for me:

    @@ -63,7 +63,7 @@ extern "C" {
     * @brief Disable Low Power mode
     * @note 0: LowPowerMode enabled. MCU enters stop2 mode, 1: LowPowerMode disabled. MCU enters sleep mode only
     */
    -#define LOW_POWER_DISABLE 0
    +#define LOW_POWER_DISABLE 1
     
     /* USER CODE BEGIN EC */

     

    MANOJ_RAuthor
    Associate II
    June 26, 2024

    I KNOW ABOUT STOP2 MODE NOW,SUPPOSE IF I WANT TO GET THE UART DATA FROM THE SENSOR , THEN HOW COULD I GET THAT?