FiPy or Gpy as modem?
electronic last edited by
If I want to manage the PPP connection on a Raspberry Pi, can I use the FiPy or the Gpy as more like an AT command driven modem? Any references to help me get started?
Ah ah ! I found my mistake :-) it works now when i initialize my serial port as follow :
stty -F /dev/ttyAMA0 921600 raw -echo -echoe -echok -crtscts
Sebastien last edited by Sebastien
Actually, I am quite confident in the "wirering", since I can receive, on the rpi, a "+sysstart" message when the I leave Fipy starting by itself ... I meant silent because I do not have any "OK / ERROR" message after the simple commands like AT, ATE1 or ATZ ... I try to communicate between Fipy & Rpi via "minicom -b 921600 -o -D /dev/serial0 ctsrts" (on the rpi , the serial0 is ttyAMA0 , and the CTS RTS pins are also enabled)
@sebastien Did you try to swap RX/TX? Or with the RTS/DTR lines?
Thanks Robert. I have done it. but still the LTE modem remain silent.
@sebastien Yes, the RST pin, next to the Reset button. Pulling that low keeps the ESP32 in reset state and all it's GPIO's floating.
(P.S.: That's a trick used also by Arduino people for using it as an USB/UART bride).
Hi, Has anybody tested this configuration successfully ?
(I mean with Raspberry Pi Serial <==> LTE_RX, TX, CTS, RTS))
when you mention : "reset by holding the line to GND." , you ment pin1 (RST) connected to the GND ?
Thanks in advance
jmarcelino last edited by
Yes this works on Mac and Windows using a USB-serial adapter, it's the setup used for certification.
soulsurfer last edited by
@jmarcelino This is intriguing news! Has this ever been tested using something other than a Raspberry Pi?
I have several old Pis and I could try the obvious experiment. However I've only just received my very first FiPy and I'm reluctant to risk damaging it before even using it anger for the first time.
jmarcelino last edited by jmarcelino
I’ve never tested with a Raspberry Pi but you should be able to connect the FiPy pins as listed LTE_RX, LTE_TX, LTE_CTS, LTE_RTS to the corresponding UART pins + GND on the Raspberry Pi
You should also hold the FiPy I reset by holding th line to GND.
UART speed is 921600 with CTS/RTS hardware flow control
On the GPy the pins aren’t exposed, you can only do it (directly at least, without fiddling with the software) on the FiPy