Wio-E5 mini Dev Board not connecting to gateway

Hello.
I am trying to build a simple LoRaWAN network using a Wio LoRa E5 and a gateway with a Raspberry Pi 4 B, RAK5146, and chirpstack. I configured the gateway and it is working fine, even receiving packets from other devices in the area.

For the E5 I used the LoRaWAN library provided by Seeed (GitHub - Seeed-Studio/LoRaWan-E5-Node: Applications on LoRa-E5 mini/ LoRa-E5 Development Kit with v1.1.0 STM32Cube MCU Package for STM32WL series(SDK)). I created a node on chirpstack using LoRaWAN Mac version 1.1.0 and OTAA, and copied APPkey, NWkey and device_EUI to se-identity.h and changed the variables needed on lora-app.h.

When the node is running, the serial printed is the following repeating always the same:
12:25:51:327 → APP_VERSION: V1.1.0
12:25:51:327 → MW_LORAWAN_VERSION: V2.3.0
12:25:51:327 → MW_RADIO_VERSION: V1.1.0
12:26:02:273 → ###### OTAA ######
12:26:02:596 → ###### AppKey: B2:59:68:E3:D1:4D:A8:B6:6B:1E:AA:82:3A:0F:A5:19
12:26:02:601 → ###### NwkKey: D0:8A:68:79:37:6C:F4:02:5F:72:AD:25:D7:F8:F4:0A
12:26:02:607 → ###### ABP ######
12:26:02:607 → ###### AppSKey: CC:98:F1:9C:11:F4:59:0D:99:98:25:1E:C7:98:49:21
12:26:02:612 → ###### NwkSKey: 2B:7E:15:16:28:AE:D2:A6:AB:F7:15:88:09:CF:4F:3C
12:26:13:689 → ###### DevEui: DF:A7:7C:C9:03:0B:3C:18
12:26:14:009 → ###### AppEui: 00:00:00:00:00:00:00:00
12:26:14:009 → ###### DevAddr: 05:46:C2:A9
12:26:24:163 → 32s840:TX on freq 868100000 Hz at DR 4

In opposition to what should happen (that I found online):

On the chirpstack nothing is received. 868.1 MHz is a frequency that the gateway has already received data from before.

I’ve been trying to fix this for a couple of weeks and nothing seems to be working. I’d like to test with the AT Firmware commands but I’ve already erased it.

Thanks in advance for the help!