using RadioHead library in esp-idf

ecc esp
Posts: 8
Joined: Mon Jan 28, 2019 10:18 pm

using RadioHead library in esp-idf

Postby ecc esp » Mon Jan 28, 2019 10:26 pm

I'm trying to move an Arduino sketch that uses the RadioHead library to an esp-idf project.

I've added the arduino-esp32 component and the radio library to the project and it compiles correctly, but it fails at a low level, with SPI reads coming back with all zeros instead of the expected values from the radio chip.

The Arduino sketch works fine.

I've tried configuring both the "automatic Arduino startup mode" way and the "do-it-yourself app_main" way, both fail in the same way.

I'll continue debugging, but does this ring any obvious bells (some kind of low-level initialization that I need that is done by the Arduino version, but not by initArduino ?)

preetjhota
Posts: 5
Joined: Mon Jun 27, 2022 10:44 am

Re: using RadioHead library in esp-idf

Postby preetjhota » Tue Jul 26, 2022 4:40 am

Can you please share you code with library?

Who is online

Users browsing this forum: adarsh-k and 98 guests