sandeepmistry / arduino-LoRa

An Arduino library for sending and receiving data using LoRa radios.
MIT License
1.6k stars 621 forks source link

SPI half duplex pins #530

Closed CodeOn-ArK closed 2 years ago

CodeOn-ArK commented 2 years ago

Hello! I don't have any issue, rather a question - the sx1278 SOC uses half duplex mode of communication so why are we using all the SPI pins? As far as I know to communicate in Half Duplex mode you need only one of the 2 data pins as shown here - shorturl.at/ivyzB So why are we using both the MOSI and MISO pins? Thanks in advance

IoTThinks commented 2 years ago

Interesting question.

May be Semtech want to use SPI standard instead of reinventing the wheel?

Edited: SPI.

CodeOn-ArK commented 2 years ago

Interesting question.

May be Semtech want to use I2C standard instead of reinventing the wheel?

wdym? Doesn't it uses SPI by default and is the only means of communication?

IoTThinks commented 2 years ago

@CodeOn-ArK My bad. SPI. Already edited. Thanks a lot.

morganrallen commented 2 years ago

Not sure where this info is coming from but far as I can tell the SX127x series are full-duplex only.

image