ExpressLRS / Backpack

Firmware for ExpressLRS compatible backpacks
GNU General Public License v3.0
102 stars 74 forks source link

Adds bit bang SPI #7

Closed JyeSmith closed 3 years ago

JyeSmith commented 3 years ago

Rapidfire SPI can run at a very low frequency, well within the capability of bit banging. The use of bit bang SPI will allow the use of minimalist esp boards that do not have hardware SPI pins broken out e.g. ESP8266 ESP01 and ESP8285 ESP-01D.

JyeSmith commented 3 years ago

1kHz bit bang is looking ok on the analyser.

image

wvarty commented 3 years ago

Tested on:

Module: HM24TX VRX-Backpack: DIY nano RX with serial pins for pseudo-SPI and boot pad for CS VRX: Rapidfire

GIVEN the RX is connected to the rapidfire via serial pins WHEN the goggles are powered up THEN the rapidfire goes into SPI mode ✅

GIVEN the vrx-backpack is bound to the tx-backpack WHEN the LUA is used to assign a band and channel AND the selection is different to the current setting on the rapidfire THEN the rapidfire changes to the selected band and channel ✅