tinygo-org / drivers

TinyGo drivers for sensors, displays, wireless adaptors, and other devices that use I2C, SPI, GPIO, ADC, and UART interfaces.
https://tinygo.org
BSD 3-Clause "New" or "Revised" License
622 stars 196 forks source link

pin name mappings for sx1262 LoRa radio? #703

Open gherlein opened 3 months ago

gherlein commented 3 months ago

@ofauchon perhaps you know?

var ( spi = machine.SPI1 nssPin, busyPin, dio1Pin = machine.GP13, machine.GP6, machine.GP7 rxPin, txLowPin, txHighPin = machine.GP9, machine.GP8, machine.GP8 )

what are those pin names? nss is CS, busyPin is busy, dio1 is dio1 - bit the others don't map to any pin names I can find on my part or in the datasheet. Please advise? image

deadprogram commented 3 months ago

Probably comes from this board: https://wiki.seeedstudio.com/LoRa_E5_mini/

warrenguy commented 2 months ago

@gherlein I think what you're looking for is the RXEN and TXEN pins? If there's no low power TX then set it to machine.NoPin.