dernasherbrezon / sx127x

Library to work with Semtech chips SX1276/SX1277/SX1278/SX1279.
Apache License 2.0
34 stars 4 forks source link

Error: SPI bus already initialized. #1

Closed lonelysheep1212 closed 1 year ago

lonelysheep1212 commented 1 year ago

When trying to use this code on the esp32c3 mini chip, the version number used was esp-id5.0,f and the corresponding interface was modified. )XRM826@M4L9`1Y(@)FM L4 EHX4 @S4TN_5XITTNJZBJUJ

dernasherbrezon commented 1 year ago

What SPI1_HOST bus id is? it looks like spi_flash already initialised that bus. Can you check if lora attached onto the same bus? If yes, then you don't need to call spi_bus_initialize.