Hi, i bought RM520N-GL_5G_HAT+ with quectel RM520N-GL and a raspberry pi5.
I successfully connected the hat to my pi5 and when i execute lspci, i can see a Qualcom Tecnologie Device, beacuse it’s connected through PCIe.
In addiction, by executing the ‘waveshare-CM’ command, i can surf on internet.
But, for my project i need to send AT Commands from raspberry to RM520-GL.
So, i think it is possible by leveraging the pcie connection to send that AT commands,
indeed i can see the /dev/ttyAMA0, but when i use ‘minicom’ to communicate with modem, i receive no reply.
If i connect the hat to pi5 usb c, all works, but it’s a rough solution.
Is it possible by leveraging the pcie connection to use with at commands?
Or, do you know about any manual for the waveshare-CM software?
[EDIT] RESOLVED:
I publish here my solution.
If you want communicate with ATCommands with the HAT through the PCIe connection, you have to open (with minicom or another…) the
/dev/mhi_DUN port.
I am new here, I think my issue is similar but I am missing some context. I have a RM530N, a WaveShare HAT, and a Pi5. Which guide did you use to get your modem running? Where did you deviate?