WIO-SX1262 conflict with I2C

Hi Forum,

I have a problem with my current project. I want to use a XIAO SAMD processor with the “WIO-SX1262 for XIAO” module (not the kit with ESP32S3) and a Grove sensor AHT20 to send temperature and humidity data with LoRa. The problem is that the LoRa module has a conflict with the I2C pins. I2C uses pins 4 (SDA) and 5 (SCL) but the LoRa module uses also PIN 4 as NSS.

I tried to switch the I2C pins to Pins 6 (TX → SDA) and 7 (RX → SCL) with different libs (SoftWire, TwoWire, SoftwareWire). But nothing works.

Is there a simple solution for this? Can somebody help me. Many thanks in advance.

Regards Nokke

+1

Hello,

I have the same issue with “the kit” (Xiao Esp32 S3 + Wio-SX1262) when try to read and send measurments frome a BME280 on I2C. :thinking:

Greetings

Seb

Here is an example of connecting an I2C display for your reference.

Hi msfujino,

thanks for you answer. Yes, I saw this before. But in your example you can initialize the display directly with pins 6 and 7.

I try to use sensors like Grove SGP30 and AHT20. For this I have to use “Wire.h” or something similar. I just gave FlexWire a try and it seems to work. I have to do further tests.