How to send AT commands to the RM520N-GL

Hi, is it possible send AT Commands when the Hat and raspberry are connected with PCIe?
I’ve a pi5 and RM520N-GL 5G HAT +

RaspiBerryPi Support PCIe and as I tested with Quectel RM520N and RM500Q it works on Rpi.
I test it with RaspberryPi CM4.
The kernel version should be later than 5.10.

1 Like

So I think 4B should support.
I don’t know what the RM520N-GL 5G HAT + like… Or maybe you can show me.

1 Like

HI, i updated the kernel version as indicated in this

to install the driver for the pcie communication.

When i launch the “waveshare-CM” command, the module successfully connect to the network, and i get an ip and can ping a remote device.
But, i would know if i can send AT Command to RM520N-G with pcie connection, beacuse if i use minicom, the modem RM520N-G not reply.

This is the guide
waveshare guide.

To send AT Command, i’m oblidge to connect also the usb connection, but i think that it’s only a naive workaround.

From this picture it should still use the USB interface.
Rpi support PCIe.
But by default the PCIe is set to USB 3.0.

Could you show me that?

Sure, but since there is already the pcie connection, can i use it to send the AT Commands?

Please check

lsusb -t

As I tested with RPI CM4, it support RM520N in PCIe mode.
Right now, actually you still use the modem in USB mode.
M.2 do not mean it is in PCIe mode.

How do you put it into PCIe mode? Also, on my system (OpenWRT w/ 6.18 kernel) I get ttyUSB0 … USB3. What is different between the various serial port abstractions?