2021-12-15 04:54 AM
ie, what drove the choice of PA12, specifically ?
Using PA12 means that you have to power-up the VDD_USB domain - which, I think, adds some extra current consumption. See:
https://community.st.com/s/question/0D53W00001Fncm7SAB/stm32l072-vddusb-supply-current-for-pa11-pa12
So why do that?
Solved! Go to Solution.
2021-12-15 05:53 AM
Literally all of the pins on that chip are used. Something needs to go there, where else would you put it? A lot of the other potential pins are peripheral-specific and would suffer the same drawback. Probably not a specific choice but rather an artifact of what pins were left over after everything else was routed.
2021-12-15 05:53 AM
Literally all of the pins on that chip are used. Something needs to go there, where else would you put it? A lot of the other potential pins are peripheral-specific and would suffer the same drawback. Probably not a specific choice but rather an artifact of what pins were left over after everything else was routed.
2021-12-15 06:17 AM
Ah yes, that's true for the B-L072-LRWAN1 (which, of course, is what I asked).
However, Murata have it in their "reference circuit" - where the majority of connections are uncommitted:
but maybe their reasoning was the same?
2021-12-15 06:33 AM
Hmm, it could be. Or perhaps they just copied what ST did without thinking? Or maybe to have it be driven from a voltage other than VDD? Can't think of any other reason to have it like that.
FWIW, I doubt VDD_USB simply being present increases current consumption by a measureable amount, although I have no evidence to back that up.
2021-12-15 07:08 AM
As noted in the other thread, I do have reason to believe that VDD_USB simply being present increases current consumption by a measurable amount
"measurable" being in the context of the ~ uA sleep levels ...
2021-12-15 07:12 AM
Yeah, probably a chicken/egg dilemma. Default/common software builds, and the resistance to changing/forking.
It might be accommodative of higher current TCXO? Or voltages
2021-12-15 07:25 AM
"probably a chicken/egg dilemma"
Indeed.
"It might be accommodative of higher current TCXO? Or voltages"
Have been scouring the datasheet for such things and, apart from being powered by VDD_USB, cannot see any difference at all between PA11,12 and any other 'FT' GPIO.
2021-12-15 07:27 AM
IMO VDD_USB in itself has negligible static consumption (sub-sub-uA), whether used for USB or not. After all, it's just a bunch of level shifters, which in turn are only a few relatively small MOSFETs loaded directly by gates of the output MOSFETs.
JW
2021-12-15 07:30 AM
Also, as VDD_USB current is shared only by two pins, their individual loading is relatively well defined and independent on load on other pins.
See Current characteristics table in DS, Total output current sunk by sum of all IOs and control pins except PA11 and PA12 versus Total output current sunk by PA11 and PA12.
JW