Lowpower sleep rfm95 + SAM D21 #1375
MortenGuldager
started this conversation in
General
Replies: 1 comment 1 reply
-
Well, without really knowing what I were doing I experimented a bit and when I threw in
right after Since nothing else is on the SPI bus I guess it is safe. After sleep mcu again takes control over CS and everything appears to be working just fine. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have made a minimalistic board with a Microchip SAM D21 and a RFM95 module.
If I deep sleep the processor before doing
radio.begin()
I measure a current in the 16uA range, but if instead deep sleep afterradio.begin()
and a followingradio.sleep()
I measure ~70uA.I guess it's some pins left in a less optimal state. Question is if there is a "correct" way to handle this?
If I just change pin-mode at will to get back to 16uA I will probably wreck something in radiolib.
Beta Was this translation helpful? Give feedback.
All reactions