cancel
Showing results for 
Search instead for 
Did you mean: 

RAK3172 error when waking up

Athereos
Associate

Hello, I modified the SubGHz example from ST, and it's sending the message and goes to sleep, but when it wakes up it get's stuck on error handler.

I'm getting stuck on where's the problem but I think it's an issue when it needs to configure the clocks.

That's my consumpion graph that shows the transmission and sleep

Athereos_0-1759307813206.png

 

Here it wakes up but no transmission and when I debug it it's stuck on error handler.

Athereos_1-1759307870399.png

 

 

 

1 REPLY 1
Andrew Neil
Super User

@Athereos wrote:

 it gets stuck on error handler.


So the first thing is to determine why it ends up in the error handler.

You could use the IDE's call stack.

Then maybe set a breakpoint before that happens, and see what's occurring.

Maybe add more diagnostic info to your error handler.

If it's a Hard Fault, see: 

https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/tac-p/708193/highlight/true#M51

 

PS:

The RAK3172 is not an ST Product, so you should be engaging with RAKwireless for specific support:

https://www.rakwireless.com/en-us/contact-us

https://forum.rakwireless.com/

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.