using RadioHead library in esp-idf
Posted: 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 ?)
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 ?)