How to wake up from sleep mode with RAK3172 SUB GHZ ?
Welcome to the forum @MUHAMMED
What are you using to write your application?
RUI3 API
STM32CubeIDE
Something else
STM32CubeIDE ----------------------------------------------------
I am using two devices RAK3172 I put one of them in stop2 mode and I want to wake it up with subghz (I want to wake it up with an incoming message)
Maybe someone from the forum here can help.
I don’t use STM32CubeIDE. I have no idea how to do what you want.
With RUI3 it is straight forward.
Implement callback on RX
Sleep
Wake up on callback function on RX
How to do RUI3? ----------------------------------------------------
Can I get a RAK3172 internal circuit breaker?
No, the schematics for the RAK3172 are not available.
What do you need to know?
I want to learn the switch connection, crystal connection and internal power connection (which crystal remains active for the radio when the RAK3172 enters stop2 mode)
This is controlled by RUI3 internally. The schematics will not give you this information.
RUI3 is open source, you could check in the source code: RAK-STM32-RUI
When the RAK3172 is in ultra power saving mode, can I wake it up by massaging it?
Assuming “massaging” means messaging.
Of course you can.
The RAK3172 will wake up on
- external interrupts
- timer events
- LoRa or LoRaWAN events like a downlink package was received
do you have example code ? …
Wake up from LoRa Event RUI3-Low-Power-Example
Wake up from external signal RUI3-RAK13011-Alarm
And many more examples in the same repository.
With this way if RAK3172 was in ultra power saving mode and message came on will RAK3172 wake up?
That’s what I said a few posts before
do you have example code for LoRa events or LoRa message interrupts like a downlink package was received RAK3172 wake up ? ( RAK3172 was in ultra power saving mode ) NOT : RAK3172 wake up Without using RTC or any timer
Go up by three posts, I already shared the link to RUI3-Low-Power-Example
Thank you very much for the sample program you gave. I examined the code and it only says (This example is complete timer driven) ,
I had a problem with RAK3172 (Stop 1, Stop 2, Standby etc.), when modes are entered, the radio connection is cut off. I wanted to make a sample project that will be P2P, there will be two RAK3172 receiver and transmitter, I will connect a pressure sensor to the transmitter and if the receiver receives a message, the transmitter will wake up immediately and read the pressure value and send it to the receiver and go back to sleep mode.Can you tell me how to wake up again with the message on the Radio after entering the RAK3172 (Stop 1, Stop 2, Standby etc.) states? Is there an algorithm for this process? Which crystal becomes active and the regulator becomes active when input states for the radio (Stop 1, Stop 2, Standby etc.)? It is not written in the example program you gave, it just says ( This example is complete timer driven ) Thank you very much for your help, best regards