Getting error while build configuration for gsm_modem sample code

I am trying to interface nrf52833 devkit with BG95 devkit using PPP connection. For this I am using gsm_modem sample code. But when I am getting error while build configuration, as mentioned in the image. There are changes done in the sample code still getting this error. Is there anything I am doing wrong to build this sample code.

 

Parents
  • I am able to build the "gsm_modem" sample code, When I am checking the logs, sometimes it shows "Network connected" but most of the times logs stops at "Initializing PPP to use uart@40028000" also attaching the log in images. Only things I have added/changed in code is overlay file for nrf2840 devkit and build configuration for nrf52840. Network is proper as I have checked BG95 modem network using AT commands.

    Also to get the information(Manufacturer, Model, Revision etc.) logs I need to power cycle the BG95 after everytime I reboot the nrf52 device.

    Here is the code I am using

    5584.gsm_modem.zip

  • Hi,

    Have you verified that the baud rate matches BG95's requirements?

    Please try adding flow control to UART1:

    &uart1 {
    	status = "okay";
    	pinctrl-0 = <&uart1_default_alt>;
    	pinctrl-1 = <&uart1_sleep_alt>;
    	pinctrl-names = "default", "sleep";
    	current-speed = <115200>;
    	hw-flow-control;
    	gsm: gsm-modem {
    		status = "okay";
    		compatible = "zephyr,gsm-ppp";
    		label = "modem_gsm";
    	};
    };

    You can also try asking the Zephyr community on Discord, as they might have more experience using BG95.

    Best regards,
    Marte

Reply Children
Related