SX1276 state of DIOx lines in Sleep Mode? Tri-state / Hi-Z? #1007
Unanswered
pieterconradie
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I need some more time to answer you. It has been a few years now that I didn't look on how the DIO pins are setup in the different modes. In the future it would be nice if you could post this kind of questions on the project Discussions tab. It is a better place to engage discussions and then we can agree if it is an issue or not. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
In the SX1276 datasheet, the DIOx pins are listed as "Digital I/O, software configured", but in figure 25 on p. 65, DIO0, DIO1, DIO3, DIO4 and DIO5 are indicated as outputs only and DIO2 as input/output. I can't find definitive documentation on these pins in the datasheet.
This is important to know, because any floating inputs on the microcontroller, e.g. STM32L072 inside Murata Type ABZ module will cause increased power consumption. Also, I do not want to enable an internal pull-up because that will also lead to increased power consumption if it is pulled down.
I think / suspect that they are PUSH-PULL outputs all the time but why:
a. does the SX1276IoInit() function configure the STM32 pins connected to DIOx as inputs with pull-ups enabled?
b. does the SX1276IoDeInit() function configure the STM32 pins as inputs with pull-ups disabled?
See here:
https://github.com/Lora-net/LoRaMac-node/blob/master/src/boards/B-L072Z-LRWAN1/sx1276-board.c
Thanks in advance,
Pieter
https://piconomix.com
Beta Was this translation helpful? Give feedback.
All reactions