The SX1262 describes DIO1 as multi purpose digital IO. I’d like to use it as a software controlled output in a system that transmits a LoRa packet once a second.
I’ve found an example where DIO3 is used as an output by using the DIO3 output voltage control. DIO1 does not have a similar output voltage control register. I’ve found the DIOx control registers x580, x583, x584 and x585 but no documentation. In the example DIO3 used bit 1<<3 which suggested DIO1 might use 1<<1 (I have tried many combinations in the hope of affecting the output). I’ve tried using the pull-up and pull-down control registers to change the output on DIO1 without success (using an oscilloscope to see the output on the pin).
I have found that every transmit brings the DIO1 output high for about 10 microseconds, so the scope is connected but something else is controlling the pin.
Are there any examples of software controlling the DIO1 output or further documentation for the pin’s control?