Site icon Renzo Mischianti

E220-900T22D: Can’t communicate with higher UART Baud rate/Air data rate

I have two E220-900T22D modules with the following configuration: Transmitter (mounted on Arduino Nano ESP32): configuration.ADDL = 0x03; configuration.ADDH = 0x00; configuration.CHAN = 23; configuration.SPED.uartBaudRate = UART_BPS_9600; configuration.SPED.airDataRate = AIR_DATA_RATE_010_24; configuration.SPED.uartParity = MODE_00_8N1; configuration.OPTION.subPacketSetting = SPS_200_00; configuration.OPTION.RSSIAmbientNoise = RSSI_AMBIENT_NOISE_DISABLED; configuration.OPTION.transmissionPower = POWER_22; configuration.TRANSMISSION_MODE.enableRSSI = RSSI_ENABLED; configuration.TRANSMISSION_MODE.fixedTransmission = FT_FIXED_TRANSMISSION; configuration.TRANSMISSION_MODE.enableLBT = LBT_DISABLED; configuration.TRANSMISSION_MODE.WORPeriod = WOR_2000_011; Receiver (mounted on ESP32-WROOM32): configuration.ADDL = 0x05; configuration.ADDH=0x00; configuration.CHAN=23; configuration.SPED.uartBaudRate = UART_BPS_9600; configuration.SPED.airDataRate = AIR_DATA_RATE_010_24; configuration.SPED.uartParity = MODE_00_8N1; configuration.OPTION.subPacketSetting = SPS_200_00; configuration.OPTION.RSSIAmbientNoise = RSSI_AMBIENT_NOISE_DISABLED; configuration.OPTION.transmissionPower = POWER_22; configuration.TRANSMISSION_MODE.enableRSSI = RSSI_ENABLED; configuration.TRANSMISSION_MODE.fixedTransmission = FT_FIXED_TRANSMISSION; configuration.TRANSMISSION_MODE.enableLBT = LBT_DISABLED; configuration.TRANSMISSION_MODE.WORPeriod = WOR_2000_011; In this configuration I have no problems with communication, but for large packets, which I split in chunks of 200bytes each, the transmission of each chunk takes around 1s which is too slow. I tried increasing the UART baud rate by setting: configuration.SPED.uartBaudRate=UART_BPS_19200; and leaving all the rest unchanged (obviously I also used the same baud rate on my Serial ports on both the microcontrollers). The modules correctly get the configuration, and the transmitter starts transmitting packets (or so it says as it returns E220_SUCCESS as ResponseStatus code), but the receiver doesn't seem to get any packet. I also tried increasing the uartBaudRate to 115000, and tried some combinations with airDataRate values (augmenting and diminishing it in various configurations), but it looks like I can only communicate with the default values of these options (9600 and 1024 resectively). Am I missing something? Do I need to set some other values to get higher transmission speed on these modules? If you need the methods I use for transmission and the sketch for reception I can attach it. Thanks
Exit mobile version