[riot-notifications] [RIOT-OS/RIOT] drivers/sx127x: Enforces reset pin to be defined (#11913)
notifications at github.com
Thu Jul 25 17:36:23 CEST 2019
> @fjmolinas in the case of sensebox the pin that controls this is defined as XBEE1_EN_PIN, 'D22_XB1_PWR in the schematic. Do you think it should be optional as SX127X_USE_TX_SWITCH?
I think yes. Maybe we can define a `sx127x_on/off()` function and in the case of the sensebox when calling `sx127x_reset()`, instead of the normal reset sequence it would call `sx127x_on/off()` with the appropriate timing and delays (if not the same for cold boot than a hardware reset).
`sx127x_on/off()` can be guarded depending if the SX127X_PWR_SWITCH is defined or not. An application aiming for the smallest power consumption could turn of the driver when going to sleep and save that 1uA as @MichelRottleuthner suggested.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications