Esp32doitv1-aithinker-r01-sx1278: SX1278 radio.begin() failed, code: -2

Hello,

I have successfully flashed esp32doitv1-aithinker-r01-sx1278 using the web flasher onto the esp32 board and connected that to a “AI Ra-02” board. When I connect the serial monitor, the last message is

rtl_433_ESP(3): SX1278 radio.begin() failed, code: -2

I must have messed up the wiring but I have cheked that twice…
I really appreciate your help :slight_smile:

esp32doitv1 → RA-02
D23 (miso) → miso
D19 (mosi) → mosi
D15 → DIO0
D4 → DIO1
D16 → DIO2
D17 → RST
D5 → SCK

5 cs
18 sck

Thank you very much for your help.

What I missed is that on the RA-02, the “NSS” connector is CS

With these connections, it works:
esp32doitv1 → RA-02
D23 (mosi) → mosi
D19 (miso) → miso
D15 → DIO0
D4 → DIO1
D16 → DIO2
D18 → SCK
D17 → RST
D5 → NSS (=CS)

1 Like