On the ESP32 platform, preventing concurrent access to the SPI peripheral is managed using a mutex in the SpiClass::beginTransaction and SpiClass::endTransaction functions. Toggling the _ss pin before this mutex is obtained can cause crosstalk between the LoRa module and another spi device. Moving the _ss pin toggling inside of the transaction block rectifies this.
On the ESP32 platform, preventing concurrent access to the SPI peripheral is managed using a mutex in the SpiClass::beginTransaction and SpiClass::endTransaction functions. Toggling the _ss pin before this mutex is obtained can cause crosstalk between the LoRa module and another spi device. Moving the _ss pin toggling inside of the transaction block rectifies this.