Hello, I'm trying to use low power library with periodically wakeup in conjuction with Radiolib library for lorawan transmissions but it's not working.
If I use LP library just with blink example I can get it to work as expected. If I use the radio lib library on its own it works.
If I combine them ( and use the led to see if the wakeup happens it ) does not work at all. I'll post the code on following comment but I wanted to clarify the opperation first.
-
I see serial. Print event almost do not work after wakeup. Do I manually need to enable all system again with UART0_ON; statement or how is it expected to work ?
-
I tried power down and idle but seem to kill the SPI bus which I need to take to radio. I moved all initial of the radio lib and serial lib to main loop to make sure they get restarted but the serial window just puts out garbage and the led does not flash again.
Hello, I'm trying to use low power library with periodically wakeup in conjuction with Radiolib library for lorawan transmissions but it's not working.
If I use LP library just with blink example I can get it to work as expected. If I use the radio lib library on its own it works.
If I combine them ( and use the led to see if the wakeup happens it ) does not work at all. I'll post the code on following comment but I wanted to clarify the opperation first.
I see serial. Print event almost do not work after wakeup. Do I manually need to enable all system again with UART0_ON; statement or how is it expected to work ?
I tried power down and idle but seem to kill the SPI bus which I need to take to radio. I moved all initial of the radio lib and serial lib to main loop to make sure they get restarted but the serial window just puts out garbage and the led does not flash again.